Question: Which has more area, Selma whose official website is http://www.selma-al.gov/ or Glendale that was established in 1887?
Choices:
New Haven
Franklin
Oakland
Columbus
Greenville
Glendale
Compton
Lansing
Boulder
Selma
Program:
function: Find
inputs: Selma
function: FilterStr
dependencies: 0
inputs: official website
http://www.selma-al.gov/
function: Find
inputs: Glendale
function: FilterYear
dependencies: 2
inputs: inception
1887
=
function: SelectBetween
dependencies: 1
3
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Selma" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.selma-al.gov/" . } UNION { ?e <pred:name> "Glendale" . ?e <inception> ?pv_2 . ?pv_2 <pred:year> 1887 . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Glendale