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