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

Re: edge attributes in JSON-LD

From: Gregg Kellogg <gregg@greggkellogg.com>
Date: Wed, 24 Jul 2013 10:44:29 -0700
Message-ID: <6472508807384966216@unknownmsgid>
To: Markus Lanthaler <markus.lanthaler@gmx.net>
Cc: "public-linked-json@w3.org" <public-linked-json@w3.org>
Another way to do this, but it isn't RDF strictly speaking,, is to use
bnode sub-properties to label the edges and then assert properties on
those bnodes.

Gregg Kellogg
Sent from my iPhone

On Jul 24, 2013, at 10:33 AM, Markus Lanthaler <markus.lanthaler@gmx.net> wrote:

> Hi Cirrus
>
> On Wednesday, July 24, 2013 3:00 AM, Shakeri, Cirrus wrote:
>> Hello,
>>
>> What is the best way to represent attributes of the edges
>> of a property graph in JSON-LD? Please provide an example if
>> possible..
>
> As always, it depends. You could either use named graphs to associate
> attributes to a number of triples/edges, create n-ary relations (see [1] for
> an intro) or reification [2]. Let me know if you have troubles to convert
> those patterns to JSON-LD.
>
>
> [1] http://www.w3.org/TR/swbp-n-aryRelations/
> [2] http://www.w3.org/TR/rdf-primer/#reification
>
>
> --
> Markus Lanthaler
> @markuslanthaler
>
>
Received on Wednesday, 24 July 2013 17:44:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:38 UTC