Question: Which city is John Madden's birthplace (the one whose date of birth is 1973-05-04)?
Choices:
Espoo
Abidjan
Kilkenny
Barrie
Cork
Trieste
Santo Domingo
Bergen
Cambridge
Kingston
Program:
function: Find
inputs: John Madden
function: FilterDate
dependencies: 0
inputs: date of birth
1973-05-04
=
function: Relate
dependencies: 1
inputs: place of birth
forward
function: FilterConcept
dependencies: 2
inputs: city
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "John Madden" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1973-05-04"^^xsd:date .   }
Answer: Barrie