Question: What is the connection between John Ford (the one that is educated at University of Tulsa) to politician?
Choices:
worshipped by
destination point
lifestyle
located in or next to body of water
political ideology
educated at
coextensive with
performer
relative
occupation
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Ford" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "University of Tulsa" . ?e_2 <pred:name> "politician" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: University of Tulsa
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: John Ford
function: And
dependencies: 1
2
function: Find
inputs: politician
function: QueryRelation
dependencies: 3
4