Question: Which has a greater area, Cass County (whose official website is http://www.cassne.org) or Tooele County?
Choices:
Cass County
Tooele County
San Juan County
Washoe County
Delaware County
African Union
Lee County
Greene County
Kent County
United States Virgin Islands
Answer: Tooele County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cass County" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.cassne.org" . } UNION { ?e <pred:name> "Tooele County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Cass County
function: FilterStr
dependencies: 0
inputs: official website
http://www.cassne.org
function: Find
inputs: Tooele County
function: SelectBetween
dependencies: 1
2
inputs: area
greater