Question: Which area is larger, Columbia County (the one that is named after Columbia River) or Lake County (the one whose official website is http://www.lakecountyor.org)?
Choices:
Washington County
Lake County
Columbia County
Clackamas County
Lane County
Douglas County
Yamhill County
Jackson County
Tillamook County
Marion County
Program:
function: Find
inputs: Columbia River
function: Relate
dependencies: 0
inputs: named after
backward
function: Find
inputs: Columbia County
function: And
dependencies: 1
2
function: Find
inputs: Lake County
function: FilterStr
dependencies: 4
inputs: official website
http://www.lakecountyor.org
function: SelectBetween
dependencies: 3
5
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Columbia County" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "Columbia River" . } UNION { ?e <pred:name> "Lake County" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.lakecountyor.org" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Lake County