Question: What is the connection between Paddington (the one that uses the language English) to United Kingdom?
Choices:
location of discovery
patron saint
rector
cause of death
fabrication method
league
film editor
head of state
award received
country of origin
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Paddington
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Paddington" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Answer: country of origin