Question: How is John Mills (born in Dunedin) related to New Zealand?
Choices:
found
appointed by
after a work by
cause of death
country of citizenship
next lower rank
subsidiary
parent club
official symbol
significant person
Program:
function: Find
inputs: Dunedin
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: John Mills
function: And
dependencies: 1
2
function: Find
inputs: New Zealand
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Mills" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Dunedin" . ?e_2 <pred:name> "New Zealand" . ?e_1 ?p ?e_2 .  }
Answer: country of citizenship