Question: What is the connection between Nancy Cartwright (the one that is an employee of Stanford University) to Pennsylvania?
Choices: performer
basic form of government
fictional universe described in
location
sex or gender
officeholder
place of birth
after a work by
uses
has parts of the class
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Nancy Cartwright" . ?e_1 <employer> ?e_3 . ?e_3 <pred:name> "Stanford University" . ?e_2 <pred:name> "Pennsylvania" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Stanford University
function: Relate
dependencies: 0
inputs: employer
backward
function: Find
inputs: Nancy Cartwright
function: And
dependencies: 1
2
function: Find
inputs: Pennsylvania
function: QueryRelation
dependencies: 3
4
Answer: place of birth