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#"

   <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:editor>Lance Jenott</dc:editor>
   <dc:publisher>The Clarendon Press</dc:publisher>
   <dc:rights>Copyright © 2003 University of Washington. All Rights
   <eta:ID>BS2000 1911</eta:ID>

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

<rdf:RDF xmlns="http://purl.org/dc/elements/1.1/"

         <eta:ID>BS2000 1911</eta:ID>
         <editor>Lance Jenott</editor>
         <publisher>The Clarendon Press</publisher>
         <rights>Copyright: 2003 University of Washington. All Rights
         <title>Coptic Gospel of John: The Logos Hymn (1:1-14)</title>
         <rdfs:label>Coptic John</rdfs:label>

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.

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