Re: edge attributes in JSON-LD

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