Question: What is the relationship between The Wizard of Oz (the one whose production company is Warner Bros.) to Warner Bros.?
Choices:
owner of
basic form of government
production company
lowest point
located in time zone
commander of
office held by head of the organisation
operating system
talk show guest
religion
Answer: production company
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Wizard of Oz" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "Warner Bros." . ?e_2 <pred:name> "Warner Bros." . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: The Wizard of Oz
function: And
dependencies: 1
2
function: Find
inputs: Warner Bros.
function: QueryRelation
dependencies: 3
4