Question: Tell me the one with the bigger population, Kensington (which has the official website https//tok.md.gov/) and Chapel Hill.
Choices:
Litchfield
Uxbridge
West Hartford
Amherst
Westport
Morristown
Bedford
Brookline
Chapel Hill
Kensington
Program:
function: Find
inputs: Kensington
function: FilterStr
dependencies: 0
inputs: official website
https://tok.md.gov/
function: Find
inputs: Chapel Hill
function: SelectBetween
dependencies: 1
2
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kensington" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "https://tok.md.gov/" . } UNION { ?e <pred:name> "Chapel Hill" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Chapel Hill