W3C home > Mailing lists > Public > semantic-web@w3.org > March 2005

RE: Style question

From: Kirkham, Pete (UK) <pete.kirkham@baesystems.com>
Date: Tue, 08 Mar 2005 13:17:13 +0000
To: ben syverson <w3@likn.org>, semantic-web@w3.org
Message-id: <820DBA1A8ECA1D45A557AFD03CF4DEE06E5064@glkms0015>


I'd agree that view source is useful for html and document-based XML (both of which do not have to deal with globally unique nodes), but it's not relevent to RDF/XML, as the encoding is already broken as far as human readability is concerned. If you want human editable node docs, use XHTML and a style sheet to generate the RDF (or whatever format your chat-bot is working on); don't expect anyone who isn't an expert to be looking at your RDF sources. So it does just come down to your preference- reuse an existing mapping scheme or use your own name mangling to XML-ify the human readable names. If you make it obscure using a hash, then you won't get problems with users complaining they can't put in non-xml tagname characters.

I think your user would rather do view source and get something like:

<... namespaces and schema reference
 <Person name="Becca" eyeColor="brown,green"
   uuid="ed68d480-85b7-11d9-9669-0800200c9a66">
   <owns xmi:type="Car" licensePlate="BEX" color="brown">
     <aquiredThrough xmi:type="Purchase">
	  <supplier href="http://cars.example.org"
          uuid="ed68fb9b-85b7-11d9-9669-0800200c9a66"/>
	  <cost xmi:type="Payment" amount="2000" currency="USD"/>
     </aquiredThrough>
   </owns>
 </Person>

Than RDF/XML; if the people working on mapping XMI2->RDF get it done, then you wont even have to write the transform between the two yourself. (of course, there could be an RDF2 just like there was an XMI2 that removed the noise and half the bandwidth, but there doesn't seem anything like the take-up of RDF that there is of UML in production software to drive it).

Are you talking about instance data or classifier definitions anyway?

Is the user expected to know that because you are re-using dublin core, the name of the person is labelled dc:title because that is what is the title of a machine addressible resource, even though common use for 'title' means Mr, Ms etc? How much education of your users into that sort of nicety do you envision giving prior to them being able to 'view source'?


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.
********************************************************************
Received on Tuesday, 8 March 2005 13:40:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 07:41:45 UTC