Question: Which area is larger, Somerset County (the one whose official website is http://somersetcounty-me.org/) or Aroostook County?
Choices:
Aroostook County
Cumberland County
Kennebec County
Washington County
Penobscot County
York County
Somerset County
Franklin County
Oxford County
Hancock County
Program:
function: Find
inputs: Somerset County
function: FilterStr
dependencies: 0
inputs: official website
http://somersetcounty-me.org/
function: Find
inputs: Aroostook County
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Somerset County" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://somersetcounty-me.org/" . } UNION { ?e <pred:name> "Aroostook County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Aroostook County