ShareRequestRDF
RDF wrapper for an solidshare:AccessRequest inbox notification — the payload sent by a requester to a resource owner's LDN inbox:
<#req>
rdf:type interop:AccessRequest ;
as:actor <{requesterWebId}> ;
as:object <{resourceUri}> ;
as:target <{ownerWebId}> ;
acl:mode acl:Read ;
as:summary "Please share these photos with me." ;
as:published "…"^^xsd:dateTime .The activity is typed with the SAI term interop:AccessRequest; a solidshare:AccessRequest type is also recognised. The requested mode is read from the standard WAC acl:mode IRI (aclModes), falling back to a solidshare:requestedMode literal (requestedMode).
The reflective constructor required by the Solid resource parser is provided.
Constructors
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.
Fallback requested-mode literal (solidshare:requestedMode "read").
Subject of the first AccessRequest in the document, or null.