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