Question: What is the connection between Edward Fox (the one that has the occupation of lawyer) to Harvard Law School?
Choices:
patron saint
educated at
distribution
airline hub
copyright representative
designated as terrorist by
works in collection
statistical leader
followed by
capital of
Program:
function: Find
inputs: lawyer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Edward Fox
function: And
dependencies: 1
2
function: Find
inputs: Harvard Law School
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Edward Fox" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "lawyer" . ?e_2 <pred:name> "Harvard Law School" . ?e_1 ?p ?e_2 .  }
Answer: educated at