|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RDF, again
Paul Prescod <paul@p...> 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@p...</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@m...
http://www.megginson.com/
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 unsubscribe, mailto:majordomo@i... the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








