Question: What person has a number of children that is not 20 and was born in Raleigh?
Choices:
Elizabeth Banks
Cheech Marin
Evan Rachel Wood
Sylvester Stallone
Liev Schreiber
William Henry Harrison
Sally Field
Max Fleischer
Dana Carvey
Don Knotts
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of children
20
!=
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Raleigh
function: Relate
dependencies: 3
inputs: place of birth
backward
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <number_of_children> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "20"^^xsd:double ) . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Raleigh" .  }
Answer: Evan Rachel Wood