Question: How many Washington counties are an administrative division of Washington or were not founded in 1852?
Choices: 16
17
18
19
20
21
22
23
24
25
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Washington" .  { ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Washington" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1852 ) .  } }
Program:
function: Find
inputs: Washington
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: county of Washington
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1852
!=
function: FilterConcept
dependencies: 4
inputs: county of Washington
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 16