Skip to content

Commit 3cf7e15

Browse files
authored
Merge pull request #192 from RDFLib/feat/supermodel
Supermodel Profile
2 parents a2485cb + c4668fc commit 3cf7e15

40 files changed

+4504
-192
lines changed

README.rst

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ v 3.x will eventually catch up to all of v 2.13.2's features.
2121

2222
To access v 2.13.2 of pyLODE, either `download it from PyPI <https://pypi.org/project/pyLODE/2.13.2/>`_ , `check it out from GitHub <https://github.com/RDFLib/pyLODE/releases/tag/2.13.2>`_ or access it via the `online service <http://pylode.surroundaustralia.com/>`_ .
2323

24+
In v3.1.0, pyLODE now has a new mode called ``supermodel``, in addition to the existing ``ontpub`` mode. See `supermodel.md <supermodel.md>`_ for more information.
25+
2426
----
2527

2628
Contents
@@ -282,6 +284,7 @@ Release Schedule
282284
:header: "Version", "Date", "Description"
283285
:widths: 15, 10, 30
284286

287+
**3.1.0**, **16 February 2024**, "Add supermodel mode - supports documenting profiles and modules"
285288
**3.0.5**, **27 April 2023**, "Minor patching"
286289
3.0.4, 24 May 2022, "Use of Poetry"
287290
3.0.2, 24 May 2022, "Support for preformatted skos:example literals"

img/direct-position-obs-class.png

101 KB
Loading

img/module-geom-prim.png

398 KB
Loading

img/vocab-bindings.png

35 KB
Loading

ont/pylode.ttl

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
PREFIX dcterms: <http://purl.org/dc/terms/>
2+
PREFIX lode: <https://w3id.org/lode/ns/>
3+
PREFIX ont: <https://w3id.org/lode/ns/ont>
4+
PREFIX owl: <http://www.w3.org/2002/07/owl#>
5+
PREFIX prof: <http://www.w3.org/ns/dx/prof/>
6+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
7+
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
8+
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
9+
10+
lode:Module
11+
a
12+
rdfs:Class ,
13+
owl:Class ;
14+
skos:definition "A pyLODE module contains one or more profiles and its classes, properties and SHACL shapes for display under one heading."@en ;
15+
skos:prefLabel "Module"@en ;
16+
skos:scopeNote "A prof:Profile can also be a lode:Module. All resources loaded using owl:imports or PROF resources will go into the module as one set of statements."@en ;
17+
.
18+
19+
prof:isProfileOf
20+
owl:propertyChainAxiom (
21+
lode:isQualifiedProfileOf
22+
rdf:value
23+
) ;
24+
skos:editorialNote "Possibly no longer required."@en ;
25+
.
26+
27+
lode:componentModel
28+
a prof:ResourceRole ;
29+
skos:definition "A Component Model is a closed set of classes and properties defined by an ontology."@en ;
30+
skos:prefLabel "component model role"@en ;
31+
skos:scopeNote "Used as part of pyLODE input metadata to identify profiles that need to be documented as part of the output as a component model (module)."@en ;
32+
skos:editorialNote "Possibly no longer required."@en ;
33+
.
34+
35+
lode:config
36+
a prof:ResourceRole ;
37+
skos:definition "A resource with a set of RDF statements that determine parts of pyLODE's documentation processing engine."@en ;
38+
skos:prefLabel "pyLODE configuration role"@en ;
39+
skos:scopeNote "Use this to include statements such as which profiles are also lode:Module instances, what classes to ignore, the ordering of modules and classes, etc in pyLODE."@en ;
40+
.
41+
42+
lode:ignoreClass
43+
a rdf:Property ;
44+
skos:definition "A property to classes that should be ignored by application processors."@en ;
45+
skos:prefLabel "ignore class"@en ;
46+
skos:scopeNote "pyLODE as an application processor will ignore these classes when generating the documentation output."@en ;
47+
.
48+
49+
ont:
50+
a owl:Ontology ;
51+
rdfs:label "pyLODE Vocabulary"@en ;
52+
.
53+
54+
lode:isQualifiedProfileOf
55+
a owl:ObjectProperty ;
56+
skos:definition "A property to a qualified node which has a link to a profile."@en ;
57+
skos:prefLabel "is qualified profile of"@en ;
58+
skos:scopeNote "As a configuration side effect, pyLODE will only load into the graph closure classes and properties that are defined in a profile that is linked to by lode:isQualifiedProfileOf."@en ;
59+
.
60+

0 commit comments

Comments
 (0)