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

Re: Short Essay: Squeezing RDF into a Java Object Model

  • From: David Megginson <david@m...>
  • To: "XML Developers' List" <xml-dev@i...>
  • Date: Mon, 3 May 1999 14:48:37 -0400 (EDT)

java isxml
W. E. Perry writes:

 > David Megginson wrote:
 > > Obviously, there's a much more complex model underlying RDF than the
 > > spec lets on, and that model affects not only the ease or difficulty
 > > of implementing an object model, but also the difficult of many
 > > standard operations like queries against a collection of RDF
 > > statements and storage in a relational database.

 > May I respectfully submit that the problem is not the complexity of
 > the model underlying RDF, but its simplicity and relative freedom
 > from restriction, permitting the very sort of extension that leads
 > to the implementational problems David Megginson illustrates.

I'm not certain that I follow -- I did not consider extensions at all
in my essay.

Certainly, it is possible to build complex layers on top of a simple
data model, and much of what is in the RDF-syntax spec (such as the
containers, rdf:type, rdf:value, rdf:Statement, etc.)  together with
all of the RDF-schema spec can be taken in that light; as a result, I
considered none of that in my model.

The problem is that the bottom-level, primitive model required for RDF
support is itself rather complicated.  It is certainly fair, in the
model, to include

- Subject
- Predicate
- Object

but you also have to specify what a Subject, Predicate, and Object
are.  They are not simply resources/URIs, but have properties of their 

- value
- isPrefix?

- value

- value
- language
- isResource?
- isXML?

This is the bare-bones RDF data model, according to my reading of the
spec.  Now, I will certainly admit that I have not been involved in
the RDF design process, and may have misunderstood something: I
encourage all members of XML Dev to feel free to correct me, no matter
how experienced or inexperienced they may be with RDF.

 > Effectively it is just such a cumulative body of metadata which
 > David Megginson is seeking. It would provide the ability to refer
 > to components larger than simple subjects, predicates and objects,
 > such as resources as objects or prefixes as subjects. Such a
 > framework would comprehend and permit reference to any such objects
 > either top-down, from the perspectives of their larger containers,
 > or bottom-up from the perspective of their sub-components.

I don't think that that's what I was looking for, though it certainly
sounds interesting.  Right now, I'm just considering the smallest
possible data model required for implementing the RDF-syntax

All the best,


David Megginson                 david@m...

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...)


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.
First Name
Last Name
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.