Question: How many Alabama counties were founded on 1818-02-09 or later than 1816?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Alabama" .  { ?e <inception> ?pv . ?pv <pred:date> "1818-02-09"^^xsd:date .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1816 ) .  } }
Program:
function: FindAll
function: FilterDate
dependencies: 0
inputs: inception
1818-02-09
=
function: FilterConcept
dependencies: 1
inputs: county of Alabama
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1816
>
function: FilterConcept
dependencies: 4
inputs: county of Alabama
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 4