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