Question: Which area has lower elevation above sea level, Richmond (the one that is the birthplace of Les Claypool) or Phoenix (the one whose Dewey Decimal Classification is 2--79173)?
Choices:
Columbus
Boulder
Compton
Waukegan
New Haven
Oakland
Richmond
Greenville
Lansing
Phoenix
Program:
function: Find
inputs: Les Claypool
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Richmond
function: And
dependencies: 1
2
function: Find
inputs: Phoenix
function: FilterStr
dependencies: 4
inputs: Dewey Decimal Classification
2--79173
function: SelectBetween
dependencies: 3
5
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Richmond" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Les Claypool" . } UNION { ?e <pred:name> "Phoenix" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> "2--79173" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Richmond