Question: How many animated character were born not in 1838 and formed the basis for Revolutionary Road ?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated character" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1838 ) . ?e <derivative_work> ?e_1 . ?e_1 <pred:name> "Revolutionary Road" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: date of birth
1838
!=
function: FilterConcept
dependencies: 1
inputs: animated character
function: Find
inputs: Revolutionary Road
function: Relate
dependencies: 3
inputs: derivative work
backward
function: FilterConcept
dependencies: 4
inputs: animated character
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 0