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