Question: Which US city is the capital of Whatcom County and is situated less than 5500 metres above sea level?
Choices:
Bellingham
Green Bay
Columbus
Cleveland
Medford
Franklin
New Haven
Lafayette
Waukegan
Redding
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: elevation above sea level
5500 metre
<
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Find
inputs: Whatcom County
function: Relate
dependencies: 3
inputs: capital
forward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> ?v . FILTER ( ?v < "5500"^^xsd:double ) . ?e_1 <capital> ?e . ?e_1 <pred:name> "Whatcom County" .  }
Answer: Bellingham