From: Henry Story <henry.st...@bblfish.net>
Date: Sat, 15 Jul 2006 19:11:01 +0200
Local: Sat, Jul 15 2006 1:11 pm
Subject: Re: Extensions and Extension Attributes
One major problem with mapping any extensions from xml to rdf has to
do with the "semantic gap" between xml namespaces and rdf names. xml namespaces are sadly enough *not* uris. It is only an rdf/xml interpretation to interpret all elements and attributes as referring to urls. This shows up in a number of ways. The atom namespace for example is: "http://www.w3.org/2005/Atom" So for example for the thread link extension, we cannot really just <http://purl.org/syndication/thread/1.0count> So my thinking is that we should deal with each extension on an case <a:link rel="replies" href="foo" thr:count="10" xmlns:thr="urn:foo" /> we will have to use [] :link [ a :Link; Of course as soon as we have an interpreter for this extension, (a [] :link [ a :Link; This is ugly of course. We need to create a special url for Of course people dealing with xml databases will find it much easier Of course people with xml databases will find it very unpleasant to Henry Story On 13 Jul 2006, at 22:58, Elias Torres wrote: > Henry Story wrote:
>> On 13 Jul 2006, at 16:38, Elias Torres wrote: >>> As you already know we are putting the final touches on the Atom/RDF >>> store and as we work with James Snell from Abdera and author of many >>> extensions, he found a "bug" as we don't support extension >>> attributes. >> This is exactly the right time to start playing with extensions. I >>> [snip] >>> #1 is not that bad: >>> :link [ a :Link; >>> thr:count "10"; # notice JS extension >> is thr:count a real extension btw? Do we have good examples for > As real as it gets. > http://www.ietf.org/internet-drafts/draft-snell-atompub-feed- >> I suppose in the end we will never be able to formulate a general >> By the way this could be an argument for making Link just simply >> :link [ a :Link; >> here we would be very close to the syntax. > Sure. >> Of course having something that simplifies things the way we have now > Not me. >> So keep this in mind as you work with extensions. >>> #2 is where the hill got a little steep: >> reminder to myself: we are dealing with this example: >> <a:id xmlns:x="urn:bar" >>> [snip] >>> [] :id [ >> By the way I wonder how this compares to using owl:sameAs . > Nothing that I read mentioned owl:sameAs . > http://esw.w3.org/topic/InterpretationProperties > http://www.w3.org/DesignIssues/InterpretationProperties > http://chatlogs.planetrdf.com/rdfig/2003-03-26.html#T18-31-10 >> [] :id [ owl:sameAs "urn:lsid:ex.org:entries:1"^^xsd:anyURI; >>> x:identifierType rdfs:type atom:extensionAttributeProperty; >>> Now because of atom:extensionAttributeProperty we can figure what >> ok. >>> Now onto extensions. >>> atom:extension rdfs:type atom:extensionElementProperty; >>> <a:entry> >>> [ :extension "<gd:when startTime="2005-06-06" endTime="2005-06-07" >> Yes. I agree. This is what one has to do, unless one is given some >>> Luckily, the only two things we need to pass to extension elements: >>> Now in case someone brings up the I would like to query the name of >>> Additionally, we could support :simpleExtension. >>> <a:entry> >>> [ >>> s:when rdf:type atom:simpleExtensionElementProperty . >> Yes. That looks good. >>> Regards, >> Looks like a really good start. Would you like to write up a little > k. We'll get to that bridge when we get there. ;) >>> Ben, Lee and I. You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||