Question: Which one covers a larger area, Columbia County (the one whose official website is http://www.co.columbia.or.us) or Clackamas County ?
Choices:
Clackamas County
Linn County
Marion County
Lane County
Yamhill County
Washington County
Jackson County
Douglas County
Lake County
Columbia County
Program:
function: Find
inputs: Columbia County
function: FilterStr
dependencies: 0
inputs: official website
http://www.co.columbia.or.us
function: Find
inputs: Clackamas County
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Columbia County" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.co.columbia.or.us" . } UNION { ?e <pred:name> "Clackamas County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Clackamas County