[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: RDF Schema Question: range of values of an rdfs:Class?

  • From: Dan Brickley <Daniel.Brickley@b...>
  • To: "'xml-dev@i...'" <xml-dev@i...>
  • Date: Tue, 4 May 1999 15:01:20 +0100 (BST)

rdf range
On Tue, 4 May 1999, Roger L. Costello wrote:

> Question: if I create an RDF Schema Class, then what is its rdf:range of
> values?
[...] 
> In the example it says that the possible values for the maritalStatus
> property are: {Married, Divorced, Single, Widowed}.  Here is where I
> have a question.  How did the range of possible values for maritalStatus
> suddenly get restricted to these four values?  In the example it creates
> four instances of the MaritalStatus Class:
> 
> <MaritalStatus rdf:ID="Married"/>
> <MaritalStatus rdf:ID="Divorced"/>
> <MaritalStatus rdf:ID="Single"/>
> <MaritalStatus rdf:ID="Widowed"/>
> 
> Presumably, this is where the four values were gotten from.  Something
> seems fishy here.  

I see your concern. The main thing to say on this is that it is a trust
issue:

	"Whether resources declared to be of type MaritalStatus in
	another graph are trusted is an application level decision."
	(from http://www.w3.org/TR/PR-rdf-schema/ 7.1)

In other words, the core schema machinery only lets you say that
'maritalStatus' makes sense for values that are of rdf:type
MaritalStatus. What this minimalistic spec doesn't itself give you is a
comprehensive framework for figuring out whose data to trust. How one
sets about this is likely to depend on details of your application; in
some contexts, for example, it might be rather useful to learn about new
instances of such classes. In others, this could be a security
concern (as could trusting the contents of random XML or RDF data in general).

Earlier working drafts listed this topic as an open issue (which was
resolved ultimately in favour of minimalism). Here's the text from 
http://www.w3.org/TR/1998/WD-rdf-schema-19980814/

	C.12. Class Sealing

	We would like to define a mechanism for 'sealing' an RDF Class, so that
	it becomes illegal to make certain RDF
	statements involving it. This is loosely analogous to the notion of
	'final' classes in Java / OO programming. We might,
	for example, want to stop people creating subclasses of the class, or
	creating property types which have that class as
	their domain. The degree of sophistication required of the class sealing
	mechanism is as yet unclear: we might (for example) wish to
	consider the feasibility of using digital signatures in this context.
 


		I am having difficulty relating this to my Java
> background.  In Java, if I create a class MaritalStatus:
[...]

The analogy with Java can be overstretched, but this was a good
comparison. In both cases, any object/resource that was known to be of
the appropriate type would be allowed. The difference is that in RDF/Web
context, we won't necessarily believe every assertion that some resource
is of a certain type. 

hope this helps,

dan




--
Daniel.Brickley@b...                  
Institute for Learning and Research Technology http://www.ilrt.bris.ac.uk/
University of Bristol,  Bristol BS8 1TN, UK.   phone:+44(0)117-9287096


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.