Skip to content

Commit 592641a

Browse files
authored
Merge pull request #28 from LiUSemWeb/dev
Added documentation
2 parents 8baf7b5 + 668f6b5 commit 592641a

File tree

5 files changed

+333
-80
lines changed

5 files changed

+333
-80
lines changed

ontology/dpp-comp/0.1/dpp-comp.ttl

Lines changed: 26 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
88
@prefix vann: <http://purl.org/vocab/vann/> .
99
@prefix dcterms: <http://purl.org/dc/terms/> .
10-
@prefix dpp-info: <http://w3id.org/dppo/ontology/dpp-info/0.1/>.
1110
@prefix dpp-core: <http://w3id.org/dppo/ontology/dpp-core/0.1/> .
11+
@prefix dpp-info: <http://w3id.org/dppo/ontology/dpp-info/0.1/> .
1212
@base <http://w3id.org/dppo/ontology/dpp-comp/> .
1313

1414
<http://w3id.org/dppo/ontology/dpp-comp/> rdf:type owl:Ontology ;
1515
owl:versionIRI <http://w3id.org/dppo/ontology/dpp-comp/0.1/> ;
16-
owl:imports <http://w3id.org/dppo/ontology/dpp-info/0.1/> ;
17-
owl:imports <http://w3id.org/dppo/ontology/dpp-core/0.1/> ;
16+
owl:imports dpp-core: ,
17+
dpp-info: ;
1818
dcterms:contributor "Eva Blomqvist" ,
1919
"Huanyu Li" ,
2020
"Robin Keskisärkkä" ;
@@ -36,39 +36,56 @@
3636
:aboutPart rdf:type owl:ObjectProperty ;
3737
rdfs:subPropertyOf dpp-info:isAbout ;
3838
rdfs:domain dpp-info:CompositionInformation ;
39-
rdfs:range <http://w3id.org/dppo/ontology/dpp-odp/Product> .
39+
rdfs:range <http://w3id.org/dppo/ontology/dpp-odp/Product> ;
40+
rdfs:comment "Relation between the piece of information representing the composition, and the part involved in the relation."@en ;
41+
rdfs:label "about part"@en .
4042

4143

4244
### http://w3id.org/dppo/ontology/dpp-comp/aboutWhole
4345
:aboutWhole rdf:type owl:ObjectProperty ;
4446
rdfs:subPropertyOf dpp-info:isAbout ;
4547
owl:inverseOf dpp-info:hasCompositionInformation ;
4648
rdfs:domain dpp-info:CompositionInformation ;
47-
rdfs:range <http://w3id.org/dppo/ontology/dpp-odp/Product> .
49+
rdfs:range <http://w3id.org/dppo/ontology/dpp-odp/Product> ;
50+
rdfs:comment "Relation between the piece of information representing the composition, and the whole involved in the relation."@en ;
51+
rdfs:label "about whole"@en .
4852

4953

54+
### http://w3id.org/dppo/ontology/dpp-info/0.1/hasCompositionInformation
55+
dpp-info:hasCompositionInformation rdf:type owl:ObjectProperty .
56+
57+
58+
### http://w3id.org/dppo/ontology/dpp-info/0.1/isAbout
59+
dpp-info:isAbout rdf:type owl:ObjectProperty .
5060

5161

5262
#################################################################
5363
# Classes
5464
#################################################################
5565

56-
5766
### http://w3id.org/dppo/ontology/dpp-comp/SubstanceHinderingRecycling
5867
:SubstanceHinderingRecycling rdf:type owl:Class ;
59-
rdfs:subClassOf :SubstanceOfConcern .
68+
rdfs:subClassOf :SubstanceOfConcern ;
69+
rdfs:comment "A substance that hinders recycling of a product."@en ;
70+
rdfs:label "Substance findering recycling"@en .
6071

6172

6273
### http://w3id.org/dppo/ontology/dpp-comp/SubstanceOfConcern
6374
:SubstanceOfConcern rdf:type owl:Class ;
64-
rdfs:subClassOf <http://w3id.org/dppo/ontology/dpp-core/Substance> .
75+
rdfs:subClassOf <http://w3id.org/dppo/ontology/dpp-core/Substance> ;
76+
rdfs:comment "Substance of concern as defined in the ESPR, meaning it is a substance that is either toxic or something that hinders recycling of the product."@en ;
77+
rdfs:label "Substance of Concern"@en .
6578

6679

6780
### http://w3id.org/dppo/ontology/dpp-comp/ToxicSubstance
6881
:ToxicSubstance rdf:type owl:Class ;
69-
rdfs:subClassOf :SubstanceOfConcern .
82+
rdfs:subClassOf :SubstanceOfConcern ;
83+
rdfs:comment "A toxic substance."@en ;
84+
rdfs:label "Toxic substance"@en .
7085

7186

87+
### http://w3id.org/dppo/ontology/dpp-info/0.1/CompositionInformation
88+
dpp-info:CompositionInformation rdf:type owl:Class .
7289

7390

7491
### Generated by the OWL API (version 4.5.25.2023-02-15T19:15:49Z) https://github.com/owlcs/owlapi

ontology/dpp-core/0.1/dpp-core.ttl

Lines changed: 96 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@prefix : <http://w3id.org/dppo/ontology/dpp-core/>.
1+
@prefix : <http://w3id.org/dppo/ontology/dpp-core/> .
22
@prefix dc: <http://purl.org/dc/elements/1.1/> .
33
@prefix owl: <http://www.w3.org/2002/07/owl#> .
44
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@@ -7,98 +7,166 @@
77
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
88
@prefix vann: <http://purl.org/vocab/vann/> .
99
@prefix dcterms: <http://purl.org/dc/terms/> .
10-
@base <http://w3id.org/dppo/ontology/dpp-core/>.
10+
@base <http://w3id.org/dppo/ontology/dpp-core/> .
1111

1212
<http://w3id.org/dppo/ontology/dpp-core/> rdf:type owl:Ontology ;
1313
owl:versionIRI <http://w3id.org/dppo/ontology/dpp-core/0.1/> ;
1414
owl:imports <http://w3id.org/dppo/ontology/dpp-odp/> ;
15-
dcterms:contributor "Eva Blomqvist" ,
16-
"Huanyu Li" ,
17-
"Robin Keskisärkkä" ;
18-
dcterms:created "2023-10-30"^^xsd:string ;
19-
dcterms:creator "Maike Jansen" ;
20-
dcterms:description "This is a minimal core ontology for DPPs, specialising the DPP ODP." ;
21-
dcterms:license "https://github.com/LiUSemWeb/DPP/blob/master/LICENSE"^^xsd:string ;
22-
dcterms:title "Core Digital Product Passport Ontology"^^xsd:string ;
23-
vann:preferredNamespacePrefix "dpp-core"^^xsd:string ;
24-
vann:preferredNamespaceUri "http://w3id.org/dppo/ontology/dpp-core/"^^xsd:string ;
25-
rdfs:seeAlso <https://github.com/LiUSemWeb/DPPO> ;
26-
owl:versionInfo "0.1" .
15+
dcterms:contributor "Eva Blomqvist" ,
16+
"Huanyu Li" ,
17+
"Robin Keskisärkkä" ;
18+
dcterms:created "2023-10-30" ;
19+
dcterms:creator "Maike Jansen" ;
20+
dcterms:description "This is a minimal core ontology for DPPs, specialising the DPP ODP." ;
21+
dcterms:license "https://github.com/LiUSemWeb/DPP/blob/master/LICENSE" ;
22+
dcterms:title "Core Digital Product Passport Ontology" ;
23+
vann:preferredNamespacePrefix "dpp-core" ;
24+
vann:preferredNamespaceUri "http://w3id.org/dppo/ontology/dpp-core/" ;
25+
rdfs:seeAlso <https://github.com/LiUSemWeb/DPPO> ;
26+
owl:versionInfo "0.1" .
27+
28+
#################################################################
29+
# Annotation properties
30+
#################################################################
31+
32+
### http://purl.org/dc/terms/contributor
33+
dcterms:contributor rdf:type owl:AnnotationProperty .
34+
35+
36+
### http://purl.org/dc/terms/created
37+
dcterms:created rdf:type owl:AnnotationProperty .
38+
39+
40+
### http://purl.org/dc/terms/creator
41+
dcterms:creator rdf:type owl:AnnotationProperty .
42+
43+
44+
### http://purl.org/dc/terms/description
45+
dcterms:description rdf:type owl:AnnotationProperty .
46+
47+
48+
### http://purl.org/dc/terms/license
49+
dcterms:license rdf:type owl:AnnotationProperty .
50+
51+
52+
### http://purl.org/dc/terms/title
53+
dcterms:title rdf:type owl:AnnotationProperty .
54+
55+
56+
### http://purl.org/vocab/vann/preferredNamespacePrefix
57+
vann:preferredNamespacePrefix rdf:type owl:AnnotationProperty .
58+
59+
60+
### http://purl.org/vocab/vann/preferredNamespaceUri
61+
vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .
62+
63+
64+
#################################################################
65+
# Object Properties
66+
#################################################################
67+
68+
### http://w3id.org/dppo/ontology/dpp-odp/describes
69+
<http://w3id.org/dppo/ontology/dpp-odp/describes> rdf:type owl:ObjectProperty .
70+
2771

2872
#################################################################
2973
# Classes
3074
#################################################################
3175

3276
### http://w3id.org/dppo/ontology/dpp-core/Component
3377
:Component rdf:type owl:Class ;
34-
rdfs:subClassOf <http://w3id.org/dppo/ontology/dpp-odp/Product> .
78+
rdfs:subClassOf <http://w3id.org/dppo/ontology/dpp-odp/Product> ;
79+
rdfs:comment "A product that is a component of some other product."@en ;
80+
rdfs:label "Component"@en .
3581

3682

3783
### http://w3id.org/dppo/ontology/dpp-core/ComponentDPP
3884
:ComponentDPP rdf:type owl:Class ;
39-
owl:equivalentClass [ owl:intersectionOf ( <http://w3id.org/dppo/ontology/dpp-odp/DPP>
85+
owl:equivalentClass [ owl:intersectionOf ( <http://w3id.org/dppo/ontology/dpp-odp/DPP>
4086
[ rdf:type owl:Restriction ;
41-
owl:onProperty <http://w3id.org/dppo/ontology/dpp-odp/describes> ;
87+
owl:onProperty <http://w3id.org/dppo/ontology/dpp-odp/describes> ;
4288
owl:someValuesFrom :Component
4389
]
4490
) ;
4591
rdf:type owl:Class
4692
] ;
47-
rdfs:subClassOf <http://w3id.org/dppo/ontology/dpp-odp/DPP>.
93+
rdfs:subClassOf <http://w3id.org/dppo/ontology/dpp-odp/DPP> ;
94+
rdfs:comment "A DPP that describes a component."@en ;
95+
rdfs:label "Component DPP"@en .
4896

4997

5098
### http://w3id.org/dppo/ontology/dpp-core/ConsumerProduct
5199
:ConsumerProduct rdf:type owl:Class ;
52-
rdfs:subClassOf <http://w3id.org/dppo/ontology/dpp-odp/Product> .
100+
rdfs:subClassOf <http://w3id.org/dppo/ontology/dpp-odp/Product> ;
101+
rdfs:comment "A consumer product, i.e. a product that is sold directly to end users (consumers)."@en ;
102+
rdfs:label "Consumer product"@en .
53103

54104

55105
### http://w3id.org/dppo/ontology/dpp-core/ConsumerProductDPP
56106
:ConsumerProductDPP rdf:type owl:Class ;
57107
owl:equivalentClass [ owl:intersectionOf ( <http://w3id.org/dppo/ontology/dpp-odp/DPP>
58108
[ rdf:type owl:Restriction ;
59-
owl:onProperty <http://w3id.org/dppo/ontology/dpp-odp/describes> ;
109+
owl:onProperty <http://w3id.org/dppo/ontology/dpp-odp/describes> ;
60110
owl:someValuesFrom :ConsumerProduct
61111
]
62112
) ;
63113
rdf:type owl:Class
64114
] ;
65-
rdfs:subClassOf <http://w3id.org/dppo/ontology/dpp-odp/DPP>.
115+
rdfs:subClassOf <http://w3id.org/dppo/ontology/dpp-odp/DPP> ;
116+
rdfs:comment "A DPP describing a consumer product."@en ;
117+
rdfs:label "Comsumer Product DPP"@en .
66118

67119

68120
### http://w3id.org/dppo/ontology/dpp-core/Material
69121
:Material rdf:type owl:Class ;
70-
rdfs:subClassOf <http://w3id.org/dppo/ontology/dpp-odp/Product> .
122+
rdfs:subClassOf <http://w3id.org/dppo/ontology/dpp-odp/Product> ;
123+
rdfs:comment "A material, that is sold as a product by the producer."@en ;
124+
rdfs:label "Material"@en .
71125

72126

73127
### http://w3id.org/dppo/ontology/dpp-core/MaterialDPP
74128
:MaterialDPP rdf:type owl:Class ;
75129
owl:equivalentClass [ owl:intersectionOf ( <http://w3id.org/dppo/ontology/dpp-odp/DPP>
76130
[ rdf:type owl:Restriction ;
77-
owl:onProperty <http://w3id.org/dppo/ontology/dpp-odp/describes> ;
131+
owl:onProperty <http://w3id.org/dppo/ontology/dpp-odp/describes> ;
78132
owl:someValuesFrom :Material
79133
]
80134
) ;
81135
rdf:type owl:Class
82136
] ;
83-
rdfs:subClassOf <http://w3id.org/dppo/ontology/dpp-odp/DPP> .
137+
rdfs:subClassOf <http://w3id.org/dppo/ontology/dpp-odp/DPP> ;
138+
rdfs:comment "A DPP describing a material."@en ;
139+
rdfs:label "Material DPP"@en .
84140

85141

86142
### http://w3id.org/dppo/ontology/dpp-core/Substance
87143
:Substance rdf:type owl:Class ;
88-
rdfs:subClassOf <http://w3id.org/dppo/ontology/dpp-odp/Product> .
144+
rdfs:subClassOf <http://w3id.org/dppo/ontology/dpp-odp/Product> ;
145+
rdfs:comment "A substance, that is sold as a product by the producer."@en ;
146+
rdfs:label "Substance"@en .
89147

90148

91149
### http://w3id.org/dppo/ontology/dpp-core/SubstanceDPP
92150
:SubstanceDPP rdf:type owl:Class ;
93-
owl:equivalentClass [ owl:intersectionOf ( <http://w3id.org/dppo/ontology/dpp-odp/DPP>
151+
owl:equivalentClass [ owl:intersectionOf ( <http://w3id.org/dppo/ontology/dpp-odp/DPP>
94152
[ rdf:type owl:Restriction ;
95-
owl:onProperty <http://w3id.org/dppo/ontology/dpp-odp/describes> ;
153+
owl:onProperty <http://w3id.org/dppo/ontology/dpp-odp/describes> ;
96154
owl:someValuesFrom :Substance
97155
]
98156
) ;
99157
rdf:type owl:Class
100158
] ;
101-
rdfs:subClassOf <http://w3id.org/dppo/ontology/dpp-odp/DPP>.
159+
rdfs:subClassOf <http://w3id.org/dppo/ontology/dpp-odp/DPP> ;
160+
rdfs:comment "A DPP describing a substance."@en ;
161+
rdfs:label "Substance DPP"@en .
162+
163+
164+
### http://w3id.org/dppo/ontology/dpp-odp/DPP
165+
<http://w3id.org/dppo/ontology/dpp-odp/DPP> rdf:type owl:Class .
166+
167+
168+
### http://w3id.org/dppo/ontology/dpp-odp/Product
169+
<http://w3id.org/dppo/ontology/dpp-odp/Product> rdf:type owl:Class .
102170

103171

104172
### Generated by the OWL API (version 4.5.25.2023-02-15T19:15:49Z) https://github.com/owlcs/owlapi

0 commit comments

Comments
 (0)