Question: Which country that is headed by a prime minister has the largest mains voltage?
Choices:
Netherlands
Wales
Derry City F.C.
Scotland
Greenland
Stan Winston
Faroe Islands
Cook Islands
Pontifical Gregorian University
Restless
Answer: Cook Islands
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "country" . ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:name> "prime minister" .  ?e <mains_voltage> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: prime minister
function: Relate
dependencies: 0
inputs: office held by head of government
backward
function: FilterConcept
dependencies: 1
inputs: country
function: SelectAmong
dependencies: 2
inputs: mains voltage
largest