Question: How many news whose official website is http://thedailyshow.com or that received a Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program?
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> "news" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://thedailyshow.com" .  } UNION { ?e <award_received> ?e_1 . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://thedailyshow.com
function: FilterConcept
dependencies: 1
inputs: news
function: Find
inputs: Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program
function: Relate
dependencies: 3
inputs: award received
backward
function: FilterConcept
dependencies: 4
inputs: news
function: Or
dependencies: 2
5
function: Count
dependencies: 6