Question: Are there more urban dwellers in Goa, founded on 1987-05-29, or in Jammu and Kashmir?
Choices: Maharashtra
Kerala
Himachal Pradesh
Jammu and Kashmir
Karnataka
Goa
Jharkhand
Odisha
Haryana
Punjab
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Goa" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1987-05-29"^^xsd:date . } UNION { ?e <pred:name> "Jammu and Kashmir" . } ?e <urban_population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Goa
function: FilterDate
dependencies: 0
inputs: inception
1987-05-29
=
function: Find
inputs: Jammu and Kashmir
function: SelectBetween
dependencies: 1
2
inputs: urban population
greater
Answer: Jammu and Kashmir