Question: What does Beauty and the Beast (whose producer is Yoram Globus) have to do with Menahem Golan?
Choices:
vehicle normally used
airline alliance
superhuman feature or ability
producer
permanent resident of
Wikidata property
head of government
maintained by
child
relative
Program:
function: Find
inputs: Yoram Globus
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Beauty and the Beast
function: And
dependencies: 1
2
function: Find
inputs: Menahem Golan
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Beauty and the Beast" . ?e_1 <producer> ?e_3 . ?e_3 <pred:name> "Yoram Globus" . ?e_2 <pred:name> "Menahem Golan" . ?e_1 ?p ?e_2 .  }
Answer: producer