Question: How is Scary Movie 4 linked to Vancouver, where This Means War was filmed?
Choices:
famous people
superhuman feature or ability
health specialty
position played on team / speciality
candidate
filming location
filmography
religious order
parent organization
patron saint
Answer: filming location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Scary Movie 4" . ?e_2 <pred:name> "Vancouver" . ?e_3 <filming_location> ?e_2 . ?e_3 <pred:name> "This Means War" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Scary Movie 4
function: Find
inputs: This Means War
function: Relate
dependencies: 1
inputs: filming location
forward
function: Find
inputs: Vancouver
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4