Question: How many feature films are derivated from The Flintstones (the one distributed by Screen Gems) and whose release date was not in 1949?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
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 <distributor> ?e_2 . ?e_2 <pred:name> "Screen Gems" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1949 ) .  }
Program:
function: Find
inputs: Screen Gems
function: Relate
dependencies: 0
inputs: distributor
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: FindAll
function: FilterYear
dependencies: 6
inputs: publication date
1949
!=
function: FilterConcept
dependencies: 7
inputs: feature film
function: And
dependencies: 5
8
function: Count
dependencies: 9