Question: What is the number of geographic regions that have under 840 out-of-school children and share a boundary with Asia (that is continent of Constantinople's location)?
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> "geographic region" . ?e <number_of_out-of-school_children> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "840"^^xsd:double ) . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Asia" . ?e_2 <continent> ?e_1 . ?e_2 <pred:name> "Constantinople" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of out-of-school children
840
<
function: FilterConcept
dependencies: 1
inputs: geographic region
function: Find
inputs: Constantinople
function: Relate
dependencies: 3
inputs: continent
forward
function: Find
inputs: Asia
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: shares border with
forward
function: FilterConcept
dependencies: 7
inputs: geographic region
function: And
dependencies: 2
8
function: Count
dependencies: 9
Answer: 0