Question: Who was born on 1984-08-30 and is not 65 inches tall?
Choices:
William Henry Harrison
Steven Wright
Robert Smith
Max Fleischer
Brian Jones
Nicole Kidman
Donald Trump
Tom Johnson
Gerard Butler
Tom Selleck
Answer: Tom Johnson
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <date_of_birth> ?pv . ?pv <pred:date> "1984-08-30"^^xsd:date . ?e <height> ?pv_1 . ?pv_1 <pred:unit> "inch" . ?pv_1 <pred:value> ?v . FILTER ( ?v != "65"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterDate
dependencies: 0
inputs: date of birth
1984-08-30
=
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterNum
dependencies: 3
inputs: height
65 inch
!=
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6