Question: The Will Smith who died on 2016-04-09 was born in how many Alabama counties?
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> "county of Alabama" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Will Smith" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "2016-04-09"^^xsd:date .   }
Program:
function: Find
inputs: Will Smith
function: FilterDate
dependencies: 0
inputs: date of death
2016-04-09
=
function: Relate
dependencies: 1
inputs: place of birth
forward
function: FilterConcept
dependencies: 2
inputs: county of Alabama
function: Count
dependencies: 3