Question: What are the number of counties of North Carolina whose ISNI is 0000 0004 0424 7844 or whose population is greater than 7.5 ?
Choices:
4
5
6
7
8
9
10
11
12
13
Answer: 11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of North Carolina" .  { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0004 0424 7844" .  } UNION { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "7.5"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0004 0424 7844
function: FilterConcept
dependencies: 1
inputs: county of North Carolina
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
7.5
>
function: FilterConcept
dependencies: 4
inputs: county of North Carolina
function: Or
dependencies: 2
5
function: Count
dependencies: 6