|
What I would like to be able to say is:
Of course I could just invent my own namespace, but I'd rather find the "right" one. If there is no right one, there should be. |
|
Hi, for mime types, check out http://mediatypes.appspot.com/. Of course even that is not as "official" as it could be. IANA hasn't (AFAIK) yet set anything up for providing URI:s and RDF for their registries, which I think they should. In order for that to happen, we as a community have to build a public demand, and/or advocate to them diligently [*]. Otherwise, it's quite common to give the media type as a literal or a bnode using DC. Something like (a bnode version):
([*] See e.g. the discussion at http://lists.w3.org/Archives/Public/public-lod/2010Apr/0056.html for a related topic concerning IANA link relations.) |
|
The NEPOMUK Information Element Ontology has a :mimeType predicate. Is has a xsd:string as range; the domain might be a problem, as it is defined as a :InformatationElement which may not be compatible with your application. 1
Thanks. I'm utterly surprised that there isn't a URI scheme for it... Except that you probably can't use "/" in an N3 or XML element, which leaves me with the option of changing "/" to "_" or using full URIs (so good to keep it a short namespace.) Perhaps http://ns.eprints.org/mime/text/plain and http://ns.eprints.org/enc/utf-8 It seems obvious to me that these things require URIs not strings as them being equal means they are the same concept, not true of strings. |
|
Hi, I don't know about the encoding but for the file format and the mime type, you can look here: http://p2-registry.ecs.soton.ac.uk/ there might be something interesting. The scheme does something like http://p2-registry.ecs.soton.ac.uk/pronom/Identifier/text/html |
|
You shouldn't feel intimidated to create your own predicates in case you find that other people's predicates aren't perfect for your application. You can always use some kind of inferencing (such as rdf:subPropertyOf) to map your crisp private predicate to 'vernacular' predicates that other people use. The big picture is that "anyone can say anything about any subject", and you shouldn't let a lack of the right predicate slow you down.
link
This answer is marked "community wiki".
|
|
My approach would be a hybrid of the dct:IMT approach and the http://purl.org/NET/mediatypes/ namespace:
The reason is that the http://purl.org/NET/mediatypes/* sadly does not redirect to an RDF representation, and also the RDF at dump.rdf is very sparse. With my suggestion here you provide as much as you know about the format directly, but by using the PURLs you avoid all those bnodes and can do some simpler SPARQLs. |


The rdf:type of the items in question are sioc:Post and sioc:Item, specifically an email and the parts inside it (attachments etc.)
By other case I need this for is to describe documents in a repository.