Question: How does David Arnold (an employee of University of Warwick) relate to historian?
Choices:
mouth of the watercourse
father
participant of
replaces
dissertation submitted to
currency
licensed to broadcast to
interests
occupation
illustrator
Program:
function: Find
inputs: University of Warwick
function: Relate
dependencies: 0
inputs: employer
backward
function: Find
inputs: David Arnold
function: And
dependencies: 1
2
function: Find
inputs: historian
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "David Arnold" . ?e_1 <employer> ?e_3 . ?e_3 <pred:name> "University of Warwick" . ?e_2 <pred:name> "historian" . ?e_1 ?p ?e_2 .  }
Answer: occupation