0

I often see a hashtag in front of resources names in RDF serialization of OWL. For instance:

....rdf:resource="#hasParent" />

What does this mean? When I look it up, Google gives me a bunch of stuff about twitter. :)

Joshua Taylor
  • 84,998
  • 9
  • 154
  • 353
bernie2436
  • 22,841
  • 49
  • 151
  • 244

1 Answers1

3

Your example is specific to RDF/XML. Here, you have a relative IRI which must be completed with the xml:base given in the document to form the absolute IRI that identifies the resource. In RDF and OWL, everything is identified by absolute IRIs only. Apart from that, it does not have any particular meaning. However, it is convenient to use IRIs with a hash for Linked Data: the IRI will dereference to the base IRI, which is typically identifying the document that describes the full IRI.

For instance, take the SKOS ontology:

<rdf:RDF ...
  xml:base="http://www.w3.org/2004/02/skos/core">
 ...
<rdf:Description rdf:about="#Concept">
 ...
</rdf:Description>
 ...

It defines the term http://www.w3.org/2004/02/skos/core#Concept. If you use this IRI in a HTTP GET request, with a header Accept: application/rdf+xml, you will find the RDF/XML serialisation of the SKOS ontology, in which the term is defined and described.

Antoine Zimmermann
  • 5,314
  • 18
  • 36