Question: Which has lower consent age, Tasmania that is headed by lieutenant governor or the Northern Territory?
Choices:
Punjab
New South Wales
Greater Poland Voivodeship
Minas Gerais
Podlaskie Voivodeship
Lublin Voivodeship
Tasmania
Upper Austria
Northern Territory
Chiapas
Program:
function: Find
inputs: lieutenant governor
function: Relate
dependencies: 0
inputs: office held by head of government
backward
function: Find
inputs: Tasmania
function: And
dependencies: 1
2
function: Find
inputs: Northern Territory
function: SelectBetween
dependencies: 3
4
inputs: age of consent
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tasmania" . ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:name> "lieutenant governor" .   } UNION { ?e <pred:name> "Northern Territory" .  } ?e <age_of_consent> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Northern Territory