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  September 2006

DC-ARCHITECTURE September 2006

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Schemas and validation

From:

Pete Johnston <[log in to unmask]>

Reply-To:

DCMI Architecture Group <[log in to unmask]>

Date:

Tue, 12 Sep 2006 17:10:40 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (210 lines)

Hi Ann,

> What concerns me about these new XML coding ideas is how - 
> and whether - they'll be used in practice. I think there is a 
> real danger of putting people off following a recommended 
> DC-in-XML serialisation. So they'll just continue to use the 
> old 'fuzzy' form with their own additions.
> 
> I'm currently thinking about an XML serialisation of an 
> application profile for a community that I suspect knows 
> little about XML or about DC (at the abstract model level).

This is the nub of the problem, it seems to me: (IMHO) the developers of
systems working with DC metadata _do_ need to understand the DCMI
Abstract Model. 

That is not to say that the (human) users of those systems have to
understand it - data creators will use whatever sort of data entry forms
are designed for data creation by the developers and "end users" will
see whatever sort of displays the developer provides for buying books or
CDs or booking hotels or whatever. None of them need to know anything
about the DCAM or see XML documents. (In just the same way that neither
an Amazon cataloguer nor an Amazon shopper needs to understand the
entity-relational model or the RDBMS schema used in their database.) 

Nor does it mean that the internal data structure of a system using DC
metadata has to be based on the DCAM. The data can be stored in an RDBMS
or plain text or some XML format and mapped to the DCAM description
model, and to a digital format for representing that description model.


> I 
> was debating with myself whether I could include, and explain 
> the reason for:
> 
> <dc:title>
>   <dcx:ValueString>My Document</dcx:ValueString> </dc:title>
> 
> rather than:
> 
> <dc:title>My Document</dc:title>

The justification for the XML format would have to be based on the DCAM
and the concept of the DC description set. If the other party thinks in
terms of, say, attribute-value pairs, and we don't explain that that DC
metadata isn't based on attribute-value pairs, then, yes, I agree that
it is hard to make an argument for the more complex format.

> I suspect not. So I think 
> 
> <dcx:statement 
> dcx:propertyURI="http://purl.org/dc/elements/1.1/title">My 
> Document</dcx:statement>
> 
> is probably a non-starter, though at least it doesn't go to a 
> second level.

Erm, I think Andy was alluding to the proposal in the wiki and that
_does_ use a dcx:valueString child element. ;-)

i.e.

 <dcx:statement 
 dcx:propertyURI="http://purl.org/dc/elements/1.1/title">
    <dcx:valueString>My Document</dcx:valueString>
 </dcx:statement>

> I would have thought that people who wanted 
> that sort of precision in modelling would use RDF anyway.

I'm not sure what you mean by "precision in modelling". If we are basing
our work on the DCAM, then that means we are adopting the notion of the
DC "description set" as the basis of DC metadata. 

The DCAM defines the DC "description set" as an "information structure",
if you like, and it tells me the component parts which make up that
structure. According to the DCAM, a statement contains:

- exactly one property URI and
- zero or one reference to a value in the form of a value URI
- zero or one vocabulary encoding scheme URI 
- zero or more representations of a value

where a value representation is either

- a value string
- a rich representation

(and so on.)

If we are to represent that information structure in XML then we need an
XML format that enables us to distinguish in the XML structure those
different components that are distinguished in that information
structure. i.e. to allow an "encoding" application to serialise an
instance of that information structure into an XML instance, and a
second "decoding" application to read that XML instance and create a
"description set" from it.

Now there are a huge number of ways of doing that in XML (using XML
element content, the values of XML attributes, the names of XML
elements, the names of XML attributes, XML attributes acting as flags,
relationships between XML elements, relationships between XML elements
and XML attributes, ID/IDREF relations etc etc etc etc. We could even
invent hacks for putting things inside comments! (Didn't weblog
trackback work like this at some point?)) It doesn't mean we have to
have XML elements called "description" and "statement", but we do need
to specify how the things in the XML instance correspond to the things
in a DC description set.
  
> A problem with the first construct above - as well as having 
> to explain what the 'ValueString' part is for - 

Again that comes back to explaining that the XML format is based on the
DCAM and the concept of the description set.

> is that it 
> goes down a level in the XML document, making life harder for 
> a consuming application.

I don't quite understand how the first form make anything harder for an
application? Why is a search for the content of
dcx:description/dc:creator/dcx:valueString harder than a search for the
content of dcx:description/dc:creator?

What the first form enables me to express (and the second doesn't) is
that there are two value strings (optionally with different language
tags or syntax encoding schemes) associated with the same value, which
is what the DCAM description model says the structure of the description
set should allow for.

(But see below re subsetting/profiling.)

> Is there an option of including an abbreviated form, with the 
> 'valuestring' level implicit, for simple cases? Ie. 
> <dc:title>My Document</dc:title> is shorthand for and implies 
> <dc:title><dcx:ValueString>My Document</dcx:ValueString></dc:title>

It becomes complex for a conusming application to have to deal with two
different forms, both labelled as a single XML format. 

Suppose I'm developing a service that harvests "dc-xml" data from
multiple sources, and I have to allow for the possibility that some of
my sources use the "short" form and some sources use the "full" form. 

Either

(a) I have to use some sort of "normalisation" pre-processing that maps
my data to one form; or
(b) for every operation on my aggregated data, my application has to
handle both forms 

(FWIW, it also becomes complex working with this sort of content model
in W3C XML Schema, but I'm not using that as a "show-stopper" argument.)


Now then, what _would_ be possible is to define distinct XML formats
that support _different_ subsets (profiles, if you like, though I
hesitate to use that term as it is already used for other purposes in
the DCMI context) of the DCAM description model. 

We could define a subset of the DCAM description model in which, say,
only one value string per statement was supported and rich
representations were not supported, and then specify an XML format that
supports only that subset (let's call it dc-xml-minimal) and have a
second format (let's call it dc-xml-full) that, like the current
proposals, that supports the full model.

In this case, if a service provider is getting dc-xml-minimal from some
sources and dc-xml-full from others, at least the two formats are
explicitly labelled and the application "knows what to expect".

We could even decide that the XML format provided by DCMI should only
support a subset of the DCAM description model i.e. dc-xml becomes
dc-xml-minimal and we forget about "dc-xml-full". (But I suspect that
rather begs the question of why we bothered defining that level of
complexity in the DCAM in the first place if we aren't going to offer
any way of representing it in a concrete syntax.)

We did consider this possibility of profiling/subsetting when we drafted
the current proposal, because a format which supports all the features
of the DCAM description model is, almost unavoidably, quite
verbose/complex at least when compared with the current recommendation,
because the models used in the current recommendation are much simpler
than the DCAM. (Though having said that, I think the current proposal
could be made more concise by e.g. abbreviating some of the XML element
and attribute names and maybe re-thinking the use of
namespace-qualification for attributes). We decided to go with a single
proposal based on the full model in the first instance.

And I have some earlier work that is based on such a subset/profile of
the DCAM description model (which I think was based on "one value string
per statement, no rich representations", but I'd have to dig back and
check).

But if we do take such an approach, it remains the case that we need to
work on the basis of providing an XML format for that subset/profile of
the DCAM description model, and that should be the basis for explaining
the format to others. 

So really I guess we need to decide whether we want an XML format that
supports the full DCAM description model, or whether we want an XML
format that supports some subset of it (and if so what subset), or
whether we want both.

> I guess the serialisation I'm working on will have to be 
> based on the old schemas anyway, because the new schemas are 
> not yet decided.

Pete

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