Re: [External] : support for "bare" edges

fixed a typo in the Turtle example.

________________________________
From: Souripriya Das <souripriya.das@oracle.com>
Sent: Sunday, March 10, 2024 8:23 AM
To: RDF-star WG <public-rdf-star-wg@w3.org>
Subject: [External] : support for "bare" edges

Here is a scenario where surface syntax support for "bare" edges (i.e., edges with no annotations) is important.

Consider two entities: Workers and Jobs, and a binary relationship "worksOn" connecting those two entities. There is also an attribute "daysPerWeek" for the "worksOn"  relationship. Most  workers work full-time. Only a handful that work part-time and "daysPerWeek" is populated only for part-time workers.

A PG-minded user wants to only use "atomic" reifications because that is closest to the concept of edges in PG and comes up with the following:

:e1 rdf:reifies <<( :w1 :worksOn :job1  )>> .
:e2 rdf:reifies <<( :w2 :worksOn :job1 )>> .
:e2 :daysPerWeek 3 .

The ability to have a bare edge like :e1 above is important to avoid unnecessary increase in data size. Also, just to compare with PG, bare edges (i.e., edges with no edge-properties) are fully supported in PG.

Using Turtle shortcuts, the 2nd and 3rd triple above may be compacted into a single statement.

:e1 rdf:reifies <<( :w1 :worksOn :job1 )>> .
<< :e2 | :w2 :worksOn :job1 >> :daysPerWeek 3 .

Thanks,
Souri.

Received on Sunday, 10 March 2024 12:34:48 UTC