Question: Hairspray, filmed in Baltimore, is related in what way to English?
Choices:
cites
family
grants
month of the year
partner
educated at
godparent
model item
original language of film or TV show
dedicated to
Answer: original language of film or TV show
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hairspray" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> "Baltimore" . ?e_2 <pred:name> "English" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Baltimore
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Hairspray
function: And
dependencies: 1
2
function: Find
inputs: English
function: QueryRelation
dependencies: 3
4