Question: How many belief systems have the IPTC Newscode mediatopic/20000658 or the political ideology of Hamas?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "belief system" .  { ?e <IPTC_Newscode> ?pv . ?pv <pred:value> "mediatopic/20000658" .  } UNION { ?e_1 <political_ideology> ?e . ?e_1 <pred:name> "Hamas" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: IPTC Newscode
mediatopic/20000658
function: FilterConcept
dependencies: 1
inputs: belief system
function: Find
inputs: Hamas
function: Relate
dependencies: 3
inputs: political ideology
forward
function: FilterConcept
dependencies: 4
inputs: belief system
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2