Question: What is the connection between Tommy (the one whose script is wrote by Ken Russell) to United Kingdom?
Choices:
captain
country of origin
home world
affiliation
takes place in fictional universe
place of burial
organizer
place of origin (Switzerland)
position played on team / speciality
languages spoken, written or signed
Program:
function: Find
inputs: Ken Russell
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: Tommy
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tommy" . ?e_1 <screenwriter> ?e_3 . ?e_3 <pred:name> "Ken Russell" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Answer: country of origin