Question: How many port cities either have an elevation above sea level of 160 metres or share a border with Plovdiv?
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> "port city" .  { ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> "160"^^xsd:double .  } UNION { ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Plovdiv" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: elevation above sea level
160 metre
=
function: FilterConcept
dependencies: 1
inputs: port city
function: Find
inputs: Plovdiv
function: Relate
dependencies: 3
inputs: shares border with
backward
function: FilterConcept
dependencies: 4
inputs: port city
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0