Question: Does Gettysburg (established in 1780) or the London Borough of Hackney have the larger population?
Choices:
Greene County
Lee County
Orange County
Delaware County
Washoe County
Cass County
London Borough of Hackney
African Union
San Juan County
Gettysburg
Answer: London Borough of Hackney
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Gettysburg" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1780 . } UNION { ?e <pred:name> "London Borough of Hackney" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Gettysburg
function: FilterYear
dependencies: 0
inputs: inception
1780
=
function: Find
inputs: London Borough of Hackney
function: SelectBetween
dependencies: 1
2
inputs: population
greater