3
votes

There are many examples for rdfs which use the following namespace

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

here is an example from w3c

<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:ex="http://example.org/stuff/1.0/"
         xml:base="http://example.org/here/">
  <rdf:Description rdf:ID="snack">
    <ex:prop rdf:resource="fruit/apple"/>
  </rdf:Description>
</rdf:RDF>

everything is ok, however, where rdf:Description rdf:ID are come from ? it should be from rdf namespace

http://www.w3.org/1999/02/22-rdf-syntax-ns#

right?

I visited its link

http://www.w3.org/1999/02/22-rdf-syntax-ns#

but there is no rdf:Description or rdf:ID definitions.

even more, if we check for rdf:resource we can't find it, if it is from rdfs so why we did not write it like rdfs:Resource but w3c does not write it like this way, so where are these vocabularies are come frome?

is there any vocabulary used not mentioned in namespace vocabularies ?

1

1 Answers

1
votes

rdf:ID is defined here in the RDF specs.

rdf:Description is used for any RDF node, be it a resource or an axiom (for example, in reification).

I'm not sure if this is enough to answer your question.