Question: How many religious denominations are there in the country that is the Russian Soviet Federative Socialist Republic (the one that has a citizen Vladimir Lenin) or whose ISNI is 0000 0001 2184 7583?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "religious denomination" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "Russian Soviet Federative Socialist Republic" . ?e_2 <country_of_citizenship> ?e_1 . ?e_2 <pred:name> "Vladimir Lenin" .  } UNION { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0001 2184 7583" .  } }
Program:
function: Find
inputs: Vladimir Lenin
function: Relate
dependencies: 0
inputs: country of citizenship
forward
function: Find
inputs: Russian Soviet Federative Socialist Republic
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: religious denomination
function: FindAll
function: FilterStr
dependencies: 6
inputs: ISNI
0000 0001 2184 7583
function: FilterConcept
dependencies: 7
inputs: religious denomination
function: Or
dependencies: 5
8
function: Count
dependencies: 9