Skip to content

ROGER creates a @type triple for references to named resources

An example:

{
  "@id":"http://textgridrep.de/textgrid:3r684",
  "owl:sameAs":{
    "@id":"https://d-nb.info/gnd/119177323"
  }
}

results in

{
  "@id":"http://textgridrep.de/textgrid:3r684",
  "http://www.w3.org/2002/07/owl#sameAs":{
    "@id":"https://d-nb.info/gnd/119177323",
    "@type":"./"
  }
}

in the context of the resource, ./ resolves to http://textgridrep.de/ resulting in the triple

<https://d-nb.info/gnd/119177323> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://textgridrep.de/> .

which states the the resource at 'https://d-nb.info/gnd/119177323' is of type http://textgridrep.de/, which is obviously not the case.

solution: "@type" MUST be removed.

occured in "@fe/roger-core": "0.1.0-66"

Edited by Stefan Hynek