Question: Tell me the one with the bigger area, Ridgefield or Bedford (which is where felicity Huffman was born)
Choices:
Uxbridge
Amherst
Brookline
Kensington
Westport
Bedford
Chapel Hill
Ridgefield
Greenwich
Litchfield
Program:
function: Find
inputs: Ridgefield
function: Find
inputs: Felicity Huffman
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Bedford
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ridgefield" .  } UNION { ?e <pred:name> "Bedford" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Felicity Huffman" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Bedford