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

[RDF*] How to model multiple uses of relations

From: Laura Morales <lauretas@mail.com>
Date: Sun, 3 Jan 2021 19:05:57 +0100
Message-ID: <trinity-e1d0895c-b885-4c77-8081-161e53f948ba-1609697157408@3c-app-mailcom-lxa05>
To: public-rdf-star@w3.org
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 Sunday, 3 January 2021 18:06:10 UTC

This archive was generated by hypermail 2.4.0 : Sunday, 3 January 2021 18:06:11 UTC