Question: Is the larger area occupied by Anderson, of the official website www.cityofandersonsc.com, or Sedona, at 49.40153 square km?
Choices:
Anderson
Franklin
Waukegan
Boulder
Lansing
Compton
Oakland
Sedona
Greenville
Columbus
Answer: Sedona
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Anderson" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.cityofandersonsc.com" . } UNION { ?e <pred:name> "Sedona" . ?e <area> ?pv_2 . ?pv_2 <pred:unit> "square kilometre" . ?pv_2 <pred:value> "49.40153"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Anderson
function: FilterStr
dependencies: 0
inputs: official website
http://www.cityofandersonsc.com
function: Find
inputs: Sedona
function: FilterNum
dependencies: 2
inputs: area
49.40153 square kilometre
=
function: SelectBetween
dependencies: 1
3
inputs: area
greater