Question: Tell me the city that has an area not exactly 36000000 square kilometres and that is where Rajesh khanna was born.
Choices:
Bergamo
Erfurt
Cork
Trieste
New York City
Newcastle
Amritsar
Kilkenny
Buenos Aires
Birmingham
Answer: Amritsar
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> ?v . FILTER ( ?v != "36000000"^^xsd:double ) . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Rajesh Khanna" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
36000000 square kilometre
!=
function: FilterConcept
dependencies: 1
inputs: city
function: Find
inputs: Rajesh Khanna
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: city
function: And
dependencies: 2
5
function: What
dependencies: 6