Question: What is the short name of a sovereign state whose population was 366,331 in 2011 ?
Choices:
🇹🇴
GMT
UW
Fiji
Bavaria
🇯🇲
Éire
R
🇧🇸
EC
Answer: 🇧🇸
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "366331"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 2011 . ?e <short_name> ?pv .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
366331
=
function: QFilterYear
dependencies: 1
inputs: point in time
2011
=
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: QueryAttr
dependencies: 3
inputs: short name