Question: How many economic branches whose International Standard Industrial Classification code Rev.4 is 491 or whose IPTC Newscode is mediatopic/20000279?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "economic branch" .  { ?e <International_Standard_Industrial_Classification_code_Rev.4> ?pv . ?pv <pred:value> "491" .  } UNION { ?e <IPTC_Newscode> ?pv . ?pv <pred:value> "mediatopic/20000279" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: International Standard Industrial Classification code Rev.4
491
function: FilterConcept
dependencies: 1
inputs: economic branch
function: FindAll
function: FilterStr
dependencies: 3
inputs: IPTC Newscode
mediatopic/20000279
function: FilterConcept
dependencies: 4
inputs: economic branch
function: Or
dependencies: 2
5
function: Count
dependencies: 6