Question: How is Sofia related to Moscow, the city in which the Moscow Conservatory headquarters is located?
Choices:
copyright holder
has immediate cause
language used
twinned administrative body
parent club
production company
military rank
lyrics by
patron saint
tributary
Program:
function: Find
inputs: Sofia
function: Find
inputs: Moscow Conservatory
function: Relate
dependencies: 1
inputs: headquarters location
forward
function: Find
inputs: Moscow
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Sofia" . ?e_2 <pred:name> "Moscow" . ?e_3 <headquarters_location> ?e_2 . ?e_3 <pred:name> "Moscow Conservatory" . ?e_1 ?p ?e_2 .  }
Answer: twinned administrative body