Question: What is the catalog code for Into the Wild (whose record label is Sony BMG Music Entertainment) that has the record label called J Records?
Choices: 122
149
731
88697159442
111
Bruce_Banner_(Earth-616)
88697-18240-2
806.4616.0110
David_Banner_(Earth-400083)
166
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Into the Wild" . ?e_1 <record_label> ?e_3 . ?e_3 <pred:name> "Sony BMG Music Entertainment" . ?e_2 <pred:name> "J Records" . ?e_1 <record_label> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <record_label> ; <pred:fact_t> ?e_2 ] <catalog_code> ?qpv .  }
Program:
function: Find
inputs: Sony BMG Music Entertainment
function: Relate
dependencies: 0
inputs: record label
backward
function: Find
inputs: Into the Wild
function: And
dependencies: 1
2
function: Find
inputs: J Records
function: QueryRelationQualifier
dependencies: 3
4
inputs: record label
catalog code
Answer: 88697-18240-2