Question: How many singles were either published after 1979 or were longer than 10.3 hours?
Choices:
17
18
19
20
21
22
23
24
25
26
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1979
>
function: FilterConcept
dependencies: 1
inputs: single
function: FindAll
function: FilterNum
dependencies: 3
inputs: duration
10.3 hour
>
function: FilterConcept
dependencies: 4
inputs: single
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> "single" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1979 ) .  } UNION { ?e <duration> ?pv . ?pv <pred:unit> "hour" . ?pv <pred:value> ?v . FILTER ( ?v > "10.3"^^xsd:double ) .  } }
Answer: 23