ReceivedSharesIndexRDF
RDF wrapper for {podRoot}/solidshare/shares/received_shares.ttl.
Symmetric to GivenSharesIndexRDF: each received share is a reified record node whose counterpart is the resource's owner, carrying the time the share was recorded:
<#share-…>
rdf:type solidshare:Share ;
solidshare:resource <resourceUri> ;
solidshare:owner <ownerWebId> ;
acl:mode acl:Read ;
dcterms:created "2026-06-04T12:00:00Z"^^xsd:dateTime .Legacy reads. Earlier versions stored a bare <ownerWebId> <acl:mode> <resourceUri> triple with no node and no time; getShares still surfaces those (with addedAt = null).
Constructors
Types
One reified solidshare:Share record. subject is the node IRI (the writer targets patch deletes at it); mode is the strongest acl:mode asserted; addedAt is the record's dcterms:created, or null. resourceType / resourceName are the record's solidshare:resourceType IRI and dcterms:title, both null on untyped (file/folder) records.
Functions
Returns the object values of every triple with the given predicate, across all subjects.
Returns the object value of the first triple with the given predicate, or null if none.
Returns a snapshot copy of all triples held by this resource.
The media type of the resource representation (the value of its Content-Type).
The creation time in epoch milliseconds, from this resource's own dcterms:created (then stat:ctime) triple, or null when neither is present.
Returns the resource representation as a byte stream.
The HTTP headers associated with this resource (empty when constructed locally).
The URI that identifies this resource on the pod.
The last-modified time in epoch milliseconds. Prefers this resource's own dcterms:modified (then stat:mtime) triple and falls back to the Last-Modified header. null when none is present.
Shares stored in the legacy bare-triple form <ownerWebId> <acl:mode> <resourceUri> (no record node, addedAt = null).
The reified received-share records (node form only — excludes legacy flat rows).
Every received share, one row per (ownerWebId, resourceUri) at the strongest mode: reified records first, then any legacy rows for pairs they don't cover, folded via collapseByOwner so an owner never appears more than once per resource.