Question: Heroes, with a story set in Los Angeles, has what connection to the Primetime Emmy for Outstanding Drama Series?
Choices:
drafted by
movement
airline hub
sport
headquarters location
nominated for
convicted of
legislative body
uses
manufacturer
Answer: nominated for
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Heroes" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> "Los Angeles" . ?e_2 <pred:name> "Primetime Emmy Award for Outstanding Drama Series" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Heroes
function: And
dependencies: 1
2
function: Find
inputs: Primetime Emmy Award for Outstanding Drama Series
function: QueryRelation
dependencies: 3
4