-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add Solid Notifications Protocol vocabulary and update stat
- Loading branch information
Showing
5 changed files
with
532 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,151 @@ | ||
@prefix notify: <http://www.w3.org/ns/solid/notifications#> . | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
@prefix dcterms: <http://purl.org/dc/terms/> . | ||
@prefix vs: <http://www.w3.org/2003/06/sw-vocab-status/ns#> . | ||
@prefix vann: <http://purl.org/vocab/vann/> . | ||
|
||
<http://www.w3.org/ns/solid/notifications#> | ||
a owl:Ontology ; | ||
dcterms:license <https://creativecommons.org/publicdomain/zero/1.0/> ; | ||
rdfs:label "Solid Notifications"@en ; | ||
rdfs:comment "The vocabulary used by the Solid Notifications Protocol specification."@en ; | ||
rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ; | ||
rdfs:seeAlso <https://solidproject.org/TR/notifications-protocol> ; | ||
dcterms:issued "2022-12-31"^^xsd:date ; | ||
vann:preferredNamespacePrefix "notify" ; | ||
vann:preferredNamespaceUri "http://www.w3.org/ns/solid/notifications#"^^xsd:anyURI . | ||
|
||
# --------- | ||
# Classes | ||
# --------- | ||
notify:EventSourceChannel2023 | ||
a rdfs:Class ; | ||
rdfs:label "EventSourceChannel2023" ; | ||
rdfs:comment "A notification channel type that uses the EventSource Web API."@en ; | ||
rdfs:isDefinedBy <https://solid.github.io/notifications/eventsource-channel-2023> ; | ||
vs:term_status "testing" . | ||
|
||
notify:LDNChannel2023 | ||
a rdfs:Class ; | ||
rdfs:label "LDNChannel2023" ; | ||
rdfs:comment "A notification channel type that uses the Linked Data Notifications protocol."@en ; | ||
rdfs:isDefinedBy <https://solid.github.io/notifications/ldn-channel-2023> ; | ||
vs:term_status "testing" . | ||
|
||
notify:StreamingHTTPChannel2023 | ||
a rdfs:Class ; | ||
rdfs:label "StreamingHTTPChannel2023" ; | ||
rdfs:comment "A notification channel type that uses the Fetch API."@en ; | ||
rdfs:isDefinedBy <https://solid.github.io/notifications/streaming-http-channel-2023> ; | ||
vs:term_status "testing" . | ||
|
||
notify:WebhookChannel2023 | ||
a rdfs:Class ; | ||
rdfs:label "WebhookChannel2023" ; | ||
rdfs:comment "A notification channel type that uses Webhooks."@en ; | ||
rdfs:isDefinedBy <https://solid.github.io/notifications/webhook-channel-2023> ; | ||
vs:term_status "testing" . | ||
|
||
notify:WebSocketChannel2023 | ||
a rdfs:Class ; | ||
rdfs:label "WebSocketChannel2023" ; | ||
rdfs:comment "A notification channel type that uses the WebSocket API."@en ; | ||
rdfs:isDefinedBy <https://solid.github.io/notifications/websocket-channel-2023> ; | ||
vs:term_status "testing" . | ||
|
||
# ------------ | ||
# Properties | ||
# ------------ | ||
notify:accept | ||
a rdf:Property ; | ||
rdfs:label "accept"@en ; | ||
rdfs:comment "The media types that are acceptable by the recipient of a notification with value corresponding to the HTTP Accept header value [RFC7231]."@en ; | ||
rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ; | ||
vs:term_status "testing" . | ||
|
||
notify:channel | ||
a rdf:Property ; | ||
rdfs:label "notification channel"@en ; | ||
rdfs:comment "A property used to indicate an available notification channel."@en ; | ||
rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ; | ||
vs:term_status "testing" . | ||
|
||
notify:channelType | ||
a rdf:Property ; | ||
rdfs:label "notification channel type"@en ; | ||
rdfs:comment "A property used to indicate the notification channel type."@en ; | ||
rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ; | ||
vs:term_status "testing" . | ||
|
||
notify:endAt | ||
a rdf:Property ; | ||
rdfs:label "end at"@en ; | ||
rdfs:comment "The proposed or actual ending date and time of a notification channel with value represented in the xsd:dateTime datatype."@en ; | ||
rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ; | ||
vs:term_status "testing" . | ||
|
||
notify:feature | ||
a rdf:Property ; | ||
rdfs:label "feature"@en ; | ||
rdfs:comment "A property used to describe the features supported by a particular notification channel."@en ; | ||
rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ; | ||
vs:term_status "testing" . | ||
|
||
notify:rate | ||
a rdf:Property ; | ||
rdfs:label "rate"@en ; | ||
rdfs:comment "The minimum amount of time to elapse between notifications sent to receiver with value represented in the xsd:duration datatype."@en ; | ||
rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ; | ||
vs:term_status "testing" . | ||
|
||
notify:receiveFrom | ||
a rdf:Property ; | ||
rdfs:label "receive from"@en ; | ||
rdfs:comment "The property used to identify the resource that can be used to establish a connection to receive notifications."@en ; | ||
rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ; | ||
vs:term_status "testing" . | ||
|
||
notify:sender | ||
a rdf:Property ; | ||
rdfs:label "sender"@en ; | ||
rdfs:comment "The property used to identify the party that sends notifications."@en ; | ||
rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ; | ||
vs:term_status "testing" . | ||
|
||
notify:sendTo | ||
a rdf:Property ; | ||
rdfs:label "send to"@en ; | ||
rdfs:comment "The property used to identify the resource that can accept notifications."@en ; | ||
rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ; | ||
vs:term_status "testing" . | ||
|
||
notify:startAt | ||
a rdf:Property ; | ||
rdfs:label "start at"@en ; | ||
rdfs:comment "The proposed or actual starting date and time of a notification channel with value represented in the xsd:dateTime datatype."@en ; | ||
rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ; | ||
vs:term_status "testing" . | ||
|
||
notify:state | ||
a rdf:Property ; | ||
rdfs:label "state"@en ; | ||
rdfs:comment "The last known state of a resource (topic) with value represented in the xsd:string datatype."@en ; | ||
rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ; | ||
vs:term_status "testing" . | ||
|
||
notify:subscription | ||
a rdf:Property ; | ||
rdfs:label "subscription"@en ; | ||
rdfs:comment "A property used to indicate an available subscription service."@en ; | ||
rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ; | ||
vs:term_status "testing" . | ||
|
||
notify:topic | ||
a rdf:Property ; | ||
rdfs:label "topic"@en ; | ||
rdfs:comment "The IRI of a resource about which a client would like to receive notifications."@en ; | ||
rdfs:isDefinedBy <http://www.w3.org/ns/solid/notifications#> ; | ||
vs:term_status "testing" . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
@prefix stat: <http://www.w3.org/ns/posix/stat#> . | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
|
||
stat: a owl:Ontology ; | ||
rdfs:comment "POSIX File Status" . | ||
|
||
stat:dev a rdf:Property, owl:FunctionalProperty ; | ||
rdfs:comment "ID of device containing file" ; | ||
rdfs:range xsd:int . | ||
|
||
stat:ino a rdf:Property, owl:FunctionalProperty ; | ||
rdfs:comment "inode number" ; | ||
rdfs:range xsd:long . | ||
|
||
stat:mode a rdf:Property, owl:FunctionalProperty ; | ||
rdfs:comment "protection" ; | ||
rdfs:range xsd:short . | ||
|
||
stat:nlink a rdf:Property, owl:FunctionalProperty ; | ||
rdfs:comment "number of hard links" ; | ||
rdfs:range xsd:int . | ||
|
||
stat:uid a rdf:Property, owl:FunctionalProperty ; | ||
rdfs:comment "user ID of owner" ; | ||
rdfs:range xsd:int . | ||
|
||
stat:gid a rdf:Property, owl:FunctionalProperty ; | ||
rdfs:comment "group ID of owner" ; | ||
rdfs:range xsd:int . | ||
|
||
stat:rdev a rdf:Property, owl:FunctionalProperty ; | ||
rdfs:comment "device ID (if special file)" ; | ||
rdfs:range xsd:int . | ||
|
||
stat:size a rdf:Property, owl:FunctionalProperty ; | ||
rdfs:comment "total size, in bytes" ; | ||
rdfs:range xsd:long . | ||
|
||
stat:blksize a rdf:Property, owl:FunctionalProperty ; | ||
rdfs:comment "blocksize for file system I/O" ; | ||
rdfs:range xsd:int . | ||
|
||
stat:blocks a rdf:Property, owl:FunctionalProperty ; | ||
rdfs:comment "number of 512B blocks allocated" ; | ||
rdfs:range xsd:long . | ||
|
||
stat:atime a rdf:Property, owl:FunctionalProperty ; | ||
rdfs:comment "time of last access" ; | ||
rdfs:range xsd:dateTime . | ||
|
||
stat:mtime a rdf:Property, owl:FunctionalProperty ; | ||
rdfs:comment "time of last modification" ; | ||
rdfs:range xsd:dateTime . | ||
|
||
stat:ctime a rdf:Property, owl:FunctionalProperty ; | ||
rdfs:comment "time of last status change" ; | ||
rdfs:range xsd:dateTime . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.