Question: The demonym Montréalaise applies to which part of the metropolis twinned to Bucharest?
Choices:
Hancock County
Gogebic County
15th arrondissement of Paris
Bogor
feminine
Yukon
fictional character
rest
Cianjur
built-up area
Answer: feminine
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolis" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Bucharest" .  ?e <demonym> ?pv . ?pv <pred:value> "Montréalaise" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Bucharest
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 1
inputs: metropolis
function: QueryAttrQualifier
dependencies: 2
inputs: demonym
Montréalaise
applies to part