Question: Which occupies a smaller space: Boston or Auburn (Dewey Decimal code 2--79438)?
Choices:
Lansing
Columbus
Boston
Boulder
Waukegan
New Haven
Auburn
Franklin
Compton
Oakland
Answer: Auburn
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Boston" . } UNION { ?e <pred:name> "Auburn" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> "2--79438" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Boston
function: Find
inputs: Auburn
function: FilterStr
dependencies: 1
inputs: Dewey Decimal Classification
2--79438
function: SelectBetween
dependencies: 0
2
inputs: area
less