Question: Which occupies a larger space: Jefferson County (official website http://www.jeffcomo.org) or Douglas County, with an area of 1910 square kilometres?
Choices:
Orange County
Kent County
Lee County
Jefferson County
Douglas County
African Union
Delaware County
San Juan County
Cass County
Greene County
Program:
function: Find
inputs: Jefferson County
function: FilterStr
dependencies: 0
inputs: official website
http://www.jeffcomo.org
function: Find
inputs: Douglas County
function: FilterNum
dependencies: 2
inputs: area
1910 square kilometre
=
function: SelectBetween
dependencies: 1
3
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jefferson County" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.jeffcomo.org" . } UNION { ?e <pred:name> "Douglas County" . ?e <area> ?pv_2 . ?pv_2 <pred:unit> "square kilometre" . ?pv_2 <pred:value> "1910"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Douglas County