Is there a pre-existing ontology that can be used to express a mapping from a File Extension to a MIME Type (and vice versa)?

I found nie:InformationElement from the Nepomuk project which has a nie:mimeType property which addresses part of my requirements but doesn't seem to have anything related to file extensions. Even in their File Ontology there isn't anything to express file extension.

Would you recommend use of the Nepomuk ontologies for the MIME Type bit and then just minting my own properties for the other bits I need or would you recommend writing a small vocabulary myself entirely in my own namespace for expressing this?

asked 25 May '11, 06:34

Rob%20Vesse's gravatar image

Rob Vesse ♦
13.9k1715
accept rate: 29%


Ivan Herman's formats: namespace at w3.org has what you want: formats:media_type and formats:preferred_suffix.

Here's an example of formats: in action: Description of the N-Triples format.

permanent link

answered 25 May '11, 07:59

cygri's gravatar image

cygri ♦
9.0k412
accept rate: 34%

1

Interesting, I already use the Format URIs for some things but never noticed that it has an RDF vocabulary associated with it. Perhaps I should ping Ivan and ask him to make that clearer

(26 May '11, 05:56) Rob Vesse ♦ Rob%20Vesse's gravatar image

"...but never noticed that it has an RDF vocabulary associated with it" - me neither, so +1 for making the term definitions of this vocabulary more explicit.

(26 May '11, 12:17) zazi zazi's gravatar image

Furthermore, for MIME type URIs I would recommend to make use of this IANA compatible MIME type set. Btw, for addressing MIME types there is dcterms:format as well.

permanent link

answered 25 May '11, 15:12

zazi's gravatar image

zazi
3.4k1213
accept rate: 13%

That site made my eyes hurt! ;-)

(25 May '11, 17:20) cygri ♦ cygri's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×667
×101
×4
×2

question asked: 25 May '11, 06:34

question was seen: 1,673 times

last updated: 26 May '11, 12:17