Question: How many activities were published later than 2005 or were 16th SAG Awards recipients?
Choices:
78
79
80
81
82
83
84
85
86
87
Answer: 79
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "activity" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2005 ) .  } UNION { ?e <award_received> ?e_1 . ?e_1 <pred:name> "16th Screen Actors Guild Awards" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2005
>
function: FilterConcept
dependencies: 1
inputs: activity
function: Find
inputs: 16th Screen Actors Guild Awards
function: Relate
dependencies: 3
inputs: award received
backward
function: FilterConcept
dependencies: 4
inputs: activity
function: Or
dependencies: 2
5
function: Count
dependencies: 6