Question: Is Christopher Wren (the one that works in Oxford) a politician?
Choices:
occupation
official symbol
child
rector
film release region
member of political party
edition or translation of
official religion
part of
chief executive officer
Program:
function: Find
inputs: Oxford
function: Relate
dependencies: 0
inputs: work location
backward
function: Find
inputs: Christopher Wren
function: And
dependencies: 1
2
function: Find
inputs: politician
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Christopher Wren" . ?e_1 <work_location> ?e_3 . ?e_3 <pred:name> "Oxford" . ?e_2 <pred:name> "politician" . ?e_1 ?p ?e_2 .  }
Answer: occupation