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

RE: The triples datamodel -- was Re: Semantic Webper

  • To: Mark Baker <distobj@a...>, XML Developers List <xml-dev@l...>
  • Subject: RE: The triples datamodel -- was Re: Semantic Webpermathread, iteration n+1
  • From: "Kirkham, Pete (UK)" <pete.kirkham@b...>
  • Date: Fri, 04 Jun 2004 10:53:11 +0100
  • Thread-index: AcRJ0ZTtFCP4VslmSImSiQ6m7dy8ygARAh7g
  • Thread-topic: The triples datamodel -- was Re: Semantic Webpermathread, iteration n+1

datamodel example


> Mark Baker
> FWIW, I've got a simple example that I like to use to describe the
> benefits of RDF/XML over XML;
>
> http://www.markbaker.ca/2002/09/Blog/2003/10/09/#2003-10-rdf-and-xml
>

According that example, RDF allows you to deduce:
># that there exists a resource of type "http://example.org/foofoo/Person" someplace, with properties "http://example.org/foofoo/name" and "http://example.org/foofoo/age" with those values
># that additional properties can be added without impacting the meaning of the former interpretation,
># various other possible syntactic additions or modifications which can be used to extend the current semantics in a backwards compatible way, if desired.

I'd agree that these are highly desirable properties, which is why pretty well all of my XML applications in the last five years have used XMI, despite it's verbosity. Assuming you apply XMI encoding rules live dynamically from your metamodel rather than using XMI to generate a schema by which you validate, XMI supports both adding properties, implies a type from the container element name, allows syntactic variations, is tolerant of re-ordering and different graph serialisation mechanics.

In fact, in XMI version 2 the 'container.' part on property element names is dropped  and much of the verbosity is reduced, so the example XML fragment is also valid XMI, with almost the same semantics:
# that there exists an OBJECT of type "http://example.org/foofoo/Person" someplace, with properties "name" and "age" with those values.
(other semantics unchanged)

Can RDF/XML be used for 'evolution' rather than addition of properties, so that something that was a real in an early version of a model is replaced in later version to (an encoded representation of the properties of) a function that returns a real? Is allowing first class properties a killer feature? Are the UML team shooting themselves in the foot by specifying XMI 2 as a production of a WXS schema from the metamodel rather than as a metamodel driven encoding mechanism?


Pete

********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

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.