Question: Does Jackson, of the official website www.cityofjackson.net, or Pittsfield have fewer inhabitants?
Choices:
Boulder
Oakland
Greenville
Jackson
New Haven
Waukegan
Pittsfield
Columbus
Lansing
Franklin
Program:
function: Find
inputs: Jackson
function: FilterStr
dependencies: 0
inputs: official website
http://www.cityofjackson.net/
function: Find
inputs: Pittsfield
function: SelectBetween
dependencies: 1
2
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jackson" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.cityofjackson.net/" . } UNION { ?e <pred:name> "Pittsfield" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Pittsfield