Question: Which covers less area, Olympia which has a postal code of 98501, or San Angelo?
Choices:
Franklin
Columbus
San Angelo
Olympia
Waukegan
Greenville
Lansing
Oakland
Boulder
New Haven
Program:
function: Find
inputs: Olympia
function: FilterStr
dependencies: 0
inputs: postal code
98501
function: Find
inputs: San Angelo
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Olympia" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "98501" . } UNION { ?e <pred:name> "San Angelo" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Olympia