Question: How many miniseries are titled Emma or have been published after 1979?
Choices:
25
26
27
28
29
30
31
32
33
34
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Emma
function: FilterConcept
dependencies: 1
inputs: miniseries
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
1979
>
function: FilterConcept
dependencies: 4
inputs: miniseries
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "miniseries" .  { ?e <title> ?pv . ?pv <pred:value> "Emma" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1979 ) .  } }
Answer: 34