Question: What is the US city that is the working location of James Brown (who died on 1835-04-07)?
Choices:
Franklin
Washington, D.C.
Spartanburg
New Haven
Boulder
Oakland
Waukegan
Compton
Columbus
Sioux City
Program:
function: Find
inputs: James Brown
function: FilterDate
dependencies: 0
inputs: date of death
1835-04-07
=
function: Relate
dependencies: 1
inputs: work location
forward
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <work_location> ?e . ?e_1 <pred:name> "James Brown" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1835-04-07"^^xsd:date .   }
Answer: Washington, D.C.