[pmwiki-users] Re: ?action=dc (Dublin Core Metadata)

Mikael Nilsson mini at nada.kth.se
Fri Dec 2 04:03:40 CST 2005


Two comments:

1. There are PHP APIs for RDF. 

See for example RAP

http://www.wiwiss.fu-berlin.de/suhl/bizer/rdfapi/index.html

But they might be a bit too heavy-weight for pmwiki :-), especially
since you don't consume RDF.

2. Who is your intended audience? I.e. who's going to use the RDF data?
You might be interested in knowing that the usage of the Dublin Core
properties in RDF is currently undergoing a revision. See

http://www.ukoln.ac.uk/twiki/bin/view/Metadata/DCRDFTaskforce

And especially

http://www.ukoln.ac.uk/twiki/bin/view/Metadata/RDFValueStringsClarification

In short, future version will likely recommend a usage looking like:

dc:date -> X
X -> rdf:type -> dcclass:Date
X -> rdf:value -> "2005-11-30"^^xsd:datetime  (<-- this is a "datatype")

instead of just 

dc:date -> "2005-11-30"

because the value, semantically, should be a "Date" and not a "string".
No big deal right now, but I'd just like to let you know, as I'm in that
taskforce :-) But depending on your intended consumers, the approach
might be a bit different.

/Mikael

tor 2005-12-01 klockan 16:50 -0600 skrev Patrick R. Michaud:
> On Fri, Dec 02, 2005 at 11:18:42AM +1300, John Rankin wrote:
> > >I suspect I'm going to want some metadata related to when a page was last
> > >modified, so that pmwiki-mode for emacs can check if the page
> > >has changed.
> > >
> > >Right now the closest this is the 'date' property, right? It might be very 
> > >convenient if there was some property like:
> > >
> > >	last-modified:230002020
> > 
> > I think the relevant dc element is 'modified' which refines the 'date'
> > element. See http://www.dublincore.org/documents/dcmi-terms/
> 
> So, would the format for this be...?
> 
>     <dcterms:modified>2005-12-01</dcterms:modified>
> 
> > For some sites, a 'rights' element, referring to a page with a 
> > copyright policy, may be required.
> 
> As one might expect, the output is very customizable.  At the moment,
> a site administrator can add a simple dc:rights element to the output
> with:
> 
>     $DublinCoreElements['dc:rights'] = 'Creative Commons License';
> 
> I'm still working out the syntax/data structure for specifying 
> attributes such as rdf:resource.
> 
> Pm
> 
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://host.pmichaud.com/mailman/listinfo/pmwiki-users
> 
-- 
Plus ça change, plus c'est la même chose





More information about the pmwiki-users mailing list