Re: RDF dataset semantics again

On 08/22/2012 12:30 PM, Antoine Zimmermann wrote:
>
>
> Le 22/08/2012 16:47, Sandro Hawke a écrit :
>> On 08/22/2012 10:26 AM, Kingsley Idehen wrote:
>>> On 8/22/12 9:38 AM, Steve Harris wrote:
>>>> On 2012-08-22, at 09:28, Antoine Zimmermann wrote:
>>>>> And if one wants to quote graphs, maybe they should use double 
>>>>> quotes:
>>>>>
>>>>> <g> ex:hasGraph "<s> <p> <o>"^^ex:Graph .
>>>> Agreed about that.
>>> +1
>>
>> Surely you mean ex:TurtleGraph.
>
> Maybe, whatever, it was just an example. In both cases, it makes a 
> valid and consistent RDF Graph. Then it's all a matter of having the 
> right datatype map in the application.
>
>
>> So what would you do in JSON-LD or RDFa or RDF/XML? Still a turtle-graph
>> literal?
>>
>> And have you tried to use this for real, with real URIs?
>
>
> Use? What do you mean? I can put it on the Web, it validates, I can do 
> RDFS reasoning with it, etc. But to be useful, you'd need to to do 
> something specific in your application to deal with these special 
> literals.
> But if you don't care about quoted graphs, it's not causing 
> interoperability breakage as it's valid, good'old RDF.
>
>
>>
>> I could live with it if there were a syntactic sugar, probably involving
>> curly braces. :-)
>
> Yes, the syntax is not really practical.
>

Indeed.   But, yes, it's a nice way to think about the semantics. I 
understood it to be a way the WG was not okay with.

One bit that doesn't quite work is that some of the use cases require 
blank nodes to be shared between named graphs.  That would be rather 
strange with this literal-strings model.

      -- Sandro

>>
>> - s
>>
>>>>
>>>> Another (uglier!) representation would be
>>>> <g> ex:hasGraph
>>>> <data:text/turtle;charset=UTF-8,%3Cs%3E%20%3Cp%3E%20%3Co%3E> .
>>>>
>>>> Which would also allow you to make statements about the quoted graph
>>>> <data:text/turtle;charset=UTF-8,%3Cs%3E%20%3Cp%3E%20%3Co%3E> dc:date
>>>> "2012-08-22T14:29:23Z"^^xsd:dateTime .
>>>
>>> +1
>>>
>>>>
>>>> - Steve
>>>>
>>>
>>>
>>
>>
>>
>

Received on Wednesday, 22 August 2012 16:37:52 UTC