Question: What is the connection between Michael Gladis to Houston (the one that is the residence of Bill Hicks)?
Choices:
place of birth
owned by
director
hair color
legislative body
genre
director/manager
designed by
inspired by
drug used for treatment
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Michael Gladis" . ?e_2 <pred:name> "Houston" . ?e_3 <residence> ?e_2 . ?e_3 <pred:name> "Bill Hicks" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Michael Gladis
function: Find
inputs: Bill Hicks
function: Relate
dependencies: 1
inputs: residence
forward
function: Find
inputs: Houston
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4