Question: What is the connection between James Buchanan (the one that has the occupation of judge) to English?
Choices:
manufacturer
conflict
languages spoken, written or signed
military casualty classification
professorship
dedicated to
performer
copyright representative
distributor
significant person
Program:
function: Find
inputs: judge
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: James Buchanan
function: And
dependencies: 1
2
function: Find
inputs: English
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "James Buchanan" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "judge" . ?e_2 <pred:name> "English" . ?e_1 ?p ?e_2 .  }
Answer: languages spoken, written or signed