Question: How many belief systems do we know whose ISNI is 0000 0001 2287 9544 or whose country is Israel (whose out-of-school children number is 25164) ?
Choices:
2
3
4
5
6
7
8
9
10
11
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 2287 9544" .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> "Israel" . ?e_1 <number_of_out-of-school_children> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "25164"^^xsd:double .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 2287 9544
function: FilterConcept
dependencies: 1
inputs: belief system
function: Find
inputs: Israel
function: FilterNum
dependencies: 3
inputs: number of out-of-school children
25164
=
function: Relate
dependencies: 4
inputs: country
backward
function: FilterConcept
dependencies: 5
inputs: belief system
function: Or
dependencies: 2
6
function: Count
dependencies: 7