Question: How many crimes whose IPTC Newscode is mediatopic/20000103 or whose Wikitribune category is espionage?
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> "crime" .  { ?e <IPTC_Newscode> ?pv . ?pv <pred:value> "mediatopic/20000103" .  } UNION { ?e <Wikitribune_category> ?pv . ?pv <pred:value> "espionage" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: IPTC Newscode
mediatopic/20000103
function: FilterConcept
dependencies: 1
inputs: crime
function: FindAll
function: FilterStr
dependencies: 3
inputs: Wikitribune category
espionage
function: FilterConcept
dependencies: 4
inputs: crime
function: Or
dependencies: 2
5
function: Count
dependencies: 6