Question: How many miniseries are in the drama film genre or have a duration less than 5.9 months?
Choices: 6
7
8
9
10
11
12
13
14
15
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "miniseries" .  { ?e <genre> ?e_1 . ?e_1 <pred:name> "drama film" .  } UNION { ?e <duration> ?pv . ?pv <pred:unit> "month" . ?pv <pred:value> ?v . FILTER ( ?v < "5.9"^^xsd:double ) .  } }
Program:
function: Find
inputs: drama film
function: Relate
dependencies: 0
inputs: genre
backward
function: FilterConcept
dependencies: 1
inputs: miniseries
function: FindAll
function: FilterNum
dependencies: 3
inputs: duration
5.9 month
<
function: FilterConcept
dependencies: 4
inputs: miniseries
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 6