Question: How many plays were either published before 1991 or founded after 1950?
Choices:
5
6
7
8
9
10
11
12
13
14
Answer: 13
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "play" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1991 ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1590 ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1991
<
function: FilterConcept
dependencies: 1
inputs: play
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1590
>
function: FilterConcept
dependencies: 4
inputs: play
function: Or
dependencies: 2
5
function: Count
dependencies: 6