Question: How many news do not have a start time in 1996 or have a duration less than 2700 seconds?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "news" .  { ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1996 ) .  } UNION { ?e <duration> ?pv . ?pv <pred:unit> "second" . ?pv <pred:value> ?v . FILTER ( ?v < "2700"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: start time
1996
!=
function: FilterConcept
dependencies: 1
inputs: news
function: FindAll
function: FilterNum
dependencies: 3
inputs: duration
2700 second
<
function: FilterConcept
dependencies: 4
inputs: news
function: Or
dependencies: 2
5
function: Count
dependencies: 6