Question: How many North Carolina counties were founded after 1754?
Choices:
10
11
12
13
14
15
16
17
18
19
Answer: 10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of North Carolina" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1754 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1754
>
function: FilterConcept
dependencies: 1
inputs: county of North Carolina
function: Count
dependencies: 2