Question: Which is smaller in area, Java (the one whose length is 1062 kilometre) or Long Island (the one that is the birthplace of Thomas Pynchon)?
Choices:
Maui
Hawaii
Guernsey
Newfoundland
Long Island
Trinidad
Puerto Rico
Ireland
Tasmania
Java
Program:
function: Find
inputs: Java
function: FilterNum
dependencies: 0
inputs: length
1062 kilometre
=
function: Find
inputs: Thomas Pynchon
function: Relate
dependencies: 2
inputs: place of birth
forward
function: Find
inputs: Long Island
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Java" . ?e <length> ?pv_1 . ?pv_1 <pred:unit> "kilometre" . ?pv_1 <pred:value> "1062"^^xsd:double . } UNION { ?e <pred:name> "Long Island" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Thomas Pynchon" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Long Island