Question: What municipality in the Netherlands is the working site of Vincent van Gogh whose date of birth is 1853-03-30 (the ending date of this statement is 1877)?
Choices:
Arnhem
Delft
Amsterdam
Dordrecht
Alkmaar
Nijmegen
Groningen
Leiden
Hilversum
Maastricht
Answer: Dordrecht
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "municipality of the Netherlands" . ?e_1 <work_location> ?e . ?e_1 <pred:name> "Vincent van Gogh" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1853-03-30"^^xsd:date .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <work_location> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 1877 .  }
Program:
function: Find
inputs: Vincent van Gogh
function: FilterDate
dependencies: 0
inputs: date of birth
1853-03-30
=
function: Relate
dependencies: 1
inputs: work location
forward
function: QFilterYear
dependencies: 2
inputs: end time
1877
=
function: FilterConcept
dependencies: 3
inputs: municipality of the Netherlands
function: What
dependencies: 4