W3C home > Mailing lists > Public > public-rdf-wg@w3.org > February 2013

Re: Problem with auto-generated fragment IDs for graph names

From: Gregg Kellogg <gregg@greggkellogg.net>
Date: Thu, 14 Feb 2013 13:59:21 -0500
To: Pat Hayes <phayes@ihmc.us>
CC: Eric Prud'hommeaux <eric@w3.org>, Manu Sporny <msporny@digitalbazaar.com>, RDF WG <public-rdf-wg@w3.org>, Linked JSON <public-linked-json@w3.org>
Message-ID: <99198A44-BFBC-43B8-A8E6-313ECC0412F5@greggkellogg.net>
On Feb 14, 2013, at 10:36 AM, Pat Hayes <phayes@ihmc.us> wrote:

> On Feb 14, 2013, at 11:13 AM, Pat Hayes wrote:
>> ... It amounts to treating the labelling pairing as an equation: <name> = <graph>,
> actually <name> = [ <graph> ] 
> where [   ] indicates some form of quotation. which makes better sense.

I also see value in being able to reference a graph without naming it. In Manu's case, AFAIU, the problem with absolutely naming the graph containing the statements is that it opens up the protocol to various attack vectors. The nature of payment messages is that they don't have a base IRI, but it would still be useful to be able to describe the message contents using RDF. Using a document-local IRI is sort of an oxymoron, particularly if the document doesn't, itself, have a location. Using something like a urn:graph:1 is also problematic, as if the documents are ever manifest within a datastore, there would be a number of collisions on this graph identifier.

For quoting, I support using the normal TriG/JSON-LD mechanism for identifying graphs, rather than a literal serialized in some format, such as I believe came up before:

_:foo dc:created "today"; :quotedGraph ":s :p :o"^^rdf:TurtleGraphLiteral .

binding a concrete syntax to it's abstract representation (as a literal) is not general across formats, and does not convenient expose the statements of the quoted graph. Being able to refer to statements in a graph, without providing an IRI to name that graph is useful, as Eric has pointed out.

{_:foo dc:created "today" }
_:foo { :s :p :o }

I, for one, always supported the name of a graph as a denoting that graph.


> Pat
> ------------------------------------------------------------
> IHMC                                     (850)434 8903 or (650)494 3973   
> 40 South Alcaniz St.           (850)202 4416   office
> Pensacola                            (850)202 4440   fax
> FL 32502                              (850)291 0667   mobile
> phayesAT-SIGNihmc.us       http://www.ihmc.us/users/phayes
Received on Thursday, 14 February 2013 19:01:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:04:25 UTC