Question: Which one has less population,Sedona or Green Bay?
Choices:
Columbus
Sedona
Greenville
Lansing
Oakland
Boulder
Compton
Franklin
New Haven
Waukegan
Program:
function: Find
inputs: Sedona
function: FilterStr
dependencies: 0
inputs: official website
http://www.sedonaaz.gov/
function: Find
inputs: Green Bay
function: FilterDate
dependencies: 2
inputs: start time
1854-01-01
=
function: SelectBetween
dependencies: 1
3
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sedona" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.sedonaaz.gov/" . } UNION { ?e <pred:name> "Green Bay" . ?e <start_time> ?pv_2 . ?pv_2 <pred:date> "1854-01-01"^^xsd:date . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Sedona