Tyro question on PB and RDF+XML

From: Jon Crump <jjcrump_at_myuw.net>
Date: Thu, 2 Mar 2006 12:23:49 -0800 (PST)

Dear all,

As promised, I have more naive questions.

After making a presentation to a digital arts class here and extolling the
virtues of RDF, somebody asked me how they might include RDF metadata for
the web pages in their electronic text archive. I borrowed the expedient
in use at SIMILE, to wit:

<link rel="alternate" type="application/rdf+xml"
href="somerelevantmetadata.rdf" />

Then I set about constructing an RDF file encoding the relevant metadata.
I came up with the following file:

<?xml version="1.0" encoding="ISO-8859-1"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:eta="http://electronic.text.archive/cartah#">

  <rdf:Description
rdf:about="http://depts.washington.edu/cartah/text_archive/coptic/meta_pag.shtml">
   <rdf:type rdf:resource="http://electronic.text.archive/cartah#Etext"/>
   <rdfs:label>Coptic John</rdfs:label>
   <dc:title>Coptic Gospel of John: The Logos Hymn (1:1-14)</dc:title>
   <dc:link
rdf:resource="http://depts.washington.edu/cartah/text_archive/coptic/coptjohn.shtml"
/>
   <dc:date>1911-1924</dc:date>
   <dc:author>Unknown</dc:author>
   <dc:editor>Lance Jenott</dc:editor>
   <dc:responsibility>CARTAH</dc:responsibility>
   <dc:publisher>The Clarendon Press</dc:publisher>
   <dc:rights>Copyright © 2003 University of Washington. All Rights
Reserved.</dc:rights>
   <eta:ID>BS2000 1911</eta:ID>
  </rdf:Description>
</rdf:RDF>

But when I pointed PB at this file I kept getting the error "No typed data
found." I kept changing it around every which way I could think of with no
success. In despair, I finally ran the above file through CWM which
responded by saying "you ignorant tyro, this is how it should read." (OK,
it didn't say that, it said this):

<!-- Processed by Id: cwm.py,v 1.164 2004/10/28 17:41:59 timbl Exp -->
<!-- using base
file:/Users/jjc/Desktop/SimileTestingRoundII/copticJohn.rdf-->

<rdf:RDF xmlns="http://purl.org/dc/elements/1.1/"
     xmlns:eta="http://electronic.text.archive/cartah#"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">

     <eta:Etext
rdf:about="http://depts.washington.edu/cartah/text_archive/coptic/meta_pag.shtml">
         <eta:ID>BS2000 1911</eta:ID>
         <author>Unknown</author>
         <date>1911-1924</date>
         <editor>Lance Jenott</editor>
         <link
rdf:resource="http://depts.washington.edu/cartah/text_archive/coptic/coptjohn.shtml"/>
         <publisher>The Clarendon Press</publisher>
         <responsibility>CARTAH</responsibility>
         <rights>Copyright: 2003 University of Washington. All Rights
Reserved.</rights>
         <title>Coptic Gospel of John: The Logos Hymn (1:1-14)</title>
         <rdfs:label>Coptic John</rdfs:label>
     </eta:Etext>
</rdf:RDF>

When I pointed PB at this file, no error, no problem.

Now, in the interests of illumination for me and other confused newbies in
the field, it would be a great help if some of the wiser heads in the
semweb world could explain to me why PB could parse the second file but
not the first.

Jon
__________
J.J. Crump
Dept. of History 353560
University of Washington
Seattle, WA. 98195
Received on Thu Mar 02 2006 - 20:22:17 EST

This archive was generated by hypermail 2.3.0 : Thu Aug 09 2012 - 16:39:18 EDT