Question: How many Christian religions have the Library of Congress Classification BR1640-1643 or originate in Battle Creek (whose ISNI is 0000 0004 4686 3952)?
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> "Christianity" .  { ?e <Library_of_Congress_Classification> ?pv . ?pv <pred:value> "BR1640-1643" .  } UNION { ?e <location_of_formation> ?e_1 . ?e_1 <pred:name> "Battle Creek" . ?e_1 <ISNI> ?pv . ?pv <pred:value> "0000 0004 4686 3952" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Library of Congress Classification
BR1640-1643
function: FilterConcept
dependencies: 1
inputs: Christianity
function: Find
inputs: Battle Creek
function: FilterStr
dependencies: 3
inputs: ISNI
0000 0004 4686 3952
function: Relate
dependencies: 4
inputs: location of formation
backward
function: FilterConcept
dependencies: 5
inputs: Christianity
function: Or
dependencies: 2
6
function: Count
dependencies: 7