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

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

From: Pat Hayes <phayes@ihmc.us>
Date: Tue, 19 Feb 2013 14:54:50 -0600
Cc: Markus Lanthaler <markus.lanthaler@gmx.net>, public-linked-json@w3.org, 'RDF-WG' <public-rdf-wg@w3.org>
Message-Id: <85C3E7C1-5ECF-4E88-AC94-AB1A9D52005A@ihmc.us>
To: Andy Seaborne <andy.seaborne@epimorphics.com>

On Feb 19, 2013, at 9:10 AM, Andy Seaborne wrote:

> 
> 
> On 19/02/13 04:27, Pat Hayes wrote:
>> 
>> On Feb 18, 2013, at 1:13 PM, Andy Seaborne wrote:
>> 
>>> 
>>> 
>>> On 18/02/13 18:19, Markus Lanthaler wrote:
>>>> On Monday, February 18, 2013 7:01 PM, Andy Seaborne wrote:
>>>>> You, JSON-LD, can add the constraint that a bNode/IRI is
>>>>> actually referring to the graph.
>>>> 
>>>> if that's not standardized across all RDF dataset syntaxes you
>>>> couldn't transform the JSON-LD data to another syntax.
>>> 
>>> Hence my suggestion for using IRIs minted by the parser because you
>>> can define them to denote the graph.
>> 
>> How do you do this, Andy?
> 
> The IRI being minted is under the control of the JSON-LD spec - it gets to define its meaning.
> 
>> How is this act of definition recorded?
> 
> I suggest in the default graph.  But Manu suggests that being under control of JSON-LD is enough.

I dont think it is, unless there is some kind of guarantee that this RDF will never get published or relased in the wild. But in that case, why bother using RDF?

> 
>> If
>> I read a dataset somewhere on the Web and it has IRIs in it,  how
>> would I know that they had been "defined" in this way so that I knew
>> they were intended to denote a graph?
> 
> Either know the provenance of the data or look at the URI pattern and know it's JSON-LD generated.

OK, I see how that works now, thanks. This could be described as skolemization, in fact, of a recognizable kind done by JSON-LD parsing. JSON-skolemization. It has all the merits (no bnodes) and demerits (doesn't *really* preserve meaning, introduces spurious global IDs) that skolemization has in other places. 

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
>> 
>> 
>> 
>> 
>> 
> 
> 

------------------------------------------------------------
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 Tuesday, 19 February 2013 20:55:25 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:25:54 GMT