Question: How many religions are Hungarians' religions or have the Library of Congress Classification BR1644-1644.7?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "religion" .  { ?e_1 <religion> ?e . ?e_1 <pred:name> "Hungarians" .  } UNION { ?e <Library_of_Congress_Classification> ?pv . ?pv <pred:value> "BR1644-1644.7" .  } }
Program:
function: Find
inputs: Hungarians
function: Relate
dependencies: 0
inputs: religion
forward
function: FilterConcept
dependencies: 1
inputs: religion
function: FindAll
function: FilterStr
dependencies: 3
inputs: Library of Congress Classification
BR1644-1644.7
function: FilterConcept
dependencies: 4
inputs: religion
function: Or
dependencies: 2
5
function: Count
dependencies: 6