prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
prefix dcterms: <http://purl.org/dc/terms/>
prefix sio: <http://semanticscience.org/resource/>
prefix inchi: <http://glyconavi.org/inchi/>

SELECT DISTINCT ?id ?Skeleton ?nikkaji_id ?nikkaji_inchikey ?inchikey AS ?knapsackinchikey

WHERE {

GRAPH <http://nikkaji.biosciencedbc.jp/iupac-inchi/KNApSAcK> {
  ?s dcterms:identifier ?id .
  ?s sio:CHEMINF_000200 / sio:SIO_000028 [ rdf:type inchi:Skeleton ;
sio:SIO_000300 ?Skeleton  ] .
  ?Skeleton bif:contains "NEMWYOKGHGSVSC".
  ?s sio:CHEMINF_000200 [ sio:SIO_000300 ?inchikey ; rdf:type
sio:CHEMINF_000399 ] .
}

GRAPH <http://nikkaji.biosciencedbc.jp/InChI> {
 ?nikkaji_s <http://vocab.jst.go.jp/terms/sti#InChIKey> ?nikkaji_inchikey .
 ?nikkaji_inchikey bif:contains "NEMWYOKGHGSVSC".
 ?nikkaji_s <http://purl.org/dc/terms/identifier> ?nikkaji_id .
}

FILTER ( ?inchikey != ?nikkaji_inchikey )
}
OFFSET 0
LIMIT 100
id Skeleton nikkaji_id nikkaji_inchikey knapsackinchikey
"C00028152"
"NEMWYOKGHGSVSC"
"J19.832C"
"NEMWYOKGHGSVSC-XVTULVEUSA-N"
"NEMWYOKGHGSVSC-MSSYMPDSSA-N"
"C00028152"
"NEMWYOKGHGSVSC"
"J504.722F"
"NEMWYOKGHGSVSC-MPVLOGSHSA-N"
"NEMWYOKGHGSVSC-MSSYMPDSSA-N"
"C00028152"
"NEMWYOKGHGSVSC"
"J505.993C"
"NEMWYOKGHGSVSC-UVTWZSGOSA-N"
"NEMWYOKGHGSVSC-MSSYMPDSSA-N"
"C00028152"
"NEMWYOKGHGSVSC"
"J505.995J"
"NEMWYOKGHGSVSC-YMQQRAHFSA-N"
"NEMWYOKGHGSVSC-MSSYMPDSSA-N"
"C00028152"
"NEMWYOKGHGSVSC"
"J1.757.317I"
"NEMWYOKGHGSVSC-MEJCXAHJSA-N"
"NEMWYOKGHGSVSC-MSSYMPDSSA-N"
"C00028152"
"NEMWYOKGHGSVSC"
"J1.757.319E"
"NEMWYOKGHGSVSC-XQMXTPFTSA-N"
"NEMWYOKGHGSVSC-MSSYMPDSSA-N"
"C00028152"
"NEMWYOKGHGSVSC"
"J2.350.417K"
"NEMWYOKGHGSVSC-HUWNABEFSA-N"
"NEMWYOKGHGSVSC-MSSYMPDSSA-N"
"C00028228"
"NEMWYOKGHGSVSC"
"J19.832C"
"NEMWYOKGHGSVSC-XVTULVEUSA-N"
"NEMWYOKGHGSVSC-DZYYLIMLSA-N"
"C00028228"
"NEMWYOKGHGSVSC"
"J504.722F"
"NEMWYOKGHGSVSC-MPVLOGSHSA-N"
"NEMWYOKGHGSVSC-DZYYLIMLSA-N"
"C00028228"
"NEMWYOKGHGSVSC"
"J505.993C"
"NEMWYOKGHGSVSC-UVTWZSGOSA-N"
"NEMWYOKGHGSVSC-DZYYLIMLSA-N"
"C00028228"
"NEMWYOKGHGSVSC"
"J505.995J"
"NEMWYOKGHGSVSC-YMQQRAHFSA-N"
"NEMWYOKGHGSVSC-DZYYLIMLSA-N"
"C00028228"
"NEMWYOKGHGSVSC"
"J1.757.317I"
"NEMWYOKGHGSVSC-MEJCXAHJSA-N"
"NEMWYOKGHGSVSC-DZYYLIMLSA-N"
"C00028228"
"NEMWYOKGHGSVSC"
"J1.757.319E"
"NEMWYOKGHGSVSC-XQMXTPFTSA-N"
"NEMWYOKGHGSVSC-DZYYLIMLSA-N"
"C00028228"
"NEMWYOKGHGSVSC"
"J2.350.417K"
"NEMWYOKGHGSVSC-HUWNABEFSA-N"
"NEMWYOKGHGSVSC-DZYYLIMLSA-N"
"C00028232"
"NEMWYOKGHGSVSC"
"J19.832C"
"NEMWYOKGHGSVSC-XVTULVEUSA-N"
"NEMWYOKGHGSVSC-DZYYLIMLSA-N"
"C00028232"
"NEMWYOKGHGSVSC"
"J504.722F"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SVSC-UVTWZSGOSA-N"
"NEMWYOKGHGSVSC-MEJCXAHJSA-N"
"C00028278"
"NEMWYOKGHGSVSC"
"J505.995J"
"NEMWYOKGHGSVSC-YMQQRAHFSA-N"
"NEMWYOKGHGSVSC-MEJCXAHJSA-N"
"C00028278"
"NEMWYOKGHGSVSC"
"J1.757.319E"
"NEMWYOKGHGSVSC-XQMXTPFTSA-N"
"NEMWYOKGHGSVSC-MEJCXAHJSA-N"
"C00028278"
"NEMWYOKGHGSVSC"
"J2.350.417K"
"NEMWYOKGHGSVSC-HUWNABEFSA-N"
"NEMWYOKGHGSVSC-MEJCXAHJSA-N"
"C00028335"
"NEMWYOKGHGSVSC"
"J19.832C"
"NEMWYOKGHGSVSC-XVTULVEUSA-N"
"NEMWYOKGHGSVSC-XQEUWCJISA-N"
"C00028335"
"NEMWYOKGHGSVSC"
"J504.722F"
"NEMWYOKGHGSVSC-MPVLOGSHSA-N"
"NEMWYOKGHGSVSC-XQEUWCJISA-N"
"C00028335"
"NEMWYOKGHGSVSC"
"J505.993C"
"NEMWYOKGHGSVSC-UVTWZSGOSA-N"
"NEMWYOKGHGSVSC-XQEUWCJISA-N"
"C00028335"
"NEMWYOKGHGSVSC"
"J505.995J"
"NEMWYOKGHGSVSC-YMQQRAHFSA-N"
"NEMWYOKGHGSVSC-XQEUWCJISA-N"
"C00028335"
"NEMWYOKGHGSVSC"
"J1.757.317I"
"NEMWYOKGHGSVSC-MEJCXAHJSA-N"
"NEMWYOKGHGSVSC-XQEUWCJISA-N"
"C00028335"
"NEMWYOKGHGSVSC"
"J1.757.319E"
"NEMWYOKGHGSVSC-XQMXTPFTSA-N"
"NEMWYOKGHGSVSC-XQEUWCJISA-N"
"C00028335"
"NEMWYOKGHGSVSC"
"J2.350.417K"
"NEMWYOKGHGSVSC-HUWNABEFSA-N"
"NEMWYOKGHGSVSC-XQEUWCJISA-N"
"C00028355"
"NEMWYOKGHGSVSC"
"J19.832C"
"NEMWYOKGHGSVSC-XVTULVEU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KGHGSVSC-INZDFQLNSA-N"
"C00028818"
"NEMWYOKGHGSVSC"
"J505.993C"
"NEMWYOKGHGSVSC-UVTWZSGOSA-N"
"NEMWYOKGHGSVSC-INZDFQLNSA-N"
"C00028818"
"NEMWYOKGHGSVSC"
"J505.995J"
"NEMWYOKGHGSVSC-YMQQRAHFSA-N"
"NEMWYOKGHGSVSC-INZDFQLNSA-N"
"C00028818"
"NEMWYOKGHGSVSC"
"J1.757.317I"
"NEMWYOKGHGSVSC-MEJCXAHJSA-N"
"NEMWYOKGHGSVSC-INZDFQLNSA-N"
"C00028818"
"NEMWYOKGHGSVSC"
"J1.757.319E"
"NEMWYOKGHGSVSC-XQMXTPFTSA-N"
"NEMWYOKGHGSVSC-INZDFQLNSA-N"
"C00028818"
"NEMWYOKGHGSVSC"
"J2.350.417K"
"NEMWYOKGHGSVSC-HUWNABEFSA-N"
"NEMWYOKGHGSVSC-INZDFQLNSA-N"
"C00029033"
"NEMWYOKGHGSVSC"
"J19.832C"
"NEMWYOKGHGSVSC-XVTULVEUSA-N"
"NEMWYOKGHGSVSC-SECATLSXSA-N"
"C00029033"
"NEMWYOKGHGSVSC"
"J504.722F"
"NEMWYOKGHGSVSC-MPVLOGSHSA-N"
"NEMWYOKGHGSVSC-SECATLSXSA-N"
"C00029033"
"NEMWYOKGHGSVSC"
"J505.993C"
"NEMWYOKGHGSVSC-UVTWZSGOSA-N"
"NEMWYOKGHGSVSC-SECATLSXSA-N"
"C00029033"
"NEMWYOKGHGSVSC"
"J505.995J"
"NEMWYOKGHGSVSC-YMQQRAHFSA-N"
"NEMWYOKGHGSVSC-SECATLSXSA-N"
"C00029033"
"NEMWYOKGHGSVSC"
"J1.757.317I"
"NEMWYOKGHGSVSC-MEJCXAHJSA-N"
"NEMWYOKGHGSVSC-SECATLSXSA-N"
"C00029033"
"NEMWYOKGHGSVSC"
"J1.757.319E"
"NEMWYOKGHGSVSC-XQMXTPFTSA-N"
"NEMWYOKGHGSVSC-SECATLSXSA-N"
"C00029033"
"NEMWYOKGHGSVSC"
"J2.350.417K"
"NEMWYOKGHGSVSC-HUWNABEFSA-N"
"NEMWYOKGHGSVSC-SECATLSXSA-N"