W3C home > Mailing lists > Public > public-openannotation@w3.org > July 2013

RE: JSON-LD Telecon Minutes for 2013-07-02

From: Markus Lanthaler <markus.lanthaler@gmx.net>
Date: Tue, 9 Jul 2013 11:23:38 +0200
To: "'Linked JSON'" <public-linked-json@w3.org>, "'RDF WG'" <public-rdf-wg@w3.org>, "'public-openannotation'" <public-openannotation@w3.org>
Message-ID: <012e01ce7c86$01f5c930$05e15b90$@lanthaler@gmx.net>
On Tuesday, July 09, 2013 6:46 AM, Pat Hayes wrote:
> On Jul 8, 2013, at 1:01 PM, Robert Sanderson wrote:
> > Something like:
> >
> > rdf:listHead  -- The object, which must be a blank node with rdf:type
> rdf:List, is the first entry in a list associated with the subject
> resource.
> 
> I guess I don't follow this. If the object is of type LIst, and it is
> the first item in a list, then you have a list of lists. Which is
> legal, but I don't see how it helps with the problem we have here. And
> what does "associated with" mean?

I think was Robert meant was something like

    <> rdf:ListHead _:head . 
    <> ... other properties of <> ...
    _:head rdf:type rdf:List .
    _:head rdf:first ...
    _:head rdf:rest _:item2 .
    _:item2 ...

If we decide to modify the JSON-LD algorithms (I expect we do that) you can
do something like this to associate other properties to the *list head*:

   {
     "@id": "_:head",
     ... other properties ...
     "rdf:first": "A",
     "rdf:rest": { "@list": [ "B", "C" ] }
   }

You can do exactly the same in Turtle

    _:head ... other properties ...
    _:head rdf:first "A".
    _:head rdf:rest ( "B", "C" ) .

Robert, would that address your problem?


--
Markus Lanthaler
@markuslanthaler
Received on Tuesday, 9 July 2013 09:24:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 9 July 2013 09:24:22 UTC