Question: tell me the city that is the capital of the England ceremonial County that has number of households not being 900000
Choices:
Parma
Rio de Janeiro
Coimbatore
Carlisle
London
Chelmsford
Durham
Groningen
Brescia
Norwich
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of households
900000
!=
function: FilterConcept
dependencies: 1
inputs: ceremonial county of England
function: Relate
dependencies: 2
inputs: capital
forward
function: FilterConcept
dependencies: 3
inputs: city
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <capital> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "ceremonial county of England" . ?e_1 <number_of_households> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "900000"^^xsd:double ) .   }
Answer: Carlisle