Question: Is the larger area occupied by Petaluma or by Manhattan (official website www.ci.manhattan.ks.us)?
Choices:
Franklin
Boulder
Compton
Lansing
Columbus
Greenville
New Haven
Oakland
Petaluma
Manhattan
Program:
function: Find
inputs: Petaluma
function: Find
inputs: Manhattan
function: FilterStr
dependencies: 1
inputs: official website
http://www.ci.manhattan.ks.us/
function: SelectBetween
dependencies: 0
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Petaluma" . } UNION { ?e <pred:name> "Manhattan" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.ci.manhattan.ks.us/" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Manhattan