Question: What is the relationship between Batman (the one whose distributor is 20th Century Fox) to Nelson Riddle?
Choices:
chairperson
sport
composer
airline hub
partially contains
official residence
software engine
member of
airline alliance
film crew member
Program:
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Batman
function: And
dependencies: 1
2
function: Find
inputs: Nelson Riddle
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Batman" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> "20th Century Fox" . ?e_2 <pred:name> "Nelson Riddle" . ?e_1 ?p ?e_2 .  }
Answer: composer