W3C home > Mailing lists > Public > public-rdf-star@w3.org > January 2021

Re: [RDF*] How to model multiple uses of relations

From: Andy Seaborne <andy@apache.org>
Date: Mon, 4 Jan 2021 10:52:37 +0000
To: public-rdf-star@w3.org
Message-ID: <02b6a99c-9335-1b4a-f0a3-dd9a678d03d0@apache.org>


This has been discussed on this list around


RDF-star gives the building block(triple terms, <<>>) it does not 
necessarily address every usecase directly, somestimes it needs 
structure on top of the building block (this is true in RDF generally).


On 03/01/2021 18:05, Laura Morales wrote:
> In property graphs it's possible to use a relation multiple times, for example
>      Foobar -[president_of {from: 1950, to:1954}]-> Japan
>      Foobar -[president_of {from: 1962, to:1966}]-> Japan
> where "from" and "to" are to properties of the "president_of" relation. This is an old problem that has always remained impossible to translate to RDF. In RDF there is only one relation, one "link" from a node to another. There cannot be 2 different relations with the same name.
> I wonder, does RDF* change anything in regard to this behavior? I guess it does not but... I'd still like to ask anyway. For example the following Turtle* will not achieve that, right?
>      << :foobar :president_of :japan >> from: 1950 ; to: 1954 .
>      << :foobar :president_of :japan >> from: 1962 ; to: 1966 .
> :president_of is always the same one relation, correct?
Received on Monday, 4 January 2021 10:52:52 UTC

This archive was generated by hypermail 2.4.0 : Monday, 4 January 2021 10:52:53 UTC