Question: How many ethnic groups are there whose population is over 310000000 or Dewey Decimal Classification is 305.891992?
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> "ethnic group" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "310000000"^^xsd:double ) .  } UNION { ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "305.891992" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
310000000
>
function: FilterConcept
dependencies: 1
inputs: ethnic group
function: FindAll
function: FilterStr
dependencies: 3
inputs: Dewey Decimal Classification
305.891992
function: FilterConcept
dependencies: 4
inputs: ethnic group
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1