Question: Does San Marino (whose citizens are the sammarinese people) or Panama have the lower mains voltage?
Choices:
Weimar Republic
San Marino
Switzerland
Panama
Benin
Socialist Federal Republic of Yugoslavia
Kiribati
South Sudan
Cambodia
Russian Soviet Federative Socialist Republic
Answer: Panama
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "San Marino" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> "sammarinese" . } UNION { ?e <pred:name> "Panama" . } ?e <mains_voltage> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: San Marino
function: FilterStr
dependencies: 0
inputs: demonym
sammarinese
function: Find
inputs: Panama
function: SelectBetween
dependencies: 1
2
inputs: mains voltage
less