Question: What are the number of religions whose ISNI is 0000 0004 0508 6616 or that sets up in Battle Creek (the one whose area is 113.269885 square kilometre) ?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "religion" .  { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0004 0508 6616" .  } UNION { ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> "Battle Creek" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "113.269885"^^xsd:double .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0004 0508 6616
function: FilterConcept
dependencies: 1
inputs: religion
function: Find
inputs: Battle Creek
function: FilterNum
dependencies: 3
inputs: area
113.269885 square kilometre
=
function: Relate
dependencies: 4
inputs: location of formation
backward
function: FilterConcept
dependencies: 5
inputs: religion
function: Or
dependencies: 2
6
function: Count
dependencies: 7
Answer: 2