Question: What number of animated shows last for a period of time other than 5.9 months or have Stephen Moyer in the voice cast?
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> "animated series" .  { ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Stephen Moyer" .  } UNION { ?e <duration> ?pv . ?pv <pred:unit> "month" . ?pv <pred:value> ?v . FILTER ( ?v != "5.9"^^xsd:double ) .  } }
Program:
function: Find
inputs: Stephen Moyer
function: Relate
dependencies: 0
inputs: voice actor
backward
function: FilterConcept
dependencies: 1
inputs: animated series
function: FindAll
function: FilterNum
dependencies: 3
inputs: duration
5.9 month
!=
function: FilterConcept
dependencies: 4
inputs: animated series
function: Or
dependencies: 2
5
function: Count
dependencies: 6