Question: How many news programs either received a 60th Primetime Emmy Award or have a duration longer than 3.9 years?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "news" .  { ?e <award_received> ?e_1 . ?e_1 <pred:name> "60th Primetime Emmy Awards" .  } UNION { ?e <duration> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> ?v . FILTER ( ?v > "3.9"^^xsd:double ) .  } }
Program:
function: Find
inputs: 60th Primetime Emmy Awards
function: Relate
dependencies: 0
inputs: award received
backward
function: FilterConcept
dependencies: 1
inputs: news
function: FindAll
function: FilterNum
dependencies: 3
inputs: duration
3.9 year
>
function: FilterConcept
dependencies: 4
inputs: news
function: Or
dependencies: 2
5
function: Count
dependencies: 6