Question: How many media franchises composed by John Williams who composed Family Plot are titled Mighty Morphin Power Rangers?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "media franchise" . ?e <composer> ?e_1 . ?e_1 <pred:name> "John Williams" . ?e_2 <composer> ?e_1 . ?e_2 <pred:name> "Family Plot" .  ?e <title> ?pv . ?pv <pred:value> "Mighty Morphin Power Rangers" .  }
Program:
function: Find
inputs: Family Plot
function: Relate
dependencies: 0
inputs: composer
forward
function: Find
inputs: John Williams
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: composer
backward
function: FilterConcept
dependencies: 4
inputs: media franchise
function: FindAll
function: FilterStr
dependencies: 6
inputs: title
Mighty Morphin Power Rangers
function: FilterConcept
dependencies: 7
inputs: media franchise
function: And
dependencies: 5
8
function: Count
dependencies: 9