Question: How many film genres have a duration equal to 1.1 academic terms or have as a composer John Powell (who is the composer of The Adventures of Pluto Nash)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: duration
1.1 academic term
=
function: FilterConcept
dependencies: 1
inputs: film genre
function: Find
inputs: The Adventures of Pluto Nash
function: Relate
dependencies: 3
inputs: composer
forward
function: Find
inputs: John Powell
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: composer
backward
function: FilterConcept
dependencies: 7
inputs: film genre
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> "film genre" .  { ?e <duration> ?pv . ?pv <pred:unit> "academic term" . ?pv <pred:value> "1.1"^^xsd:double .  } UNION { ?e <composer> ?e_1 . ?e_1 <pred:name> "John Powell" . ?e_2 <composer> ?e_1 . ?e_2 <pred:name> "The Adventures of Pluto Nash" .  } }
Answer: 1