Question: Which area is larger, Essex County (the one that partially contains Adirondack Mountains) or Madison County (the one whose FIPS 6-4 (US counties) is 36053)?
Choices:
Essex County
Niagara County
Rensselaer County
Orange County
Greene County
Albany County
Madison County
Clinton County
Warren County
Cayuga County
Answer: Essex County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Essex County" . ?e <partially_contains> ?e_1 . ?e_1 <pred:name> "Adirondack Mountains" . } UNION { ?e <pred:name> "Madison County" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "36053" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Adirondack Mountains
function: Relate
dependencies: 0
inputs: partially contains
backward
function: Find
inputs: Essex County
function: And
dependencies: 1
2
function: Find
inputs: Madison County
function: FilterStr
dependencies: 4
inputs: FIPS 6-4 (US counties)
36053
function: SelectBetween
dependencies: 3
5
inputs: area
greater