Question: How many theatre awards are affiliated with the website www.tonyawards.com/en_US/index.html or were earned by Mandy Patinkin?
Choices:
16
17
18
19
20
21
22
23
24
25
Answer: 17
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "theatre award" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://www.tonyawards.com/en_US/index.html" .  } UNION { ?e <winner> ?e_1 . ?e_1 <pred:name> "Mandy Patinkin" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.tonyawards.com/en_US/index.html
function: FilterConcept
dependencies: 1
inputs: theatre award
function: Find
inputs: Mandy Patinkin
function: Relate
dependencies: 3
inputs: winner
backward
function: FilterConcept
dependencies: 4
inputs: theatre award
function: Or
dependencies: 2
5
function: Count
dependencies: 6