Question: Is the area greater for Darjeeling or Livingston (the one whose inception time is 1813-02-05)?
Choices:
Livingston
Montclair
North Hollywood
Verona
Red Bank
Belleville
Darjeeling
Whanganui
West Orange
Princeton
Answer: Livingston
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Darjeeling" . } UNION { ?e <pred:name> "Livingston" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1813-02-05"^^xsd:date . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Darjeeling
function: Find
inputs: Livingston
function: FilterDate
dependencies: 1
inputs: inception
1813-02-05
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater