Question: How does Fantastic Four (the one whose distributor is New World Pictures) relate to New World Pictures ?
Choices:
commander of
place of birth
operating system
illustrator
production company
sport
fictional universe described in
distributor
theme music
connects with
Answer: distributor
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Fantastic Four" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> "New World Pictures" . ?e_2 <pred:name> "New World Pictures" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: New World Pictures
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Fantastic Four
function: And
dependencies: 1
2
function: Find
inputs: New World Pictures
function: QueryRelation
dependencies: 3
4