Question: Does St. Lawrence County or Greene County (the one whose Dewey Decimal Classification is 2--74737) has greater area ?
Choices:
Warren County
Cayuga County
Chautauqua County
Rensselaer County
St. Lawrence County
Albany County
Orange County
Jefferson County
Clinton County
Greene County
Answer: St. Lawrence County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "St. Lawrence County" . } UNION { ?e <pred:name> "Greene County" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> "2--74737" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: St. Lawrence County
function: Find
inputs: Greene County
function: FilterStr
dependencies: 1
inputs: Dewey Decimal Classification
2--74737
function: SelectBetween
dependencies: 0
2
inputs: area
greater