Antoine,
On 7 May 2010, at 19:03, Antoine Zimmermann wrote:
> A serialisation of a graph *is not* the graph.
That's correct, but has nothing to do with what I said.
I said that a serialisation of a graph makes an excellent
*representation* of the graph, in the WebArch/REST sense. I believe
this to be trivially true.
More to the point:
"An information resource is a resource whose essential characteristics
can be conveyed in a message."
What characteristic of an RDF graph is it that cannot be conveyed in a
message?
> For the sake of an example, let's stick to RDF only. Consider the
> following:
>
> I have an RDF graph G = "
http://ex.org/graph#" (it is a set of RDF
> triples)
> An RDF/XML document at
http://ex.org/graph.rdf serialises G.
> A Turtle document at
http://ex.org/graph.ttl serialises G.
> Another RDF/XML document at
http://ex.org/graph-v1.0.rdf serialises
> graph G (e.g., the names of the blank nodes changed, which does not
> change the graph at all).
> etc...
>
> They are all information resources but are not *the* graph.
Well, if you're the owner of
ex.org, then you're free to tell me what
your URIs identify, and there is no violation of web architecture in
what you said.
However, if I'm the owner of
ex.org, then I can also have my own graph
G, which is again a set of RDF triples, and I can assign the URI "
http://ex.org/graph
" to it, and configure my server to respond to HTTP GET on that URI
with an RDF/XML, Turtle, or N-Triples serialization of the graph,
depending on content negotiation, using a 200 OK status code.
In doing so, I have committed to the following assertions:
1. "
http://ex.org/graph" is a graph, a set of triples.
2. "
http://ex.org/graph" has three representations, one each in RDF/
XML, Turtle, and N-Triples.
3. "
http://ex.org/graph" is an information resource (because of the
200 OK status code), and hence a document.
Where is the supposed contradiction here?
> In OWL 2, ontologies can have a version IRI which is used to identify
> a specific version of the ontology. Different versions would be
> described in different documents or files, therefore, different
> versions should be described in information resources having
> different URIs.
> However, the ontology itself must have the same URI throughout its
> evolution, version after version.
s/described/serialized/ please. A document containing an RDF graph
doesn't describe that graph, it serializes it. (Or: encodes it.)
Other than that, what you say above is fine, let the ontology have the
same constant URI throughout its lifetime. But how does this prevent
the ontology from being an information resource?
> Additionally, though less important, notice that in OWL DL,
> ontologies, classes, annotation properties, object properties,
> datatype properties and instances are pairwise disjoint. So, an
> ontology that is an instance of, say, foaf:Document is automatically
> out of the OWL DL profile. It would be too bad that DL-compliant
> ontologies would be automatically non-pedantic-proof!
There is any number of things that are trivially true but are illegal
to say in OWL DL. If you care about it, then just don't assert that a
resource is both an owl:Ontology and a foaf:Document. It does not
follow that ontologies are not information resources.
> For all these reasons, I would encourage treating ontologies as
> non-information resources, well distinct from the file that contains
> their serialisation.
There are no "files" in web architecture. I encourage you to read up
on the distinction between resource and representation:
http://en.wikipedia.org/wiki/Representational_State_Transfer#Guiding_principles_of_the_interface
http://www.w3.org/TR/webarch/#internet-media-type
http://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm#sec_5_2
http://lists.w3.org/Archives/Public/www-tag/2005Jun/0039
Ontologies are certainly distinct from their representations.
> As a side note, it should be noted that the RDF, RDFS and OWL
> vocabularies are described and fully specified in their respective
> recommendations. So making use of the so-called RDF/RDFS/OWL ontology
> only makes sense if one *does not* implement the said specifications.
>
> Yet, using these files, which are written in RDFS, without
> implementing RDFS is quite pointless.
To use these files, you need to implement RDF/XML and the RDF data
model. You don't need to implement RDF's built-in terms, or RDFS, or
OWL. There are many tools that meet this description, for example many
SPARQL processors.
> I would like to know if anyone has an example of use cases for these
> "ontologies"? I can't find any, or maybe I can foresee *extremely*
> limited utility of these files.
Looking up a list of the terms that are defined in the rdf/rdfs/owl
namespaces. Looking up their rdfs:labels and rdfs:comments.
The core classes and properties of the web of data should resolve to
RDF descriptions of themselves just like any other class and property.
Best,
Richard