Question: How many films are a derivative work of the group of fictional characters that originate X-Men (whose composer is Michael Kamen)?
Choices: 4
5
6
7
8
9
10
11
12
13
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e_1 <derivative_work> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "group of fictional characters" . ?e_3 <based_on> ?e_1 . ?e_3 <pred:name> "X-Men" . ?e_3 <composer> ?e_4 . ?e_4 <pred:name> "Michael Kamen" .   }
Program:
function: Find
inputs: Michael Kamen
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: X-Men
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: based on
forward
function: FilterConcept
dependencies: 4
inputs: group of fictional characters
function: Relate
dependencies: 5
inputs: derivative work
forward
function: FilterConcept
dependencies: 6
inputs: film
function: Count
dependencies: 7
Answer: 4