Question: How many 3D films were not published in 2011 and whose genre is monster film?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "3D film" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2011 ) . ?e <genre> ?e_1 . ?e_1 <pred:name> "monster film" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2011
!=
function: FilterConcept
dependencies: 1
inputs: 3D film
function: Find
inputs: monster film
function: Relate
dependencies: 3
inputs: genre
backward
function: FilterConcept
dependencies: 4
inputs: 3D film
function: And
dependencies: 2
5
function: Count
dependencies: 6