JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for DC-ARCHITECTURE Archives


DC-ARCHITECTURE Archives

DC-ARCHITECTURE Archives


DC-ARCHITECTURE@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

DC-ARCHITECTURE Home

DC-ARCHITECTURE Home

DC-ARCHITECTURE  August 2007

DC-ARCHITECTURE August 2007

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Draft of revised version of Expressing DC in X/HTML meta/link elements

From:

Pete Johnston <[log in to unmask]>

Reply-To:

DCMI Architecture Forum <[log in to unmask]>

Date:

Sat, 4 Aug 2007 23:03:21 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (179 lines)

The current DCMI Recommendation, Expressing Dublin Core in HTML/XHTML
meta and link elements [1], preceded the development of the DCMI
Abstract Model, and so is not based on the DCAM description model.

I've had a go at drafting a new document which specifies a mapping of (a
subset of) the DCAM description model to HTML/XHTML meta and link
elements i.e an X/HTML metadata profile for encoding DC metadata in
X/HTML which is based on the DCAM. See

http://dublincore.org/architecturewiki/DCXHTMLGuidelines/2007-07-27

A few things to note:

(i) this is an X/HTML metadata profile (See [2]). I'm suggesting we use
a different profile URI for this profile from that used for the profile
defined by the current recommendation. I _think_ that would be the right
thing to do so that it is explicit that an instance is to be interpreted
in this way, but I could probably be persuaded that it isn't necessary!

(ii) this profile supports only a subset of the DCAM description model.

(iii) statements with a literal value surrogate are represented using
X/HTML meta elements, and statements with a non-literal value surrogate
are represented using X/HTML link elements. The scheme attribute is
available only on the meta element, and so is to be used only for the
encoding of syntax encoding scheme URIs, not vocabulary encoding scheme
URIs. i.eThe profile does _not_ support the encoding of vocabulary
encoding scheme URIs.

(iv) this profile does not suppport the "double name" convention in the
prefixed name i.e. the property URI http://purl.org/dc/terms/created
must be represented as a prefixed name like "dcterms.created", not
"dc.date.created".

(v) I've suggested using the title attribute of the link element to
encode a single value string within a non-literal value surrogate. I'm
not sure whether this is too much of a stretch of the way X/HTML defines
that attribute. If it is, then I think we'd probably have to exclude
value strings within non-literal value surrogates from the subset of the
model that is supported.

DC-HTML & GRDDL
===============

There's an XSLT transform which maps this profile to RDF/XML i.e.
supports GRDDL [3] for this profile

http://www.incognitum.net/petej/projects/dc-html/xslt/2007/08/02/dc-html
2rdfxml.xsl

And a small set of examples

http://www.incognitum.net/petej/projects/dc-html/xhtml/2007/08/02/

I've used a www.incognitum.net URI 

http://www.incognitum.net/petej/projects/dc-html/2007/08/02/

for the profile URI in those documents, in order to provide access to
the transform for a GRDDL processor for those examples, but if this was
adopted the profile URI would be a DCMI-owned URI.

DC-HTML & eRDF
==============

Like the profile defined by the existing recommendation, this profile is
compatible with the Embeddable/Embedded RDF profile (eRDF) defined by
Ian Davis of Talis. See

http://purl.org/NET/erdf/profile

I think Ian chose the conventions for eRDF with the intent of making
that profile compatible with the existing DCMI recommendation.

The suggested profile differs from eRDF in (I think) four ways:

(i) it doesn't define any conventions for DC metadata within the body of
the X/HTML document.

(ii) it has "built-in knowledge" of the DC and DCTERMS prefixes i.e.
"prefixed names" using those prefixes will be mapped to
http://purl.org/dc/elements/1.1/... and http://purl.org/dc/terms/...
URIs even in the absence of a "namespace declaration" (link
rel="schema.DC" href="....") (I'd be happy to drop this and make it a
requirement to provide a "namespace declaration").

(iii) the value of the scheme attribute of the meta element is mapped to
the URI of the datatype of the literal object.

(iv) the title attribute of the link element is mapped to an additional
triple with an rdf:value predicate. (As I say above, this might be a
stretch!)

So the results of

XHTML -> DCAM --> RDF

would be consistent with

XHTML -> RDF

via the eRDF profile, though the former would generate some additional
triples.

DC-HTML & RDFa
==============

What this new draft _doesn't_ address is any RDFa [4] interpretation of
an XHTML 1.0/1.1 doc using this profile. 

I must admit I'm still a bit unclear about how RDFa applies to XHTML
1.0/1.1 docs. But my understanding (and I could be wrong about this!) is
that RDFa will not be defined as an X/HTML metadata profile, so there
will not be a profile URI for RDFa. However - at least in XHTML 1.1 -
there will be some other "hook"/"trigger" to signal that an XHTML 1.1
doc contains RDFa - a reference to a specific DTD in the DocType
declaration, I think?

If I'm wrong about that, and if an RDFa processor _is_ going to extract
triples from an XHTML 1.0/1.1 doc regardless, then, given that RDFa uses
a QName-like convention based on XML Namespaces for representing URIs,
and this profile (and eRDF) uses a different convention, I'd expect an
RDFa processor to generate some rather nonsensical triples e.g. given

<meta name="dc.title" content="My title" /> 
<link rel="dc.creator" href="http://example.org/Fred" /> 
<link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />

a GRDDL processor using the dc-html profile transform would generate

<> dc:title "My title" .
<> dc:creator <http://example.org/Fred> .

but an RDFa processor would generate (I think?)

<> <http://www.w3.org/1999/xhtmldc.creator> <http://example.org/Fred> .
<> <http://www.w3.org/1999/xhtmlschema.dc>
<http://purl.org/dc/elements/1.1/> .

(I think the meta element would be ignored because RDFa uses a different
attribute for the predicate URI.)

But I'm hoping that my concern here is without foundation, and an RDFa
processor _does_ need some hook before it goes to work on an XHTML
1.0/1.1 doc, and so it will _not_ generate those spurious triples.  

But I suppose this begs the larger question of whether DCMI should
recommend shifting from this current approach (an X/HTML metadata
profile compatible with the eRDF profile and accessible to a GRDDL
processor) to an explicitly RDFa-based approach. 

Given that RDFa is still under development at this point in time, I'm
hesitant to recommend that change right now, and I think there is
considerable value in a GRDDL-able profile. 

But at some point in the future once RDFa is done, it may be worth
producing a separate note on encoding DC metadata using RDFa.

Anyway, comments on any aspect of this welcome - though I'm on leave for
a week, so I won't be replying for a few days ;-)

Cheers

Pete

[1] http://dublincore.org/documents/dcq-html/
[2] http://www.w3.org/TR/REC-html40/struct/global.html#profiles
[3] http://www.w3.org/TR/2007/PR-grddl-20070716/
[4] http://www.w3.org/TR/2007/WD-xhtml-rdfa-primer-20070312/


---
Pete Johnston
Technical Researcher, Eduserv Foundation
Web: http://www.eduserv.org.uk/foundation/people/petejohnston/
Weblog: http://efoundations.typepad.com/efoundations/
Email: [log in to unmask] 
Tel: +44 (0)1225 474323

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

February 2024
January 2024
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
September 2022
August 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
November 2021
October 2021
September 2021
August 2021
July 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
September 2020
August 2020
July 2020
June 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
September 2005
August 2005
July 2005
June 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
March 2004
February 2004
January 2004
November 2003
October 2003
September 2003
August 2003
June 2003
May 2003
April 2003
March 2003
January 2003
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
December 2000
November 2000
October 2000


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager