Question: What is the link between American Wedding and Long Beach (that is the filming location of Barton Fink)?
Choices:
filming location
talk show guest
spouse
lowest point
award disciplines or subjects
official symbol
headquarters location
occupation
has effect
history of topic
Answer: filming location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "American Wedding" . ?e_2 <pred:name> "Long Beach" . ?e_3 <filming_location> ?e_2 . ?e_3 <pred:name> "Barton Fink" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: American Wedding
function: Find
inputs: Barton Fink
function: Relate
dependencies: 1
inputs: filming location
forward
function: Find
inputs: Long Beach
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4