Question: How many industries were established before 1993 or whose IPTC Newscode is mediatopic/20000320?
Choices:
5
6
7
8
9
10
11
12
13
14
Answer: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "industry" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1993 ) .  } UNION { ?e <IPTC_Newscode> ?pv . ?pv <pred:value> "mediatopic/20000320" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1993
<
function: FilterConcept
dependencies: 1
inputs: industry
function: FindAll
function: FilterStr
dependencies: 3
inputs: IPTC Newscode
mediatopic/20000320
function: FilterConcept
dependencies: 4
inputs: industry
function: Or
dependencies: 2
5
function: Count
dependencies: 6