Question: What is the relation between Venice, with a twinned administrative body of Tallinn, to Once Upon a Time in America?
Choices:
killed by
drafted by
headquarters location
basic form of government
tributary
filming location
winner
commissioned by
significant person
product or material produced
Answer: filming location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Once Upon a Time in America" . ?e_2 <pred:name> "Venice" . ?e_3 <twinned_administrative_body> ?e_2 . ?e_3 <pred:name> "Tallinn" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Once Upon a Time in America
function: Find
inputs: Tallinn
function: Relate
dependencies: 1
inputs: twinned administrative body
forward
function: Find
inputs: Venice
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4