Question: Does Quincy in Norfolk County or Bellingham have greater area?
Choices:
Boulder
Waukegan
Oakland
Franklin
New Haven
Columbus
Lansing
Bellingham
Quincy
Greenville
Program:
function: Find
inputs: Norfolk County
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Quincy
function: And
dependencies: 1
2
function: Find
inputs: Bellingham
function: SelectBetween
dependencies: 3
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Quincy" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Norfolk County" .   } UNION { ?e <pred:name> "Bellingham" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Bellingham