Question: How many short films have Kevin Michael Richardson as a voice actor or have a runtime that is 5.9 months?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "short film" .  { ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Kevin Michael Richardson" .  } UNION { ?e <duration> ?pv . ?pv <pred:unit> "month" . ?pv <pred:value> "5.9"^^xsd:double .  } }
Program:
function: Find
inputs: Kevin Michael Richardson
function: Relate
dependencies: 0
inputs: voice actor
backward
function: FilterConcept
dependencies: 1
inputs: short film
function: FindAll
function: FilterNum
dependencies: 3
inputs: duration
5.9 month
=
function: FilterConcept
dependencies: 4
inputs: short film
function: Or
dependencies: 2
5
function: Count
dependencies: 6