Question: How many Alabama counties with ISNI 0000 0004 0382 4128 or that were not established in 1818?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 8
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Alabama" .  { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0004 0382 4128" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1818 ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0004 0382 4128
function: FilterConcept
dependencies: 1
inputs: county of Alabama
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1818
!=
function: FilterConcept
dependencies: 4
inputs: county of Alabama
function: Or
dependencies: 2
5
function: Count
dependencies: 6