Question: Does Thousand Oaks or Albuquerque (whose Dewey Decimal Classification is 2--78961) have less area?
Choices:
Albuquerque
Compton
Franklin
Columbus
Oakland
Lansing
Waukegan
Thousand Oaks
Boulder
New Haven
Program:
function: Find
inputs: Thousand Oaks
function: Find
inputs: Albuquerque
function: FilterStr
dependencies: 1
inputs: Dewey Decimal Classification
2--78961
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Thousand Oaks" . } UNION { ?e <pred:name> "Albuquerque" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> "2--78961" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Thousand Oaks