Question: How many Primetime Emmy Awards were won by Mad Men or established post-1954?
Choices:
7
8
9
10
11
12
13
14
15
16
Answer: 15
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Primetime Emmy Award" .  { ?e_1 <award_received> ?e . ?e_1 <pred:name> "Mad Men" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1954 ) .  } }
Program:
function: Find
inputs: Mad Men
function: Relate
dependencies: 0
inputs: award received
forward
function: FilterConcept
dependencies: 1
inputs: Primetime Emmy Award
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1954
>
function: FilterConcept
dependencies: 4
inputs: Primetime Emmy Award
function: Or
dependencies: 2
5
function: Count
dependencies: 6