Question: What is the number of Academy Awards having the official website https://www.oscars.org/ or the winner Gary Cooper (who is a cast member in The Pride of the Yankees)?
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> "Academy Awards" .  { ?e <official_website> ?pv . ?pv <pred:value> "https://www.oscars.org/" .  } UNION { ?e <winner> ?e_1 . ?e_1 <pred:name> "Gary Cooper" . ?e_2 <cast_member> ?e_1 . ?e_2 <pred:name> "The Pride of the Yankees" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
https://www.oscars.org/
function: FilterConcept
dependencies: 1
inputs: Academy Awards
function: Find
inputs: The Pride of the Yankees
function: Relate
dependencies: 3
inputs: cast member
forward
function: Find
inputs: Gary Cooper
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: winner
backward
function: FilterConcept
dependencies: 7
inputs: Academy Awards
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 3