Question: How many kinds of Protestantism do we know whose Library of Congress Classification is BR1640-1643 or whose country is Andorra ?
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> "Protestantism" .  { ?e <Library_of_Congress_Classification> ?pv . ?pv <pred:value> "BR1640-1643" .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> "Andorra" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Library of Congress Classification
BR1640-1643
function: FilterConcept
dependencies: 1
inputs: Protestantism
function: Find
inputs: Andorra
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: Protestantism
function: Or
dependencies: 2
5
function: Count
dependencies: 6