Question: What is the relationship between Richard Linklater and Houston (the one that is the headquarter location of Houston Rockets)?
Choices:
lyrics by
parent organization
instrumentation
named after
head of government
industry
participant
place of birth
sport
screenwriter
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Richard Linklater" . ?e_2 <pred:name> "Houston" . ?e_3 <headquarters_location> ?e_2 . ?e_3 <pred:name> "Houston Rockets" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Richard Linklater
function: Find
inputs: Houston Rockets
function: Relate
dependencies: 1
inputs: headquarters location
forward
function: Find
inputs: Houston
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4