Question: What is the OCLC control number of the written work that derives Catch-22 (the one whose distributor is Paramount Pictures)?
Choices:
221513427
246027696
52990309
226995723
26502801
433497856
26605019
645702842
179316451
220389620
Answer: 246027696
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e_1 <based_on> ?e . ?e_1 <pred:name> "Catch-22" . ?e_1 <distributor> ?e_2 . ?e_2 <pred:name> "Paramount Pictures" .  ?e <OCLC_control_number> ?pv .  }
Program:
function: Find
inputs: Paramount Pictures
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Catch-22
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: based on
forward
function: FilterConcept
dependencies: 4
inputs: written work
function: QueryAttr
dependencies: 5
inputs: OCLC control number