Question: What is the number of county of Massachusetts whose inception time is not in 1643 or whose ISNI is 0000 0004 0424 6198 ?
Choices:
6
7
8
9
10
11
12
13
14
15
Answer: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Massachusetts" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1643 ) .  } UNION { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0004 0424 6198" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1643
!=
function: FilterConcept
dependencies: 1
inputs: county of Massachusetts
function: FindAll
function: FilterStr
dependencies: 3
inputs: ISNI
0000 0004 0424 6198
function: FilterConcept
dependencies: 4
inputs: county of Massachusetts
function: Or
dependencies: 2
5
function: Count
dependencies: 6