Question: How many German states occupy more than 45000000 square meters or have ISO 3166-2 code DE-ST?
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> "state of Germany" .  { ?e <area> ?pv . ?pv <pred:unit> "square metre" . ?pv <pred:value> ?v . FILTER ( ?v > "45000000"^^xsd:double ) .  } UNION { ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "DE-ST" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
45000000 square metre
>
function: FilterConcept
dependencies: 1
inputs: state of Germany
function: FindAll
function: FilterStr
dependencies: 3
inputs: ISO 3166-2 code
DE-ST
function: FilterConcept
dependencies: 4
inputs: state of Germany
function: Or
dependencies: 2
5
function: Count
dependencies: 6