Question: What is the OCLC control number of the literary work that inspires Harry Potter and the Order of the Phoenix (the one whose original language is English)?
Choices:
55053886
23287312
84151489
233548220
318263948
191731783
434252597
249338870
1760010
645702842
Answer: 249338870
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary work" . ?e <derivative_work> ?e_1 . ?e_1 <pred:name> "Harry Potter and the Order of the Phoenix" . ?e_1 <original_language_of_film_or_TV_show> ?e_2 . ?e_2 <pred:name> "English" .  ?e <OCLC_control_number> ?pv .  }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: Harry Potter and the Order of the Phoenix
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: derivative work
backward
function: FilterConcept
dependencies: 4
inputs: literary work
function: QueryAttr
dependencies: 5
inputs: OCLC control number