Question: Which area is smaller, Niagara County or Livingston County (the one whose FIPS 6-4 (US counties) is 36051)?
Choices:
Albany County
Greene County
Livingston County
Cayuga County
Rensselaer County
Clinton County
Orange County
Chautauqua County
Niagara County
Warren County
Program:
function: Find
inputs: Niagara County
function: Find
inputs: Livingston County
function: FilterStr
dependencies: 1
inputs: FIPS 6-4 (US counties)
36051
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Niagara County" . } UNION { ?e <pred:name> "Livingston County" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "36051" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Livingston County