Question: How many shorts movies do we know with the running time of 6 months or that form a basis for Frankenweenie (produced by DreamWorks) ?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: duration
6 month
!=
function: FilterConcept
dependencies: 1
inputs: short film
function: Find
inputs: DreamWorks
function: Relate
dependencies: 3
inputs: production company
backward
function: Find
inputs: Frankenweenie
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: based on
forward
function: FilterConcept
dependencies: 7
inputs: short film
function: Or
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "short film" .  { ?e <duration> ?pv . ?pv <pred:unit> "month" . ?pv <pred:value> ?v . FILTER ( ?v != "6"^^xsd:double ) .  } UNION { ?e_1 <based_on> ?e . ?e_1 <pred:name> "Frankenweenie" . ?e_1 <production_company> ?e_2 . ?e_2 <pred:name> "DreamWorks" .  } }
Answer: 1