Question: How many news have a duration greater than 0.9 of an academic term and have the character Stephen Colbert (the one that presents in work The Daily Show)?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "news" . ?e <duration> ?pv . ?pv <pred:unit> "academic term" . ?pv <pred:value> ?v . FILTER ( ?v > "0.9"^^xsd:double ) . ?e <characters> ?e_1 . ?e_1 <pred:name> "Stephen Colbert" . ?e_1 <present_in_work> ?e_2 . ?e_2 <pred:name> "The Daily Show" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: duration
0.9 academic term
>
function: FilterConcept
dependencies: 1
inputs: news
function: Find
inputs: The Daily Show
function: Relate
dependencies: 3
inputs: present in work
backward
function: Find
inputs: Stephen Colbert
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: characters
backward
function: FilterConcept
dependencies: 7
inputs: news
function: And
dependencies: 2
8
function: Count
dependencies: 9
Answer: 0