Question: What activity belongs to a sport whose IPTC Newscode is mediatopic/20000852 ?
Choices:
horse racing
archery
romantic fantasy
extreme sport
cross-country skiing
2008 Tour de France
Dark Horse Comics
sword and sorcery
shooting sport
mountaineering
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: IPTC Newscode
mediatopic/20000852
function: FilterConcept
dependencies: 1
inputs: type of sport
function: Relate
dependencies: 2
inputs: has part
forward
function: FilterConcept
dependencies: 3
inputs: activity
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "activity" . ?e_1 <has_part> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "type of sport" . ?e_1 <IPTC_Newscode> ?pv . ?pv <pred:value> "mediatopic/20000852" .   }
Answer: shooting sport