Question: What is the connection between Steve Jobs (the one that is the chief executive officer of Apple) to Mountain View?
Choices:
religious order
lyrics by
director/manager
part of the series
original film format
has edition
film regional debut venue
work location
director of photography
residence
Answer: residence
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Steve Jobs" . ?e_3 <chief_executive_officer> ?e_1 . ?e_3 <pred:name> "Apple" . ?e_2 <pred:name> "Mountain View" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Apple
function: Relate
dependencies: 0
inputs: chief executive officer
forward
function: Find
inputs: Steve Jobs
function: And
dependencies: 1
2
function: Find
inputs: Mountain View
function: QueryRelation
dependencies: 3
4