Question: At what frequency does the mains voltage of 230 volts work for the first-level administrative country subdivision whose ISO 3166-2 code is PK-BA?
Choices:
1
ITSNA
60 hertz
50
1103
50 hertz
French Fifth Republic
866
839727 United States dollar
55 hertz
Answer: 50 hertz
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" . ?e <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> "PK-BA" . ?e <mains_voltage> ?pv . ?pv <pred:unit> "volt" . ?pv <pred:value> "230"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <mains_voltage> ; <pred:fact_t> ?pv ] <frequency> ?qpv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
PK-BA
function: FilterConcept
dependencies: 1
inputs: first-level administrative country subdivision
function: QueryAttrQualifier
dependencies: 2
inputs: mains voltage
230 volt
frequency