Question: How many Academy Awards were nominated to It;s a Wonderful Life, with Lionel Barrymore as a cast member, or with the official website https://www.oscars.org/ ?
Choices:
3
4
5
6
7
8
9
10
11
12
Program:
function: Find
inputs: Lionel Barrymore
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: It's a Wonderful Life
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: nominated for
forward
function: FilterConcept
dependencies: 4
inputs: Academy Awards
function: FindAll
function: FilterStr
dependencies: 6
inputs: official website
https://www.oscars.org/
function: FilterConcept
dependencies: 7
inputs: Academy Awards
function: Or
dependencies: 5
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Academy Awards" .  { ?e_1 <nominated_for> ?e . ?e_1 <pred:name> "It's a Wonderful Life" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Lionel Barrymore" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "https://www.oscars.org/" .  } }
Answer: 7