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