Question: What number of organizations have 94797 as a British Museum person-institution or fewer than 7800000 patrons?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "organization" .  { ?e <British_Museum_person-institution> ?pv . ?pv <pred:value> "94797" .  } UNION { ?e <patronage> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "7800000"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: British Museum person-institution
94797
function: FilterConcept
dependencies: 1
inputs: organization
function: FindAll
function: FilterNum
dependencies: 3
inputs: patronage
7800000
<
function: FilterConcept
dependencies: 4
inputs: organization
function: Or
dependencies: 2
5
function: Count
dependencies: 6