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

RE: About OWL syntax


owl instance rdf
Hi John,

John said:
That is intentional in the RDF Schema design: properties are a primitive
notion distinct from classes.  This allows you to add your own properties
to existing classes.  For example, you might define the class your:book,
with properties dc:title, dc:author, isbn:isbn, and your:rating, the last
representing what you think of the book.  I could then add new properties
to the class such as my:rating or my:criticizesW3C.  This is part of the
support machinery for the design principle "anyone can say anything about
anything in RDF".

-- 
Didier replies:
I can also bring on the table that an RDF instance expressed as:

<rdf:description about="#myUniqueIdentifier">
  <property1>value1</property1>
  <property2>value2</property2>
  <property3>value3</property3>
</rdf:description>

This statement is located in one file. Let's then have another RDF statement
in another file:

<rdf:description about="#myUniqueIdentifier">
  <property4>value1</property4>
</rdf:description>

I don't include here scenarios where a specific property value in one file
is different form the value in the other but more the case, when a new
property and its associated value is specified in another file. RDF allows
me to add this new "triple" to the resource and come out with the following
result
<rdf:description about="#myUniqueIdentifier">
  <property1>value1</property1>
  <property2>value2</property2>
  <property3>value3</property3>
  <property4>value1</property4>
</rdf:description>

Now, I let you make the right inference. See, it is possible to have
properties "attached" to an "instance" and still have a distributed
definition. We can apply the same reasoning to classes and properties
definitions. I know, editors like protégé consider properties (i.e. slots)
as separate entities from classes (i.e. classes). This way of thinking
percolated in RDFS (but not in RDF since this latter was based on previous
languages like KIF and MCF). Object oriented languages have the advantage of
real life test (i.e. programmers using it) and from usability studies (a la
Ben schnederman). This is why class definitions are compact. Now translating
the composition rule inherent to frames (a la RDF) into classes and property
definitions and integrating what we learned with object oriented notations,
we end up with something more readable and usable. Therefore the question:
is it more convenient or more readable? The answer is no.

PS: Off course, in last resort, we can always use the argument that an
editor will hide that complexity. I would answer that it is needed since the
actual language is not very usable (from the usability perspective).

Cheers
Didier




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.