Question: How many Maryland counties have a population of less than 8100 or are located in Maryland (the one whose elevation (above sea level) is 105 metre)?
Choices:
13
14
15
16
17
18
19
20
21
22
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
8100
<
function: FilterConcept
dependencies: 1
inputs: county of Maryland
function: Find
inputs: Maryland
function: FilterNum
dependencies: 3
inputs: elevation above sea level
105 metre
=
function: Relate
dependencies: 4
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 5
inputs: county of Maryland
function: Or
dependencies: 2
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Maryland" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "8100"^^xsd:double ) .  } UNION { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Maryland" . ?e_1 <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> "105"^^xsd:double .  } }
Answer: 13