Question: How is Game of Thrones, filmed in the USA, related to Thomas Brodie-Sangster?
Choices:
cast member
production company
religion
separated from
collection
ethnic group
occupant
honorific suffix
designated as terrorist by
depicts
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Game of Thrones" . ?e_1 <filming_location> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "Thomas Brodie-Sangster" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Game of Thrones
function: And
dependencies: 1
2
function: Find
inputs: Thomas Brodie-Sangster
function: QueryRelation
dependencies: 3
4