Question: What is the link between Tony Scott (who is the director of Enemy of the State) and English people?
Choices:
works in collection
famous people
located in the administrative territorial entity
mouth of the watercourse
filmography
political ideology
culture
archives at
takes place in fictional universe
ethnic group
Program:
function: Find
inputs: Enemy of the State
function: Relate
dependencies: 0
inputs: director
forward
function: Find
inputs: Tony Scott
function: And
dependencies: 1
2
function: Find
inputs: English people
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tony Scott" . ?e_3 <director> ?e_1 . ?e_3 <pred:name> "Enemy of the State" . ?e_2 <pred:name> "English people" . ?e_1 ?p ?e_2 .  }
Answer: ethnic group