Question: Which area is larger, Sonoma County or Riverside County?
Choices:
Riverside County
Tuolumne County
Solano County
San Diego County
Mariposa County
Alameda County
San Mateo County
Sonoma County
Contra Costa County
Butte County
Program:
function: Find
inputs: Sonoma County
function: Find
inputs: Riverside County
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sonoma County" .  } UNION { ?e <pred:name> "Riverside County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Riverside County