Question: Which has more people, Grants Pass or Naples (the one whose official website is http://www.naplesgov.com)?
Choices: Compton
Lansing
Boulder
Oakland
Franklin
Grants Pass
Naples
Columbus
Waukegan
Greenville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Grants Pass" . } UNION { ?e <pred:name> "Naples" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.naplesgov.com" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Grants Pass
function: Find
inputs: Naples
function: FilterStr
dependencies: 1
inputs: official website
http://www.naplesgov.com
function: SelectBetween
dependencies: 0
2
inputs: population
greater
Answer: Grants Pass