edition and work rdf changes needed

Bug #703664 reported by Karen Coyle
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Open Library
New
Undecided
Unassigned

Bug Description

This is a list of the changes needed to:
  http://openlibrary.org/upstream/templates/type/edition/rdf.tmpl
  http://openlibrary.org/upstream/templates/type/work/rdf.tmpl

First, see the bug listed here:
  https://bugs.launchpad.net/openlibrary/+bug/598200
It seems that these have not been updated with the new "identifier" data element. There is a URN namespace for "National Bibliography Numbers" (http://tools.ietf.org/html/rfc3188) that might be usable for some of these, but that may be too complicated. It isn't obvious what the best way is to deal with these in RDF, especially without having to use a blank node.

1. Add condition to authorList so that it is not created when there is no author (line 34) (Note, may also need to make similar change to Work in RDF. Also, Work and Edition use very different methods for author: see Work lines 31/36 and Edition lines 34-39. Either is probably acceptable, but they should be the same.)
2. Make all URLs end with a "/" (e.g. "http://openlibrary.org$bookID" needs to output "http://openlibrary.org/books/OL18215289M/" not "http://openlibrary.org/books/OL18215289M". (See line 13 in type/work/rdf.tmpl)
3. Administrative section at end of Edition needs to make clear that the referent is the metadata, not the book itself. See lines 72/77 of type/author/rdf.tmpl.

Tags: rdf
George (george-archive)
tags: added: rdf
Revision history for this message
Karen Coyle (kcoyle) wrote :

re: #1 above, author name(s) should be taken from work/authors not edition/author.

Revision history for this message
Karen Coyle (kcoyle) wrote :

From Ben Companjen

there is no link from an Edition of a Work to the Work;
- the list of authors (bibo:authorList) is empty, or rather: it's a
line break and some whitespace. Extra contributors, added when editing
an edition, are not included.

the relation between <dcterms:creator> and name (a Literal) is
<rdf:value>, whereas I'd expect something like <foaf:name>;
- the record of a Work contains descriptions of its Editions, which do
contain the URI of the Work it manifests, but the URI is a quoted
literal instead of an rdf:resource;
- there is a lot of whitespace.

Revision history for this message
Ben (bencompanjen) wrote :

Changes are on their way. :-)
http://<email address hidden>/msg00499.html

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.