RDF, again

David Megginson david at megginson.com
Tue Nov 23 12:08:07 GMT 1999


Paul Prescod <paul at prescod.net> writes:

> Let's try it this way: RDF is hardly taking over the world today. I
> claim that that confusion stems primarily from several factors, but
> at least one of them is syntax.

Well, RDF is making some progress behind the scenes, but it's hardly a
tidal wave, and I'd agree with Paul that the overly-complex syntax is
the biggest barrier.  The schema spec is nice and simple, though.

> The syntax is brutally complex because it reintroduces minimization
> hacks like the ones XML took out of SGML. 

Yes, that is very unfortunate.

> Without the minimization hacks, the syntax is verbose and hard to
> read.

That's inevitable for any kind of object exchange, though -- it's the
nature of the normalized object-oriented information.

Here's some mostly non-minimized RDF (using only the rdf:type as class
name):

  <foo:Person rdf:about="http://www.foo.com/ids/3645">
    <dc:title>Paul Prescod</dc:title>
    <foo:email>paul at prescod.net</foo:email>
    <foo:employer rdf:resource="http://www.foo.com/ids/0739"/>
  </foo:Person>

  <foo:Organization rdf:about="http://www.foo.com/ids/0739">
    <dc:title>ISOGEN</dc:title>
    <foo:parent-org rdf:resource="http://www.foo.com/ids/2957"/>
  </foo:Organization>

  <foo:Organization rdf:about="http://www.foo.com/ids/2957">
    <dc:title>DataChannel</dc:title>
  <foo:Organization>

It's a little verbose, but it does keep the data properly normalized
and uniquely identified.  The XMI for this might be a little less
readable, I'd think.


All the best,


David

-- 
David Megginson                 david at megginson.com
           http://www.megginson.com/

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





More information about the Xml-dev mailing list