Skip to content

Commit

Permalink
Fix up solid terms ontology
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieubosquet committed Dec 13, 2020
1 parent 6b1da3f commit 4328be9
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 46 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ontl",
"version": "0.1.7",
"version": "0.1.8",
"description": "A collection of ontologies serialised in turtle, readable as stream.",
"main": "index.js",
"scripts": {
Expand Down
105 changes: 60 additions & 45 deletions solid_terms.ttl
Original file line number Diff line number Diff line change
@@ -1,97 +1,113 @@
@base <http://www.w3.org/ns/solid/terms> .
@prefix : <#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@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 cc: <https://creativecommons.org/ns#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix log: <http://www.w3.org/2000/10/swap/log#> .
@prefix ldp: <http://www.w3.org/ns/ldp#> .

<>
# See details within this document for linkage to specification and purpose.
# This ontology file is a non-normative supporting document.

# Solid ontology

## Ontology preferred namespace prefix and URI
prefix solid: <http://www.w3.org/ns/solid/terms#>

## Other namespaces used
### Core W3C ontologies (OWL 2 reserved vocabulary)
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#>
### Other ontologies
prefix dcterms: <http://purl.org/dc/terms/>
prefix ldp: <http://www.w3.org/ns/ldp#> .
prefix log: <http://www.w3.org/2000/10/swap/log#>
prefix vann: <http://purl.org/vocab/vann/>


## Ontology
<http://www.w3.org/ns/solid/terms>
a owl:Ontology ;
cc:attributionURL <> ;
cc:license <https://creativecommons.org/publicdomain/zero/1.0/> ;
rdfs:label "Solid Terms ontology"@en ;
rdfs:comment "Solid, derived from social linked data, is a proposed set of conventions and tools for building decentralized social applications based on Linked Data principles."@en ;
rdfs:isDefinedBy <http://www.w3.org/ns/solid/terms> ;
rdfs:seeAlso
<https://solid.github.io/specification/>,
dcterms:issued "2015-11-16"^^xsd:date ;
dcterms:modified "2018-01-24"^^xsd:date ;
rdfs:label "Solid terms"@en .
vann:preferredNamespacePrefix "solid" ;
vann:preferredNamespaceUri "http://www.w3.org/ns/solid/terms#"^^xsd:anyURI .


:Account
solid:Account
a rdfs:Class ;
rdfs:comment "A Solid account."@en ;
rdfs:isDefinedBy <> ;
rdfs:label "Account"@en .

:Inbox
solid:Inbox
a rdfs:Class ;
rdfs:comment "A resource containing notifications."@en ;
rdfs:isDefinedBy <> ;
rdfs:label "Inbox"@en .

:ListedDocument
solid:ListedDocument
a rdfs:Class ;
rdfs:comment "Listed Type Index is a registry of resources that are publicly discoverable by outside users and applications."@en ;
rdfs:isDefinedBy <> ;
rdfs:label "Listed Type Index"@en .

:Notification
solid:Notification
a rdfs:Class ;
rdfs:comment "A notification resource."@en ;
rdfs:isDefinedBy <> ;
rdfs:label "Notification"@en .

:Patch
solid:Patch
a rdfs:Class ;
rdfs:comment "A patch expresses conditional modifications to a resource that has an RDF-based representation."@en ;
rdfs:isDefinedBy <> ;
rdfs:label "Patch"@en .

:Timeline
solid:Timeline
a rdfs:Class ;
rdfs:comment "A resource containing time ordered items and sub-containers. Sub-containers may be desirable in file based systems to split the timeline into logical components e.g. /yyyy-mm-dd/ as used in ISO 8061."@en ;
rdfs:isDefinedBy <> ;
rdfs:label "Timeline"@en .

:TypeIndex
solid:TypeIndex
a rdfs:Class ;
rdfs:comment "A index of type registries for resources. Applications can register the RDF type they use and list them in the index resource."@en ;
rdfs:isDefinedBy <> ;
rdfs:label "Type index"@en .

:TypeRegistration
solid:TypeRegistration
a rdfs:Class ;
rdfs:comment "The registered types that map a RDF classes/types to their locations using either `instance` or `instanceContainer` property."@en ;
rdfs:isDefinedBy <> ;
rdfs:label "Type Registration"@en .

:UnlistedDocument
solid:UnlistedDocument
a rdfs:Class ;
rdfs:comment "Unlisted Type Index is a registry of resources that are private to the user and their apps, for types that are not publicly discoverable."@en ;
rdfs:isDefinedBy <> ;
rdfs:label "Unlisted Type Index"@en .

:account
solid:account
a rdf:Property ;
rdfs:comment "A solid account belonging to an Agent."@en ;
rdfs:isDefinedBy <> ;
rdfs:label "account"@en .

:deletes
solid:deletes
a rdf:Property, owl:ObjectProperty, owl:FunctionalProperty ;
rdfs:comment "The triple patterns this patch removes from the document."@en ;
rdfs:isDefinedBy <> ;
rdfs:label "deletes"@en ;
rdfs:domain :Patch ;
rdfs:range log:Formula .

:forClass
solid:forClass
a rdf:Property ;
rdfs:comment "A class that is used to map an listed or unlisted type index."@en ;
rdfs:isDefinedBy <> ;
rdfs:label "registry class"@en .

:inbox
solid:inbox
a rdf:Property ;
owl:deprecated true ;
owl:equivalentProperty ldp:inbox;
Expand All @@ -100,113 +116,112 @@
rdfs:isDefinedBy <> ;
rdfs:label "inbox (deprecated)"@en .

:inserts
solid:inserts
a rdf:Property, owl:ObjectProperty, owl:FunctionalProperty ;
rdfs:comment "The triple patterns this patch adds to the document."@en ;
rdfs:isDefinedBy <> ;
rdfs:label "inserts"@en ;
rdfs:domain :Patch ;
rdfs:range log:Formula .

:instance
solid:instance
a rdf:Property ;
rdfs:comment "Maps a type to an individual resource, typically an index or a directory listing resource."@en ;
rdfs:isDefinedBy <> ;
rdfs:label "instance"@en .

:instanceContainer
solid:instanceContainer
a rdf:Property ;
rdfs:comment "Maps a type to a container which the client would have to list to get the instances of that type."@en ;
rdfs:isDefinedBy <> ;
rdfs:label "instance container"@en .

:loginEndpoint
solid:loginEndpoint
a rdf:Property ;
rdfs:comment "The login URI of a given server."@en ;
rdfs:isDefinedBy <> ;
rdfs:label "loginEndpoint"@en .

:logoutEndpoint
solid:logoutEndpoint
a rdf:Property ;
rdfs:comment "The logout URI of a given server."@en ;
rdfs:isDefinedBy <> ;
rdfs:label "logoutEndpoint"@en .

:notification
solid:notification
a rdf:Property ;
rdfs:comment "Notification resource for an inbox."@en ;
rdfs:isDefinedBy <> ;
rdfs:label "notification"@en .

:privateTypeIndex
solid:privateTypeIndex
a rdf:Property ;
rdfs:comment "Points to an unlisted type index resource."@en ;
rdfs:range <#UnlistedDocument> ;
rdfs:isDefinedBy <> ;
rdfs:label "private type index"@en .

:publicTypeIndex
solid:publicTypeIndex
a rdf:Property ;
rdfs:subPropertyOf :typeIndex ;
rdfs:comment "Points to a listed type index resource."@en ;
rdfs:range <#ListedDocument> ;
rdfs:isDefinedBy <> ;
rdfs:label "public type index"@en .

:read
solid:read
a rdf:Property ;
rdfs:comment "Indicates if a message has been read or not. This property should have a boolean datatype."@en ;
rdfs:isDefinedBy <> ;
rdfs:domain <http://rdfs.org/sioc/ns#Post> ;
rdfs:label "read"@en .

:typeIndex
solid:typeIndex
a rdf:Property ;
rdfs:comment "Points to a TypeIndex resource."@en ;
rdfs:range <#TypeIndex> ;
rdfs:isDefinedBy <> ;
rdfs:label "type index"@en .

:oidcIssuer
solid:oidcIssuer
a rdf:Property ;
rdfs:comment "The preferred OpenID Connect issuer URI for a given Web ID."@en ;
rdfs:isDefinedBy <> ;
rdfs:label "oidcIssuer"@en ;
rdfs:subPropertyOf <http://openid.net/specs/connect/1.0/issuer> .

:patches
solid:patches
a rdf:Property, owl:ObjectProperty ;
rdfs:comment "The document to which this patch applies."@en ;
rdfs:isDefinedBy <> ;
rdfs:label "patches"@en ;
rdfs:domain :Patch ;
rdfs:range rdfs:Resource .

:timeline
solid:timeline
a rdf:Property ;
rdfs:comment "Timeline for a given resource."@en ;
rdfs:isDefinedBy <> ;
rdfs:label "timeline"@en .

:where
solid:where
a rdf:Property, owl:ObjectProperty, owl:FunctionalProperty ;
rdfs:comment "The conditions the document and the inserted and deleted triple patterns need to satisfy in order for the patch to be applied."@en ;
rdfs:isDefinedBy <> ;
rdfs:label "where"@en ;
rdfs:domain :Patch ;
rdfs:range log:Formula .

:storageQuota
solid:storageQuota
a rdf:Property, owl:DatatypeProperty ;
rdfs:comment "The quota of non-volatile memory that is available for the account (in bytes)"@en ;
rdfs:isDefinedBy <> ;
rdfs:domain :Account ;
rdfs:label "Non-volatile memory quota"@en .

:storageUsage
solid:storageUsage
a rdf:Property, owl:DatatypeProperty ;
rdfs:comment "The amount of non-volatile memory that the account have used (in bytes)"@en ;
rdfs:isDefinedBy <> ;
rdfs:domain :Account ;
rdfs:label "Non-volatile memory usage"@en .

0 comments on commit 4328be9

Please sign in to comment.