Question: To which part of a city that, is the location of 2012 Toronto International Film Festival, does its demonym Torontois apply ?
Choices:
4th arrondissement of Lyon
male
Qikiqtaaluk Region
2nd arrondissement of Paris
Lincoln County
Van Buren County
Staffanstorp Municipality
McNairy County
Newfoundland
Scattered Islands in the Indian Ocean
Answer: male
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <location> ?e . ?e_1 <pred:name> "2012 Toronto International Film Festival" .  ?e <demonym> ?pv . ?pv <pred:value> "Torontois" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: 2012 Toronto International Film Festival
function: Relate
dependencies: 0
inputs: location
forward
function: FilterConcept
dependencies: 1
inputs: city
function: QueryAttrQualifier
dependencies: 2
inputs: demonym
Torontois
applies to part