Question: What is the UN/LOCODE of the Italian commune with a population that is not 880000 (the point in time of this statement is 2004)?
Choices:
ITMAN
PKRWP
ITVRN
GBLON
ITSIR
ITMIL
USCHI
ITVCE
NZLYJ
NZWGN
Answer: ITMAN
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "comune of Italy" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != "880000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 2004 . ?e <UN/LOCODE> ?pv .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
880000
!=
function: QFilterYear
dependencies: 1
inputs: point in time
2004
=
function: FilterConcept
dependencies: 2
inputs: comune of Italy
function: QueryAttr
dependencies: 3
inputs: UN/LOCODE