Question: Which one, Palm Beach or Newton (the one whose official website is http://newtontownhall.com/), has less area?
Choices:
Bedford
Uxbridge
Newton
Westport
Amherst
Chapel Hill
Greenwich
Palm Beach
West Hartford
Brookline
Program:
function: Find
inputs: Palm Beach
function: Find
inputs: Newton
function: FilterStr
dependencies: 1
inputs: official website
http://newtontownhall.com/
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Palm Beach" . } UNION { ?e <pred:name> "Newton" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://newtontownhall.com/" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Newton