Question: How many types of sport whose IPTC Newscode is mediatopic/20001035 or that are related to swimming?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: IPTC Newscode
mediatopic/20001035
function: FilterConcept
dependencies: 1
inputs: type of sport
function: Find
inputs: swimming
function: Relate
dependencies: 3
inputs: sport
backward
function: FilterConcept
dependencies: 4
inputs: type of sport
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "type of sport" .  { ?e <IPTC_Newscode> ?pv . ?pv <pred:value> "mediatopic/20001035" .  } UNION { ?e <sport> ?e_1 . ?e_1 <pred:name> "swimming" .  } }
Answer: 4