Question: How many independent cities have an elevation under 190 meters or are the location where Robert Byrd died?
Choices: 10
11
12
13
14
15
16
17
18
19
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "independent city" .  { ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> ?v . FILTER ( ?v < "190"^^xsd:double ) .  } UNION { ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "Robert Byrd" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: elevation above sea level
190 metre
<
function: FilterConcept
dependencies: 1
inputs: independent city
function: Find
inputs: Robert Byrd
function: Relate
dependencies: 3
inputs: place of death
forward
function: FilterConcept
dependencies: 4
inputs: independent city
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 12