Question: Is the area greater for Placer County or Lake County (the one that shares border with Napa County)?
Choices:
San Diego County
Tulare County
Butte County
Contra Costa County
Tuolumne County
San Mateo County
Placer County
Mariposa County
Lake County
Solano County
Answer: Placer County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Placer County" .  } UNION { ?e <pred:name> "Lake County" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Napa County" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Placer County
function: Find
inputs: Napa County
function: Relate
dependencies: 1
inputs: shares border with
backward
function: Find
inputs: Lake County
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater