Question: Which area is larger, Ulster County or Greene County (the one whose Dewey Decimal Classification is 2--74737)?
Choices:
Jefferson County
Orange County
Clinton County
Albany County
Cayuga County
Ulster County
Greene County
Warren County
Chautauqua County
Niagara County
Answer: Ulster County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ulster 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: Ulster County
function: Find
inputs: Greene County
function: FilterStr
dependencies: 1
inputs: Dewey Decimal Classification
2--74737
function: SelectBetween
dependencies: 0
2
inputs: area
greater