Question: How many landforms  have more or less than 37000000 out-of-school children, or an ISO code 3166-2?
Choices: 1
2
3
4
5
6
7
8
9
10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "landform" .  { ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "US-GU" .  } UNION { ?e <number_of_out-of-school_children> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "37000000"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
US-GU
function: FilterConcept
dependencies: 1
inputs: landform
function: FindAll
function: FilterNum
dependencies: 3
inputs: number of out-of-school children
37000000
!=
function: FilterConcept
dependencies: 4
inputs: landform
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2