Question: How many miniseries were produced by Steven Spielberg after 1996?
Choices:
15
16
17
18
19
20
21
22
23
24
Answer: 23
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "miniseries" .  { ?e <producer> ?e_1 . ?e_1 <pred:name> "Steven Spielberg" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1996 ) .  } }
Program:
function: Find
inputs: Steven Spielberg
function: Relate
dependencies: 0
inputs: producer
backward
function: FilterConcept
dependencies: 1
inputs: miniseries
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
1996
>
function: FilterConcept
dependencies: 4
inputs: miniseries
function: Or
dependencies: 2
5
function: Count
dependencies: 6