On Sat, 6 Nov 2010 12:33:34 +0000
Ian Davis <[email protected]> wrote:

> On a practical level using frags can be inefficient when your linked
> data output is backed by a triple store. If you use a slash URI then
> generating the data for html/xml/turtle output is just a simple
> "describe <uri>". For hash URIs you need to describe all the resources
> with a common prefix because the fragment is not sent by the browser
> with the request. That might mean a filter with a regex or string
> functions which will be more inefficient.

Not necessarily. If you take your ex:isDescribedBy predicate and add
that to a triple store where the non-Information-Resource resources are
identified using hash URIs, then the SPARQL query is just:

        DESCRIBE <uri> ?res
        WHERE { ?res ex:isDescribedBy <uri> . }

which needn't be very slow.

> The other downside of fragments is you can't say "it exists but I have
> no description of it".

<#foo> a rdfs:Resource .

-- 
Toby A Inkster
<mailto:[email protected]>
<http://tobyinkster.co.uk>


Reply via email to