Question: How is Cairo, composed by Herbert Stothart, related to the United States of America?
Choices:
newspaper format
has dialect (DEPRECATED)
instrument
architect
tributary
sex or gender
musical conductor
officially opened by
capital
country of origin
Program:
function: Find
inputs: Herbert Stothart
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Cairo
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cairo" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> "Herbert Stothart" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Answer: country of origin