Question: I would like to know which one has a greater area, Napa County or Monterey County.
Choices:
Tuolumne County
Butte County
Solano County
San Mateo County
Contra Costa County
Monterey County
Mariposa County
Napa County
Tulare County
Alameda County
Program:
function: Find
inputs: Napa County
function: Find
inputs: Monterey County
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Napa County" .  } UNION { ?e <pred:name> "Monterey County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Monterey County