Question: How many Academy Awards have official website https://www.oscars.org/ or were nominated to My Fair Lady?
Choices:
5
6
7
8
9
10
11
12
13
14
Answer: 10
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_1 <nominated_for> ?e . ?e_1 <pred:name> "My Fair Lady" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
https://www.oscars.org/
function: FilterConcept
dependencies: 1
inputs: Academy Awards
function: Find
inputs: My Fair Lady
function: Relate
dependencies: 3
inputs: nominated for
forward
function: FilterConcept
dependencies: 4
inputs: Academy Awards
function: Or
dependencies: 2
5
function: Count
dependencies: 6