Question: Which OCLC control number refers to the written work that inspired Diamonds Are Forever, released on 1971-01-01?
Choices:
55053886
304833
438407140
171466
221513427
124028290
52990309
179316451
164597340
12326992
Answer: 438407140
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e_1 <based_on> ?e . ?e_1 <pred:name> "Diamonds Are Forever" . ?e_1 <publication_date> ?pv_1 . ?pv_1 <pred:date> "1971-01-01"^^xsd:date . ?e <OCLC_control_number> ?pv .  }
Program:
function: Find
inputs: Diamonds Are Forever
function: FilterDate
dependencies: 0
inputs: publication date
1971-01-01
=
function: Relate
dependencies: 1
inputs: based on
forward
function: FilterConcept
dependencies: 2
inputs: written work
function: QueryAttr
dependencies: 3
inputs: OCLC control number