Question: Which occupies a smaller area, Costa Mesa or Somerville (official website https://somervillema.gov/)?
Choices:
Oakland
Waukegan
Franklin
Costa Mesa
Compton
Lansing
Greenville
Boulder
Somerville
New Haven
Program:
function: Find
inputs: Costa Mesa
function: Find
inputs: Somerville
function: FilterStr
dependencies: 1
inputs: official website
https://somervillema.gov/
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Costa Mesa" . } UNION { ?e <pred:name> "Somerville" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "https://somervillema.gov/" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Somerville