Question: Who is the person with less or more than 15 children, that is not Natalie Morales (born 15th February 1985) ?
Choices:
Max Fleischer
David Byrne
Tobey Maguire
Gwyneth Paltrow
Richard Gere
William Henry Harrison
Sam Shepard
Simon Cowell
Sylvester Stallone
Natalie Morales
Program:
function: Find
inputs: Natalie Morales
function: FilterDate
dependencies: 0
inputs: date of birth
1985-02-15
=
function: Relate
dependencies: 1
inputs: different from
backward
function: FilterConcept
dependencies: 2
inputs: human
function: FindAll
function: FilterNum
dependencies: 4
inputs: number of children
15
!=
function: FilterConcept
dependencies: 5
inputs: human
function: And
dependencies: 3
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <different_from> ?e_1 . ?e_1 <pred:name> "Natalie Morales" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1985-02-15"^^xsd:date .  ?e <number_of_children> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v . FILTER ( ?v != "15"^^xsd:double ) .  }
Answer: Natalie Morales