Skip to content

Nto legal ontology #661

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions NTO/Legal/attributes/alternativeJurisdictionCode.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix ogit: <http://www.purl.org/ogit/> .
@prefix ogit.Legal: <http://www.purl.org/ogit/Legal/> .

ogit.Legal:alternativeJuristictionCode
a owl:DatatypeProperty;
rdfs:subPropertyOf ogit:Attribute;
rdfs:label "Alternative legal code abbreviation";
dcterms:description "An alternative abbreviation for a legal code, often used internally by specific authorities.";
dcterms:valid "start=2025-04-09;";
dcterms:creator "Daniel Maier";
.
14 changes: 14 additions & 0 deletions NTO/Legal/attributes/footnote.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix ogit: <http://www.purl.org/ogit/> .
@prefix ogit.Legal: <http://www.purl.org/ogit/Legal/> .

ogit.Legal:footnote
a owl:DatatypeProperty;
rdfs:subPropertyOf ogit:Attribute;
rdfs:label "footnote";
dcterms:description "Footnote text.";
dcterms:valid "start=2025-04-09;";
dcterms:creator "Daniel Maier";
.
14 changes: 14 additions & 0 deletions NTO/Legal/attributes/jurisdictionCode.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix ogit: <http://www.purl.org/ogit/> .
@prefix ogit.Legal: <http://www.purl.org/ogit/Legal/> .

ogit.Legal:juristictionCode
a owl:DatatypeProperty;
rdfs:subPropertyOf ogit:Attribute;
rdfs:label "legal code abbreviation";
dcterms:description "A unique abbreviation for a legal code, often used by authorities.";
dcterms:valid "start=2025-04-09;";
dcterms:creator "Daniel Maier";
.
37 changes: 37 additions & 0 deletions NTO/Legal/entities/LegalClause.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix ogit: <http://www.purl.org/ogit/> .
@prefix ogit.Legal: <http://www.purl.org/ogit/Legal/> .
@prefix ogit.ServiceManagement: <http://www.purl.org/ogit/ServiceManagement/> .

ogit.Legal:LegalClause
a rdfs:Class;
rdfs:subClassOf ogit:Entity;
rdfs:label "LegalC";
dcterms:description """A distinct element within a legal code or document. Can take the form of articles,
sections, paragraphs, or other structural units depending on the drafting style and jurisdiction.""";
# For ranges, see http://dublincore.org/documents/dcmi-period/
dcterms:valid "start=2025-04-09;";
dcterms:creator "Daniel Maier";
ogit:scope "NTO";
ogit:parent ogit:Node;
ogit:mandatory-attributes (
ogit:name
ogit:content
);
ogit:optional-attributes (
ogit:id
ogit:section
ogit.Legal:footnote
ogit:createdAt
ogit:lastUpdatedAt
);
ogit:indexed-attributes (
);
ogit:allowed (
[ ogit:references ogit.Legal:LegalClause ]
[ ogit:references ogit:Attachment ]
[ ogit:causes ogit.ServiceManagement:Service ]
);
.
40 changes: 40 additions & 0 deletions NTO/Legal/entities/LegalNorm.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix ogit: <http://www.purl.org/ogit/> .
@prefix ogit.Legal: <http://www.purl.org/ogit/Legal/> .
@prefix ogit.ServiceManagement: <http://www.purl.org/ogit/ServiceManagement/> .

ogit.Legal:LegalNorm
a rdfs:Class;
rdfs:subClassOf ogit:Entity;
rdfs:label "LegalNorm";
dcterms:description """A single, structured body of legal text enacted as a unified law or code. It typically consists of multiple
clasues or articles and governs a defined legal domain such as civil, criminal, or administrative law.""";
# For ranges, see http://dublincore.org/documents/dcmi-period/
dcterms:valid "start=2025-04-09;";
dcterms:creator "Daniel Maier";
ogit:scope "NTO";
ogit:parent ogit:Node;
ogit:mandatory-attributes (
ogit:name
);
ogit:optional-attributes (
ogit:alternativeName
ogit.Legal:jurisdictionCode
ogit.Legal:alternativeJurisdictionCode
ogit:content
ogit.Legal:footnote
ogit:language
ogit:createdAt
ogit:lastUpdatedAt
);
ogit:indexed-attributes (
);
ogit:allowed (
[ ogit:contains ogit.Legal:LegalClause ]
[ ogit:causes ogit.ServiceManagement:Service ]
[ ogit.Legal:empowers ogit:Organization ]
[ ogit:governs ogit:Region ]
);
.
14 changes: 14 additions & 0 deletions NTO/Legal/verbs/empowers.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
@prefix ogit: <http://www.purl.org/ogit/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix ogit.Legal: <http://www.purl.org/ogit/Legal/> .

ogit.Legal:empowers
a owl:ObjectProperty;
rdfs:subPropertyOf ogit:Verb;
rdfs:label "empowers";
dcterms:description "To grant the legal authority, power, or permission to carry out certain actions, duties, or functions.";
dcterms:valid "start=2025-04-09;";
dcterms:creator "Daniel Maier";
.
13 changes: 13 additions & 0 deletions SGO/sgo/attributes/section.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix ogit: <http://www.purl.org/ogit/> .

ogit:section
a owl:DatatypeProperty;
rdfs:subPropertyOf ogit:Attribute;
rdfs:label "section";
dcterms:description "Identifies a logical or structural subdivision within a document, dataset, process, or entity.";
dcterms:valid "start=2025-04-09;";
dcterms:creator "Daniel Maier";
.
2 changes: 2 additions & 0 deletions SGO/sgo/entities/Organization.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix ogit.Legal: <http://www.purl.org/ogit/Legal/> .

ogit:Organization
a rdfs:Class;
Expand Down Expand Up @@ -130,5 +131,6 @@ The ogit/function attribute should be used to tell what kind of grouping an enti
[ogit:isMemberOf ogit:Organization]
[ogit:organizes ogit:Event]
[ogit:has ogit.Politics:Reaction]
[ogit:issues ogit.Legal:LegalNorm]
);
.