Question: How many geographic regions are larger than 55 acres or border Europe?
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> "geographic region" .  { ?e <area> ?pv . ?pv <pred:unit> "acre" . ?pv <pred:value> ?v . FILTER ( ?v > "55"^^xsd:double ) .  } UNION { ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Europe" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
55 acre
>
function: FilterConcept
dependencies: 1
inputs: geographic region
function: Find
inputs: Europe
function: Relate
dependencies: 3
inputs: shares border with
backward
function: FilterConcept
dependencies: 4
inputs: geographic region
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1