Question: Which one is smaller by area, West Virginia or California (the one that is the filming location of The Grifters) ?
Choices:
Iowa
Illinois
Hawaii
Florida
West Virginia
Colorado
Massachusetts
New Mexico
New Jersey
California
Program:
function: Find
inputs: West Virginia
function: Find
inputs: The Grifters
function: Relate
dependencies: 1
inputs: filming location
forward
function: Find
inputs: California
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "West Virginia" .  } UNION { ?e <pred:name> "California" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> "The Grifters" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: West Virginia