gruninger / Common-Logic

Documents for the developments of ISO 24707 Editiion 2 (Common Logic)
8 stars 3 forks source link

Specify media types for the different CL dialects #38

Open clange opened 11 years ago

clange commented 11 years ago

CL ontologies will be published increasingly on the Web. When publishing stuff on the Web, particularly when publishing ontologies in a linked data compliant way, it is good practice that the web server indicates, in the HTTP header, a media type for anything it makes available for download. (I can provide further reasons for this if desired.)

CL doesn't specify media types for its dialects so far.

For comparison, consider, e.g., OWL, e.g. http://www.w3.org/TR/owl2-xml-serialization/#Appendix:_Internet_Media_Type.2C_File_Extension.2C_and_Macintosh_File_Type

The different serializations of OWL have the following media types:

I suggest we come up with something like

greenTara commented 11 years ago

What is the procedure for registering media types?

PS. Do you consider this a bug or enhancement?

clange commented 11 years ago

First of all, I'd call this an enhancement, as it would add something that hasn't been there before. OTOH, if bugs get higher priority, we could call it a bug, as a standardized data format should really have a media type defined.

Here is how to register one:

In a nutshell I think it works as follows (I haven't read these RFCs in full detail yet):

greenTara commented 11 years ago

I have started to fill out the form at https://github.com/gruninger/Common-Logic/wiki/Media-Types

greenTara commented 11 years ago

For security considerations, so far I have the following:

  1. spoofing of IRIs used to import other texts
  2. use of untrusted texts in applications that have effects, such as decision support or logic programming
  3. because CL is incomplete, the use of theorem provers on CL texts has the potential to consume large amounts of memory and processing resources, and to generate non-terminating processes.