Question: How many Alabama counties are home to Birmingham, which itself has an elevation above sea level of 196 meters?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Alabama" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Birmingham" . ?e_1 <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> "196"^^xsd:double .   }
Program:
function: Find
inputs: Birmingham
function: FilterNum
dependencies: 0
inputs: elevation above sea level
196 metre
=
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: county of Alabama
function: Count
dependencies: 3