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