Question: How many belief systems do we know whose ISNI is 0000 0001 2153 4421 or that were established in Battle Creek (with the elevation, above sea level, of 256 meters) ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "belief system" .  { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0001 2153 4421" .  } UNION { ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> "Battle Creek" . ?e_1 <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> "256"^^xsd:double .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 2153 4421
function: FilterConcept
dependencies: 1
inputs: belief system
function: Find
inputs: Battle Creek
function: FilterNum
dependencies: 3
inputs: elevation above sea level
256 metre
=
function: Relate
dependencies: 4
inputs: location of formation
backward
function: FilterConcept
dependencies: 5
inputs: belief system
function: Or
dependencies: 2
6
function: Count
dependencies: 7