Question: Tell me the relationship between Peter Horton (who works as a writer) to Austria.
Choices:
organisation directed from the office or person
feast day
father
officeholder
taxon rank
genre
film crew member
next lower rank
interests
country of citizenship
Program:
function: Find
inputs: writer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Peter Horton
function: And
dependencies: 1
2
function: Find
inputs: Austria
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Horton" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "writer" . ?e_2 <pred:name> "Austria" . ?e_1 ?p ?e_2 .  }
Answer: country of citizenship