ShareNotificationRDF
RDF wrapper for one item in an LDN inbox — read as an as:Offer, as:Undo, or as:Reject activity:
<#offer>
rdf:type as:Offer ;
as:actor <{ownerWebId}> ;
as:object <{resourceUri}> ;
as:target <{receiverWebId}> ;
acl:mode acl:Read ;
as:published "2026-05-29T10:00:00Z"^^xsd:dateTime .Any of as:Offer, as:Update, as:Accept, as:Undo, or as:Reject are accepted. Notifications without a recognised type are returned with activityType = null and should be skipped by callers. The access mode is read from the standard WAC acl:mode IRI (aclModes); a solidshare:mode string literal (mode) is also accepted as a fallback.
The reflective constructor required by the Solid resource parser is provided.
Constructors
Functions
Subject of the first recognised activity in the document, or null.
Full type IRI of the activity, or null.
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.
Fallback access-mode literal (solidshare:mode "read"), if present.
schema:name asserted on the as:object node, if any.
RDF class IRI the sender asserted on the as:object node (<resourceUri> rdf:type <iri>) — a typed entity share's kind. Null when the notification carries no object description.