Question: What are the number of belief systems which is the official religion of Russia or whose Dewey Decimal Classification is 294.4 ?
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> "belief system" .  { ?e_1 <official_religion> ?e . ?e_1 <pred:name> "Russia" .  } UNION { ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "294.4" .  } }
Program:
function: Find
inputs: Russia
function: Relate
dependencies: 0
inputs: official religion
forward
function: FilterConcept
dependencies: 1
inputs: belief system
function: FindAll
function: FilterStr
dependencies: 3
inputs: Dewey Decimal Classification
294.4
function: FilterConcept
dependencies: 4
inputs: belief system
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2