Question: Who died in Philadelphia, where St. Joseph's University is located, and works in Washingto, DC?
Choices:
James Brown
Keith Allen
Jack Warner
John Barry
Al Gore
Sylvester Stallone
John McCain
William Henry Harrison
Max Fleischer
Harry S. Truman
Answer: James Brown
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> "Philadelphia" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Saint Joseph's University" .  ?e <work_location> ?e_3 . ?e_3 <pred:name> "Washington, D.C." .  }
Program:
function: Find
inputs: Saint Joseph's University
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Philadelphia
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of death
backward
function: FilterConcept
dependencies: 4
inputs: human
function: Find
inputs: Washington, D.C.
function: Relate
dependencies: 6
inputs: work location
backward
function: FilterConcept
dependencies: 7
inputs: human
function: And
dependencies: 5
8
function: What
dependencies: 9