Question: For the big city that is Thomas Aquinas' burial place, its demonym of Toulousain applies to which part?
Choices:
masculine
3rd arrondissement of Lyon
Singaporeans
The Straits
Spencer County
Degrassi, season 11
Philippines
public transport
eastern Germany
Calhoun County
Program:
function: Find
inputs: Thomas Aquinas
function: Relate
dependencies: 0
inputs: place of burial
forward
function: FilterConcept
dependencies: 1
inputs: big city
function: QueryAttrQualifier
dependencies: 2
inputs: demonym
Toulousain
applies to part
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "big city" . ?e_1 <place_of_burial> ?e . ?e_1 <pred:name> "Thomas Aquinas" .  ?e <demonym> ?pv . ?pv <pred:value> "Toulousain" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Answer: masculine