Question: How is the musical Peter Pan related to NBC?
Choices:
founded by
original network
grants
has part
business division
territory claimed by
home port
field of this occupation
color
has quality
Answer: original network
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Pan" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "musical" . ?e_2 <pred:name> "NBC" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: musical
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Peter Pan
function: And
dependencies: 1
2
function: Find
inputs: NBC
function: QueryRelation
dependencies: 3
4