Question: What is the IPTC Newscore for a type of sport that includes a sports team  The Man in the Iron Mask (the one that has Peter Sarsgaard as a cast member)?
Choices:
mediatopic/20000684
mediatopic/20000133
mediatopic/20001175
mediatopic/20000801
mediatopic/20000032
mediatopic/20000929
mediatopic/20000706
mediatopic/20000036
mediatopic/20000745
mediatopic/20000007
Answer: mediatopic/20000929
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "type of sport" . ?e_1 <sport> ?e . ?e_1 <pred:name> "The Man in the Iron Mask" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Peter Sarsgaard" .  ?e <IPTC_Newscode> ?pv .  }
Program:
function: Find
inputs: Peter Sarsgaard
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Man in the Iron Mask
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: sport
forward
function: FilterConcept
dependencies: 4
inputs: type of sport
function: QueryAttr
dependencies: 5
inputs: IPTC Newscode