Question: How many independent cities of Germany are the death place of Robert Smith (the one born in 1757-11-03) and that are the working locations of Paul Oakenfold?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent city of Germany" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "Robert Smith" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1757-11-03"^^xsd:date .  ?e_2 <work_location> ?e . ?e_2 <pred:name> "Paul Oakenfold" .  }
Program:
function: Find
inputs: Robert Smith
function: FilterDate
dependencies: 0
inputs: date of birth
1757-11-03
=
function: Relate
dependencies: 1
inputs: place of death
forward
function: FilterConcept
dependencies: 2
inputs: independent city of Germany
function: Find
inputs: Paul Oakenfold
function: Relate
dependencies: 4
inputs: work location
forward
function: FilterConcept
dependencies: 5
inputs: independent city of Germany
function: And
dependencies: 3
6
function: Count
dependencies: 7