Question: To which part of Moscow (location where Rocky IV took place) does Moskauer, its demonym, apply ?
Choices:
masculine
Northern Region
Calhoun County
Dickinson County
Bradley County
Yukon
Fentress County
Degrassi, season 11
campsite
Jackson County
Answer: masculine
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Moscow" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "Rocky IV" .  ?e <demonym> ?pv . ?pv <pred:value> "Moskauer" . [ <pred:fact_h> ?e ; <pred:fact_r> <demonym> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Rocky IV
function: Relate
dependencies: 0
inputs: narrative location
forward
function: Find
inputs: Moscow
function: And
dependencies: 1
2
function: QueryAttrQualifier
dependencies: 3
inputs: demonym
Moskauer
applies to part