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:

Monospaced Font

LISTSERV Archives

LISTSERV Archives

DC-ARCHITECTURE Home

DC-ARCHITECTURE Home

DC-ARCHITECTURE  July 2007

DC-ARCHITECTURE July 2007

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: DCMI Description Set Profiles - a basis for application profiles

From:

Darin Stewart <[log in to unmask]>

Reply-To:

DCMI Architecture Forum <[log in to unmask]>

Date:

Thu, 26 Jul 2007 05:49:44 -0700

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (225 lines)

I will be out of the office Monday 7/23 - Friday 7/27.

 -dls-

>>> "[log in to unmask]" 07/26/07 05:49 >>>

Hi Mikael,

Thanks very much for this. It looks really good. Apologies for the delay
in responding.

A few thoughts/comments, all of which are pretty minor, I think, and
some of which I think are really just a reflection of the fact that, as
you say, this is still a work-in-progress:

3. Introduction
===============

> A DSP does not address the following:
> * Human-readable documentation.

I did wonder whether there might be some way of accommodating
human-readable stuff too, i.e. allow "annotation" of Description
templates, Statement Templates etc, kind of in the way W3C XML Schema
allows "annotation" to be "attached" to definitions/declarations. That
way an instance of the DSP XML format could be used as the source of
(more or less) the whole of what we've in the past called a DCAP i.e.
including the human-readable guidelines. I don't think this is an
absolute requirement, BTW. Just wondered if it was feasible. If the
answer is that you want to focus on gettig the structural stuff done
and/or it makes things too complicated, that's fine ;-)

4. Basic Structure
===================

I was wondering whether the model should include classes/entity types
for "Literal Value Surrogate Constraints" and "Non-Literal Value
Surrogate Constraints".

At first I thought this might be introducing some redundancy because you
already subclass/subtype the two categories of "Statement Template", but
OTOH, I think you do make essentially that distinction in 8.5 and 8.6,
right? i.e. 8.5 and 8.6 deal specifically with constraints on the value
surrogate part of the statement, excluding the property URI.

Also I wondered whether introducing those two "intermediate" entities
might make it easier to define one set of "value string constraints"
which can then be referred to within the "literal value surrogate
constraints" and the "non-literal value surrogate constraints" (in the
latter case supplemented by the minOccurs/maxOccurs).

(Urgh, sorry, that's hard to describe without drawing a picture! Maybe
it's fine as it is!)
 
6. Usage examples
=================

(a) This is just a presentational thing (and a personsl preference at
that!), but I would prefer to see the definitions/descriptions of the
different sorts of constraints before the examples i.e. current sections
7/8 before section 6 (or have examples included alongside each
definition/description). However it's presented, I think there needs to
be a clearer association between the markup conventions and the
constraint types.

(b) We should probably try to align the namimg conventions used in the
DSP XML format with those used in whatever format we end up with for
representing DC description sets in XML e.g. use of "VES" or
"vocabEncSheme" etc. Even if the names use different XML Namespaces
(which they probably should), I think it would be helpful to aim for
some consistency in the "local parts" of the names.

Most of the rest of my comments are just minor word-smithing, I think...

7. Description Templates
========================

Possible omission: Should there be a constraint which allows a DSP to
specify whether a "Described Resource URI" is
required/optional/prohibited? (cf. 8.6.3.1 for Value URI)

7.1 Identifier

> A string that can be used in a Value Constraint to reference a
description template that applies to the value resource.

I think this applies specifically to the Non-Literal Value case (i.e.
8.6 rather than 8.5), so probably worth making that explicit here?

> A string that is used to identify a Description Template, so that it
can be referenced in a Non-Literal Value Constraint as a description
template that applies to the value resource.

7.3. Minimum occurrence constraint

The "allowed values" are "non-zero integer", but the default value is
zero. I think there's a contradiction there?

I think we do probably want to allow for minOccurs=0 (i.e. a description
matching tis template is optional), and for people to explicitly state
the default if they want to, so I think the "allowed values" should just
be "integer" (or "non-negative integer")?

7.5 Resource Class Membership Constraint

> Classes that the resource may be an instance of

I _think_ the intent here is that the resource _must_ be an instance of
one of the classes listed, right? If so, I'm not sure that "may" quite
captures that: the current phrasing suggests (to me) that it is optional
for the resource to be an instance of one of the classes listed - which
isn't really a constraint at all! ;-)

So I think this needs to say something like:

> A list of classes at least one of which the described resource must be
an instance of.

(Urgh. Something like that!)

8. Statement Templates
======================

8.1. Minimum occurrence constraint

Similar argument as for 7.3, I think? i.e. I think the "allowed values"
should just be "integer" (or "non-negative integer")?

8.4.1. Property list constraint

> A set of properties that are allowed in this statement template.

Very minor nitpick, but we should probably settle on a consistent
wording to describe the various list constraints e.g. "Properties
that...." or "A list of properties that..." or "A set of properties
that...."

8.5.1. Literal list constraint

> a list of literals, i.e. (string, language tag) or (string, syntax
encoding scheme URI) pairs.

Plain literals don't require a language tag, right? So a list of
literals might include literals that are just "strings"?

8.5.2. Literal language constraint

> "mandatory" / "optional" / "disallowed"

The convention used in W3C XML Schema to describe these three options in
analogous situations is, I think, "required"/"optional"/"prohibited".
Obviously we don't have to follow that, but it might make life a bit
easier for people who are doing both DSP and W3C XML Schema if we did.

8.6.1. Description template reference

> Default: Related description not allowed

I probably need to think about this a bit more, but I wondered whether
this was a bit too restrictive... But maybe it's OK as it stands.

Thinking out loud:

I think this says that either (a) my ST references a DT, in which case
my statement must refer to a ("related") description of the value which
matches that DT or (b) my ST does not reference a DT, in which case my
statement must not refer to a ("related") description of the value.

So I was wondering about the case where I want a description of the
value to be optional i.e. my DSP says, in descriptions of widgets, a
statement referring to the dc:creator property is required
(minOccurs=1), and you can either provide a value string or you can
provide a description of the creator. My interpretation of the current
doc (which may be wrong!) is that I can't specify that. The closest I
could get, I think, would be to provide two Statement Templates, both
for the dc:creator property, one referring to a DT for an agent (the
value), and the other not referring to a DT. But I don't think I could
say that one or other of those STs must be matched.

Maybe that's OK - and I take your point that you aren't trying to cover
every possible constraint, or combination of constrints, and more
complex stuff could be done at the syntactic level - I just wanted to
check that my interpretatation was correct.

8.6.2. Class membership constraint

Similar argument as for 7.5, should say something like

> A list of classes at least one of which the value must be an instance
of.

8.6.3.2. Value URI list constraint

> If a value URI is given, it must be taken from this list. Cannot be
specified if value occurrence is "disallowed"

I think that should say

> If a value URI is given, it must be taken from this list. Cannot be
specified if value URI occurrence is "disallowed"

8.6.5.1. Minimum occurrence constraint

Similar argument as for 7.3, I think? i.e. I think the "allowed values"
should just be "integer" (or "non-negative integer")?

9. XML Syntax

Very minor point, but re XML attribute names minOccur/maxOccur, W3C XML
Schema uses the names minOccurs/maxOccurs (with a trailing "s"), so
it'll probably be helpful to align with that. I can imagine people
working across both will keep making mistakes otherwise - I know I
would! ;-)

Cheers

Pete
---
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