Question: Which has greater area, Orange County which is the residence of Michelle Pfeiffer or Humboldt County?
Choices:
Contra Costa County
San Diego County
Tulare County
Solano County
Humboldt County
Tuolumne County
Mariposa County
Orange County
Alameda County
San Mateo County
Program:
function: Find
inputs: Michelle Pfeiffer
function: Relate
dependencies: 0
inputs: residence
forward
function: Find
inputs: Orange County
function: And
dependencies: 1
2
function: Find
inputs: Humboldt County
function: SelectBetween
dependencies: 3
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Orange County" . ?e_1 <residence> ?e . ?e_1 <pred:name> "Michelle Pfeiffer" .   } UNION { ?e <pred:name> "Humboldt County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Humboldt County