Question: How many MTV Movie Awards have been won by Sharon Stone or Woody Harrelson?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "MTV Movie Awards" .  { ?e <winner> ?e_1 . ?e_1 <pred:name> "Sharon Stone" .  } UNION { ?e <winner> ?e_1 . ?e_1 <pred:name> "Woody Harrelson" .  } }
Program:
function: Find
inputs: Sharon Stone
function: Relate
dependencies: 0
inputs: winner
backward
function: FilterConcept
dependencies: 1
inputs: MTV Movie Awards
function: Find
inputs: Woody Harrelson
function: Relate
dependencies: 3
inputs: winner
backward
function: FilterConcept
dependencies: 4
inputs: MTV Movie Awards
function: Or
dependencies: 2
5
function: Count
dependencies: 6