Question: How is Pretty Little Liars, which is shot in Los Angeles, related to teen drama?
Choices:
history of topic
director
replaces
has parts of the class
doctoral advisor
model item
film editor
copyright representative
genre
update method
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Pretty Little Liars" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> "Los Angeles" . ?e_2 <pred:name> "teen drama" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Pretty Little Liars
function: And
dependencies: 1
2
function: Find
inputs: teen drama
function: QueryRelation
dependencies: 3
4