Question: What country does London (the narrative location of Anonymous and the University of London's headquarters location) belong to?
Choices: Papal States
Chile
Roman Republic
Portugal
United Kingdom
Australia
Serbia
Peru
Ukraine
Switzerland
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of London" . ?e_2 <pred:name> "London" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> "Anonymous" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Program:
function: Find
inputs: University of London
function: Find
inputs: Anonymous
function: Relate
dependencies: 1
inputs: narrative location
forward
function: Find
inputs: London
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
country
Answer: United Kingdom