Question: What does Iron Man (whose distributor is Marvel Entertainment) have to do with Afghanistan?
Choices:
main subject
narrative location
highest judicial authority
writing system
part of the series
distributor
official religion
film crew member
copyright representative
founded by
Answer: narrative location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Iron Man" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> "Marvel Entertainment" . ?e_2 <pred:name> "Afghanistan" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Marvel Entertainment
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Iron Man
function: And
dependencies: 1
2
function: Find
inputs: Afghanistan
function: QueryRelation
dependencies: 3
4