Question: How is Sunderland-born Adam Smith related to United Kingdom?
Choices:
worshipped by
successful candidate
religious order
country of citizenship
noble title
contributing factor of
found
signatory
production designer
illustrator
Program:
function: Find
inputs: Sunderland
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Adam Smith
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Adam Smith" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Sunderland" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Answer: country of citizenship