Question: Which area is larger, Gila County or Pinal County?
Choices:
Gila County
Yavapai County
Navajo County
Cochise County
Coconino County
Maricopa County
Pinal County
Apache County
Santa Cruz County
Pima County
Program:
function: Find
inputs: Gila County
function: Find
inputs: Pinal County
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Gila County" .  } UNION { ?e <pred:name> "Pinal County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Pinal County