Question: What is the connection between James Brown (the one that works in the location Washington, D.C.) to Philadelphia (the one that is the headquarter location of Drexel University)?
Choices:
place of death
found
contributor(s) to the creative work
medical treatment
spouse
doctoral advisor
language used
located in or next to body of water
material used
languages spoken, written or signed
Program:
function: Find
inputs: Washington, D.C.
function: Relate
dependencies: 0
inputs: work location
backward
function: Find
inputs: James Brown
function: And
dependencies: 1
2
function: Find
inputs: Drexel University
function: Relate
dependencies: 4
inputs: headquarters location
forward
function: Find
inputs: Philadelphia
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "James Brown" . ?e_1 <work_location> ?e_3 . ?e_3 <pred:name> "Washington, D.C." . ?e_2 <pred:name> "Philadelphia" . ?e_4 <headquarters_location> ?e_2 . ?e_4 <pred:name> "Drexel University" . ?e_1 ?p ?e_2 .  }
Answer: place of death