Question: Which has the smallest elevation above sea level among the U.S. cities that are located in Jefferson County that contains Beaumont?
Choices:
Compton
Beaumont
Greenville
New Haven
Lansing
Oakland
Port Arthur
Boulder
Waukegan
Franklin
Program:
function: Find
inputs: Beaumont
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Jefferson County
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: SelectAmong
dependencies: 5
inputs: elevation above sea level
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Jefferson County" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Beaumont" .  ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Port Arthur