Question: In what city having a population that isn't 58000 is the WOEID 573760?
Choices:
Townsville
Nassau
Cork
Trieste
Mangalore
Kingston
Tampere
Carlisle
Cardiff
New York City
Answer: Tampere
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "58000"^^xsd:double ) . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> "573760" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
58000
!=
function: FilterConcept
dependencies: 1
inputs: city
function: FindAll
function: FilterStr
dependencies: 3
inputs: WOEID
573760
function: FilterConcept
dependencies: 4
inputs: city
function: And
dependencies: 2
5
function: What
dependencies: 6