Question: What is the city in which the person born on 1961-05-07 was born in?
Choices:
Milan
Stoke-on-Trent
Odense
Canterbury
Syracuse
Sheffield
Invercargill
London
Belgrade
Dakar
Answer: Sheffield
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1961-05-07"^^xsd:date .   }
Program:
function: FindAll
function: FilterDate
dependencies: 0
inputs: date of birth
1961-05-07
=
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: place of birth
forward
function: FilterConcept
dependencies: 3
inputs: city
function: What
dependencies: 4