Question: What is the connection between Heroes (that was filmed in Los Angeles) and NBC?
Choices:
medical condition
operating area
commander of
film release region
continent
original network
main subject
family name
has immediate cause
office held by head of government
Answer: original network
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Heroes" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> "Los Angeles" . ?e_2 <pred:name> "NBC" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Heroes
function: And
dependencies: 1
2
function: Find
inputs: NBC
function: QueryRelation
dependencies: 3
4