W3C WD-rdf-syntax-19981008

 

Errata in WD-rdf-syntax-19981008

This documents known errors in WD-rdf-syntax-19981008. Further comments on the original document or these errata may be found in the archive of the comment mailing list.

Section 7.3.

The first example is missing a namespace declaration:

  <RDF
    xmlns="http://www.w3.org/TR/WD-rdf-syntax#"
    xmlns:rdf="http://www.w3.org/TR/WD-rdf-syntax#"
    xmlns:dc="http://purl.org/metadata/dublin_core#"
    xmlns:l="http://mycorp.com/schemas/my-schema#">
    <Description about="http://www.webnuts.net/Jan97.html"> 
      <dc:Subject
        rdf:value="020 - Library Science"
        l:Classification="Dewey Decimal Code"/>
    </Description>
  </RDF>

The second example is missing a namespace declaration and a Description start and end tag:

  <RDF
    xmlns="http://www.w3.org/TR/WD-rdf-syntax#"
    xmlns:rdf="http://www.w3.org/TR/WD-rdf-syntax#"
    xmlns:n="http://www.nist.gov/units/">
    <Description about="John_Smith">
      <n:weight>
        <rdf:Description>
          <rdf:value>200</rdf:value>
          <n:units rdf:resource="http://www.nist.gov/units/Pounds"/>
        </rdf:Description>
      </n:weight>
    </Description>
  </RDF>

Section 7.4.

The second example is missing two Description start and end tags, one each in the dc:Contributor and the dc:Relation statements:

  <rdf:RDF
    xmlns:rdf="http://www.w3.org/TR/WD-rdf-syntax#"
    xmlns:dc="http://purl.org/metadata/dublin_core#"
    xmlns:dcq="http://purl.org/metadata/dublin_core_qualifiers#">
    <rdf:Description about="http://www.dlib.org/dlib/may98/05contents.html">
      <dc:Title>DLIB Magazine - The Magazine for Digital Library Research
        - May 1998</dc:Title>
      <dc:Description>D-LIB magazine is a monthly compilation of
       contributed stories, commentary, and briefings.</dc:Description>
      <dc:Contributor>
        <rdf:Description>
          <dcq:AgentType rdf:resource=
            "http://purl.org/metadata/dublin_core_qualifiers#Editor"/>
          <rdf:value>Amy Friedlander</rdf:value>
        </rdf:Description>
      </dc:Contributor>
      <dc:Publisher>Corporation for National Research Initiatives</dc:Publisher>
      <dc:Date>1998-01-05</dc:Date>
      <dc:Type>electronic journal</dc:Type>
      <dc:Subject>
        <rdf:Bag>
          <rdf:li>library use studies</rdf:li>
          <rdf:li>magazines and newspapers</rdf:li>
        </rdf:Bag>
      </dc:Subject>
      <dc:Format>text/html</dc:Format>
      <dc:Identifier>urn:issn:1082-9873</dc:Identifier>
      <dc:Relation>
        <rdf:Description>
          <dcq:RelationType rdf:resource=
            "http://purl.org/metadata/dublin_core_qualifiers#IsPartOf"/>
          <rdf:value resource="http://www.dlib.org"/>
        </rdf:Description>
      </dc:Relation>
    </rdf:Description>
  </rdf:RDF>

The third example is missing a Description start and end tag in the dc:Relation statement:

  <rdf:RDF
    xmlns:rdf="http://www.w3.org/TR/WD-rdf-syntax#"
    xmlns:dc="http://purl.org/metadata/dublin_core#"
    xmlns:dcq="http://purl.org/metadata/dublin_core_qualifiers#">
    <rdf:Description about=
    "http://www.dlib.org/dlib/may98/miller/05miller.html">
      <dc:Title>An Introduction to the Resource Description Framework</dc:Title>
      <dc:Creator>Eric J. Miller</dc:Creator>
      <dc:Description>The Resource Description Framework (RDF) is an
       infrastructure that enables the encoding, exchange and reuse of
       structured metadata. rdf is an application of xml that imposes needed
       structural constraints to provide unambiguous methods of expressing
       semantics. rdf additionally provides a means for publishing both
       human-readable and machine-processable vocabularies designed to
       encourage the reuse and extension of metadata semantics among
       disparate information communities. the structural constraints rdf
       imposes to support the consistent encoding and exchange of
       standardized metadata provides for the interchangeability of separate
       packages of metadata defined by different resource description
       communities. </dc:Description>
      <dc:Publisher>Corporation for National Research Initiatives</dc:Publisher>
      <dc:Subject>
        <rdf:Bag>
          <rdf:li>machine-readable catalog record formats</rdf:li>
          <rdf:li>applications of computer file organization and
           access methods</rdf:li>
        </rdf:Bag>
      </dc:Subject>
      <dc:Rights>Copyright @ 1998 Eric Miller</dc:Rights>
      <dc:Type>Electronic Document</dc:Type>
      <dc:Format>text/html</dc:Format>
      <dc:Language>en</dc:Language>
      <dc:Relation>
        <rdf:Description>
          <dcq:RelationType rdf:resource=
            "http://purl.org/metadata/dublin_core_qualifiers#IsPartOf"/>
          <rdf:value resource="http://www.dlib.org/dlib/may98/05contents.html"/>
        </rdf:Description>
      </dc:Relation>
    </rdf:Description>
  </rdf:RDF>

Section 7.5.

The second Description element is missing the closing "/":

  <rdf:RDF
    xmlns:rdf="http://www.w3.org/TR/1998/WD-rdf-syntax#"
    xmlns:pics="http://www.w3.org/TR/xxxx/WD-PICS-labels#"
    xmlns:gcf="http://www.gcf.org/v2.5">
    <rdf:Description about="http://w3.org/PICS/Overview.html" bagID="L01"
      gcf:suds="0.5"
      gcf:density="0"
      gcf:color.hue="1"/>

    <rdf:Description about="http://w3.org/PICS/Underview.html" bagID="L02"
      gcf:subject="2"
      gcf:density="1"
      gcf:color.hue="1"/>

    <rdf:Description aboutEach="#L01"
      pics:by="John Doe"
      pics:on="1994.11.05T08:15-0500"
      pics:until="1995.12.31T23:59-0000"/>

    <rdf:Description aboutEach="#L02"
      pics:by="Jane Doe"
      pics:on="1994.11.05T08:15-0500"
      pics:until="1995.12.31T23:59-0000"/>
  </rdf:RDF>

Ralph R. Swick
Last updated: $Date: 1998/10/09 20:22:17 $