Question: Which area is larger, Quincy (the one whose official website is http://www.quincyma.gov/) or Denver?
Choices:
Waukegan
Franklin
New Haven
Compton
Denver
Quincy
Boulder
Oakland
Columbus
Lansing
Program:
function: Find
inputs: Quincy
function: FilterStr
dependencies: 0
inputs: official website
http://www.quincyma.gov/
function: Find
inputs: Denver
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Quincy" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.quincyma.gov/" . } UNION { ?e <pred:name> "Denver" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Denver