Question: What is the IPTC Newscode of the state that is the main subject of The Ten Commandments whose official website is http://www.paramount.com/movies/ten-commandments?
Choices:
mediatopic/20001099
mediatopic/20001055
mediatopic/20000691
mediatopic/20000847
mediatopic/20000252
mediatopic/20000807
mediatopic/20000268
mediatopic/20000760
mediatopic/20001083
mediatopic/20000852
Answer: mediatopic/20000807
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> "The Ten Commandments" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.paramount.com/movies/ten-commandments" . ?e <IPTC_Newscode> ?pv .  }
Program:
function: Find
inputs: The Ten Commandments
function: FilterStr
dependencies: 0
inputs: official website
http://www.paramount.com/movies/ten-commandments
function: Relate
dependencies: 1
inputs: main subject
forward
function: FilterConcept
dependencies: 2
inputs: state
function: QueryAttr
dependencies: 3
inputs: IPTC Newscode