Question: How many Washington counties are located in Washington or were established in a year other than 1909 ?
Choices: 8
9
10
11
12
13
14
15
16
17
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Washington" .  { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Washington" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1909 ) .  } }
Program:
function: Find
inputs: Washington
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: county of Washington
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1909
!=
function: FilterConcept
dependencies: 4
inputs: county of Washington
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 16