Question: Tell me the one with a smaller consent age, South Australia or Northern Territory
Choices:
Punjab
Upper Austria
Greater Poland Voivodeship
New South Wales
Minas Gerais
South Australia
Lublin Voivodeship
Northern Territory
Chiapas
Podlaskie Voivodeship
Program:
function: Find
inputs: South Australia
function: Find
inputs: Northern Territory
function: SelectBetween
dependencies: 0
1
inputs: age of consent
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "South Australia" .  } UNION { ?e <pred:name> "Northern Territory" .  } ?e <age_of_consent> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Northern Territory