Question: Which has a greater compulsory education minimum age, Australia (the country of Toowoomba) or Singapore (whose nominal GDP is 192408387762.118 United States dollars)?
Choices:
Weimar Republic
Singapore
South Sudan
Kiribati
Samoa
Benin
Cambodia
Socialist Federal Republic of Yugoslavia
Switzerland
Russian Soviet Federative Socialist Republic
Answer: Singapore
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Australia" . ?e_1 <country> ?e . ?e_1 <pred:name> "Toowoomba" . } UNION { ?e <pred:name> "Singapore" . ?e <nominal_GDP> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "192408387762.118"^^xsd:double . } ?e <compulsory_education_(minimum_age)> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Toowoomba
function: Relate
dependencies: 0
inputs: country
forward
function: Find
inputs: Australia
function: And
dependencies: 1
2
function: Find
inputs: Singapore
function: FilterNum
dependencies: 4
inputs: nominal GDP
192408387762.118 United States dollar
=
function: SelectBetween
dependencies: 3
5
inputs: compulsory education (minimum age)
greater