Question: How many animated movies titled The Three Musketeers are derived from the Tarzan originating in Germany?
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 film" . ?e <title> ?pv . ?pv <pred:value> "The Three Musketeers" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> "Tarzan" . ?e_1 <country_of_origin> ?e_2 . ?e_2 <pred:name> "Germany" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
The Three Musketeers
function: FilterConcept
dependencies: 1
inputs: animated film
function: Find
inputs: Germany
function: Relate
dependencies: 3
inputs: country of origin
backward
function: Find
inputs: Tarzan
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: derivative work
forward
function: FilterConcept
dependencies: 7
inputs: animated film
function: And
dependencies: 2
8
function: Count
dependencies: 9
Answer: 0