ffdev-info / wikidp-issues

An issues repository for resolving issues in Wikidata around the records relating to Digital Preservation
GNU General Public License v3.0
1 stars 0 forks source link

Q475488 format identification pattern is trying to express a container signature but doesn't have the strucutre #1

Open ross-spencer opened 4 years ago

ross-spencer commented 4 years ago

Description of problem

The format identification pattern for EPUB attempts to describe a container signature, but Wikidata doesn't have the structures in place to be able to express that. The signature described by Kessler consists of a ZIP + a MIMEType that needs to exist in a specific file within the zip.

{
      "format" : {
        "type" : "uri",
        "value" : "http://www.wikidata.org/entity/Q475488"
      },
      "formatLabel" : {
        "xml:lang" : "en",
        "type" : "literal",
        "value" : "EPUB"
      },
      "puid" : {
        "type" : "literal",
        "value" : "fmt/483"
      },
      "extension" : {
        "type" : "literal",
        "value" : "epub"
      },
      "mimetype" : {
        "type" : "literal",
        "value" : "application/epub+zip"
      },
      "ldd" : {
        "type" : "literal",
        "value" : "fdd000310"
      },
      "sig" : {
        "type" : "literal",
        "value" : "mimetypeapplication/epub+zip"
      },
      "referenceLabel" : {
        "xml:lang" : "en",
        "type" : "literal",
        "value" : "Gary Kessler's File Signature Table"
      },
      "date" : {
        "datatype" : "http://www.w3.org/2001/XMLSchema#dateTime",
        "type" : "literal",
        "value" : "2017-08-08T00:00:00Z"
      },
      "encodingLabel" : {
        "xml:lang" : "en",
        "type" : "literal",
        "value" : "hexadecimal"
      },
      "offset" : {
        "datatype" : "http://www.w3.org/2001/XMLSchema#decimal",
        "type" : "literal",
        "value" : "0"
      }
}

This seems to be backed up in the Kessler registry as well:

image

Permalink

https://www.wikidata.org/w/index.php?title=Q475488&oldid=1207677582

emulatingkat commented 3 years ago

There is a discussion of this issue here: https://www.wikidata.org/wiki/Talk:Q475488. Please feel welcome to join in the discussion.