Question: What number of movies are derived from The Flintstones (the one that is created by William Hanna)?
Choices:
1
2
3
4
5
6
7
8
9
10
Program:
function: Find
inputs: William Hanna
function: Relate
dependencies: 0
inputs: creator
backward
function: Find
inputs: The Flintstones
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: derivative work
forward
function: FilterConcept
dependencies: 4
inputs: feature film
function: Count
dependencies: 5
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> "The Flintstones" . ?e_1 <creator> ?e_2 . ?e_2 <pred:name> "William Hanna" .   }
Answer: 2