Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Naming of the class Resource

$
0
0
According to the official W3C spec [1] the term "Resource" is used for
things in the universe of discourse (or real world). In W3C lingo, such
resources are denoted by IRIs, literals and blank nodes. This is
reflected by the RDF Schema spec, which has root classes

rdfs:Resource
rdfs:Literal
rdfs:Class
rdf:Property

Now looking at the Jena (and Sesame) Model API, the term "Resource" is
used for "URI or blank node":

RDFNode
Literal (have label, datatype)
Resource (have URI or bnode ID)
Property

basically assuming that we have an RDF schema such as

rdfs:Node
rdfs:Literal
rdfs:Resource
rdf:Property

which makes sense to me (from a programmer's point of view). Yet, in the
RDF Shapes group this topic is currently widely discussed, and some
people state that the Jena developer made a "stupid" [2] mistake. Do any
of you remember why the current interfaces were named like this so that
we now have this mismatch?

Thanks
Holger

[1] http://www.w3.org/TR/rdf11-concepts/
[2]
http://lists.w3.org/Archives/Public/public-data-shapes-wg/2014Dec/0185.html

Viewing all articles
Browse latest Browse all 5648

Trending Articles