Question: How many seas border the Mediterranean Sea or are under 36,000 hectares in size?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Mediterranean Sea
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: sea
function: FindAll
function: FilterNum
dependencies: 3
inputs: area
36000 hectare
<
function: FilterConcept
dependencies: 4
inputs: sea
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sea" .  { ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Mediterranean Sea" .  } UNION { ?e <area> ?pv . ?pv <pred:unit> "hectare" . ?pv <pred:value> ?v . FILTER ( ?v < "36000"^^xsd:double ) .  } }
Answer: 0