Question: Which has less area, Santa Cruz County that borders Monterey County or Tuolumne County?
Choices: Solano County
Alameda County
Tuolumne County
Contra Costa County
Mariposa County
San Luis Obispo County
Santa Cruz County
San Mateo County
Tulare County
Butte County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Santa Cruz County" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Monterey County" .   } UNION { ?e <pred:name> "Tuolumne County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Monterey County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Santa Cruz County
function: And
dependencies: 1
2
function: Find
inputs: Tuolumne County
function: SelectBetween
dependencies: 3
4
inputs: area
less
Answer: Santa Cruz County