Question: Are there more people living in Myrtle Beach or Richmond (the one whose official website is http://www.ci.richmond.ca.us)?
Choices:
Oakland
Greenville
Compton
Waukegan
Lansing
Myrtle Beach
Richmond
Columbus
Franklin
Boulder
Program:
function: Find
inputs: Myrtle Beach
function: Find
inputs: Richmond
function: FilterStr
dependencies: 1
inputs: official website
http://www.ci.richmond.ca.us
function: SelectBetween
dependencies: 0
2
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Myrtle Beach" . } UNION { ?e <pred:name> "Richmond" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.ci.richmond.ca.us" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Richmond