Question: What is the connection between Batman (the one whose production company is 20th Century Fox) to Nelson Riddle?
Choices:
architect
field of this occupation
foundational text
librettist
location of formation
capital of
composer
participant of
edition or translation of
place served by transport hub
Answer: composer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Batman" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "20th Century Fox" . ?e_2 <pred:name> "Nelson Riddle" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Batman
function: And
dependencies: 1
2
function: Find
inputs: Nelson Riddle
function: QueryRelation
dependencies: 3
4