Question: Which area is smaller, New Britain or St. Augustine (the one whose official website is http://www.ci.st-augustine.fl.us/)?
Choices:
St. Augustine
Greenville
Oakland
New Haven
Lansing
New Britain
Boulder
Franklin
Compton
Columbus
Program:
function: Find
inputs: New Britain
function: Find
inputs: St. Augustine
function: FilterStr
dependencies: 1
inputs: official website
http://www.ci.st-augustine.fl.us/
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New Britain" . } UNION { ?e <pred:name> "St. Augustine" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.ci.st-augustine.fl.us/" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: St. Augustine