Question: What's the relationship between John Adams (educated at United States Military Academy) to the United States Military Academy?
Choices:
notable work
derivative work
family name
educated at
language used
history of topic
founded by
director/manager
contributor(s) to the creative work
parent organization
Program:
function: Find
inputs: United States Military Academy
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: John Adams
function: And
dependencies: 1
2
function: Find
inputs: United States Military Academy
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Adams" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "United States Military Academy" . ?e_2 <pred:name> "United States Military Academy" . ?e_1 ?p ?e_2 .  }
Answer: educated at