Question: Which area is larger, Rochester (the one whose area is 141.718141 square kilometre) or Birmingham (the one whose official website is http://www.ci.birmingham.mi.us/)?
Choices:
Compton
Oakland
Franklin
Lansing
Greenville
Birmingham
Columbus
Waukegan
Rochester
Boulder
Answer: Rochester
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rochester" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "141.718141"^^xsd:double . } UNION { ?e <pred:name> "Birmingham" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> "http://www.ci.birmingham.mi.us/" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Rochester
function: FilterNum
dependencies: 0
inputs: area
141.718141 square kilometre
=
function: Find
inputs: Birmingham
function: FilterStr
dependencies: 2
inputs: official website
http://www.ci.birmingham.mi.us/
function: SelectBetween
dependencies: 1
3
inputs: area
greater