Question: Which one has a larger area, Franklin County (the one whose area is 549 square kilometre) or Johnson County (the one whose official website is http://www.johnson-county.com)?
Choices:
Delaware County
San Juan County
Greene County
Washoe County
Franklin County
African Union
Cass County
Lee County
Johnson County
Kent County
Program:
function: Find
inputs: Franklin County
function: FilterNum
dependencies: 0
inputs: area
549 square kilometre
=
function: Find
inputs: Johnson County
function: FilterStr
dependencies: 2
inputs: official website
http://www.johnson-county.com
function: SelectBetween
dependencies: 1
3
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Franklin County" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "549"^^xsd:double . } UNION { ?e <pred:name> "Johnson County" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> "http://www.johnson-county.com" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Johnson County