From: Henry Story <henry.st...@bblfish.net>
Date: Sun, 16 Jul 2006 09:46:07 +0200
Local: Sun, Jul 16 2006 3:46 am
Subject: Re: Extensions and Extension Attributes
Well thinking about this a little more I found a solution to the
namespace mismatch problem: Invent a simple awol uri. So to take the thread example <a:link rel="replies" href="foo" thr:count="10" xmlns:thr="http:// we can find a url for thr:count by construction quite simply: http://bblfish.net/work/atom-owl/2006-06-06/ext/http://purl.org/ We can then create our own prefix @prefix thr: <http://bblfish.net/work/atom-owl/2006-06-06/ext/http:// And then we too can write, without fear of trading on someone's toes [] :link [ a :Link; If these spec writers ever decide on an official rdf url for their thr:coundt owl:sameAs thread:count . So the trick is to find a good construction mechanism. It would be Henry On 15 Jul 2006, at 19:11, Henry Story wrote: > 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: >>> 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 >> 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.
| ||||||||||||||