Question: How many US states are under 6400 meters in elevation or were involved in the Lebanese Civil War?
Choices:
43
44
45
46
47
48
49
50
51
52
Answer: 46
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" .  { ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> ?v . FILTER ( ?v < "6400"^^xsd:double ) .  } UNION { ?e <significant_event> ?e_1 . ?e_1 <pred:name> "Lebanese Civil War" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: elevation above sea level
6400 metre
<
function: FilterConcept
dependencies: 1
inputs: state of the United States
function: Find
inputs: Lebanese Civil War
function: Relate
dependencies: 3
inputs: significant event
backward
function: FilterConcept
dependencies: 4
inputs: state of the United States
function: Or
dependencies: 2
5
function: Count
dependencies: 6