Question: How many Screen Actors Guild Awards have the official website of https://www.sagawards.org or were nominated to Peter Berg (the one that has the occupation of television producer)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
https://www.sagawards.org
function: FilterConcept
dependencies: 1
inputs: Screen Actors Guild Award
function: Find
inputs: television producer
function: Relate
dependencies: 3
inputs: occupation
backward
function: Find
inputs: Peter Berg
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: nominated for
forward
function: FilterConcept
dependencies: 7
inputs: Screen Actors Guild Award
function: Or
dependencies: 2
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Screen Actors Guild Award" .  { ?e <official_website> ?pv . ?pv <pred:value> "https://www.sagawards.org" .  } UNION { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "Peter Berg" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "television producer" .  } }
Answer: 2