Question: Which has a smaller perimeter, Ireland (release region of I Love You Phillip Morris) or Java (story setting of Merry Christmas, Mr. Lawrence)?
Choices:
Guernsey
Cyprus
Ireland
Tasmania
Hawaii
Maui
Newfoundland
Trinidad
Java
Long Island
Answer: Ireland
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ireland" . ?e_1 <film_release_region> ?e . ?e_1 <pred:name> "I Love You Phillip Morris" .   } UNION { ?e <pred:name> "Java" . ?e_2 <narrative_location> ?e . ?e_2 <pred:name> "Merry Christmas, Mr. Lawrence" .  } ?e <perimeter> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: I Love You Phillip Morris
function: Relate
dependencies: 0
inputs: film release region
forward
function: Find
inputs: Ireland
function: And
dependencies: 1
2
function: Find
inputs: Merry Christmas, Mr. Lawrence
function: Relate
dependencies: 4
inputs: narrative location
forward
function: Find
inputs: Java
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: perimeter
less