Skip to content

Commit 596755f

Browse files
author
Vincent Kelleher
committed
add Linked Open Vocabularies recommended ontology metadata
Signed-off-by: Vincent Kelleher <[email protected]>
1 parent 33e7281 commit 596755f

File tree

22 files changed

+10677
-7174
lines changed

22 files changed

+10677
-7174
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,3 +158,5 @@ cython_debug/
158158

159159
# Apple stuff
160160
.DS_Store
161+
162+
tmp/

linkml_model/annotations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Auto generated from annotations.yaml by pythongen.py version: 0.0.1
2-
# Generation date: 2024-02-07T17:29:22
2+
# Generation date: 2024-12-24T10:53:56
33
# Schema: annotations
44
#
55
# id: https://w3id.org/linkml/annotations

linkml_model/datasets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Auto generated from datasets.yaml by pythongen.py version: 0.0.1
2-
# Generation date: 2024-02-07T17:29:27
2+
# Generation date: 2024-12-24T10:53:59
33
# Schema: datasets
44
#
55
# id: https://w3id.org/linkml/datasets

linkml_model/excel/meta.xlsx

2.41 KB
Binary file not shown.

linkml_model/extensions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Auto generated from extensions.yaml by pythongen.py version: 0.0.1
2-
# Generation date: 2024-02-07T17:29:29
2+
# Generation date: 2024-12-24T10:54:02
33
# Schema: extensions
44
#
55
# id: https://w3id.org/linkml/extensions

linkml_model/graphql/meta.graphql

Lines changed: 106 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,10 @@ type AnonymousSlotExpression implements SlotExpression
156156
range: Element
157157
rangeExpression: AnonymousClassExpression
158158
enumRange: EnumExpression
159+
bindings: [EnumBinding]
159160
required: Boolean
160161
recommended: Boolean
162+
multivalued: Boolean
161163
inlined: Boolean
162164
inlinedAsList: Boolean
163165
minimumValue: Anything
@@ -180,6 +182,7 @@ type AnonymousSlotExpression implements SlotExpression
180182
exactlyOneOf: [AnonymousSlotExpression]
181183
anyOf: [AnonymousSlotExpression]
182184
allOf: [AnonymousSlotExpression]
185+
array: ArrayExpression
183186
}
184187

185188
type AnonymousTypeExpression implements TypeExpression
@@ -212,7 +215,6 @@ type ArrayExpression implements Extensible, Annotatable, CommonMetadata
212215
exactNumberDimensions: Integer
213216
minimumNumberDimensions: Integer
214217
maximumNumberDimensions: Anything
215-
hasExtraDimensions: Boolean
216218
dimensions: [DimensionExpression]
217219
extensions: [Extension]
218220
annotations: [Annotation]
@@ -315,6 +317,7 @@ type ClassDefinition implements ClassExpression
315317
representsRelationship: Boolean
316318
disjointWith: [ClassDefinition]
317319
childrenAreMutuallyDisjoint: Boolean
320+
extraSlots: ExtraSlotsExpression
318321
isA: ClassDefinition
319322
mixins: [ClassDefinition]
320323
applyTo: [ClassDefinition]
@@ -564,6 +567,49 @@ type Element implements Extensible, Annotatable, CommonMetadata
564567
keywords: [String]
565568
}
566569

570+
type EnumBinding implements Extensible, Annotatable, CommonMetadata
571+
{
572+
range: EnumDefinition
573+
obligationLevel: ObligationLevelEnum
574+
bindsValueOf: String
575+
pvFormula: PvFormulaOptions
576+
extensions: [Extension]
577+
annotations: [Annotation]
578+
description: String
579+
altDescriptions: [AltDescription]
580+
title: String
581+
deprecated: String
582+
todos: [String]
583+
notes: [String]
584+
comments: [String]
585+
examples: [Example]
586+
inSubset: [SubsetDefinition]
587+
fromSchema: Uri
588+
importedFrom: String
589+
source: Uriorcurie
590+
inLanguage: String
591+
seeAlso: [Uriorcurie]
592+
deprecatedElementHasExactReplacement: Uriorcurie
593+
deprecatedElementHasPossibleReplacement: Uriorcurie
594+
aliases: [String]
595+
structuredAliases: [StructuredAlias]
596+
mappings: [Uriorcurie]
597+
exactMappings: [Uriorcurie]
598+
closeMappings: [Uriorcurie]
599+
relatedMappings: [Uriorcurie]
600+
narrowMappings: [Uriorcurie]
601+
broadMappings: [Uriorcurie]
602+
createdBy: Uriorcurie
603+
contributors: [Uriorcurie]
604+
createdOn: Datetime
605+
lastUpdatedOn: Datetime
606+
modifiedBy: Uriorcurie
607+
status: Uriorcurie
608+
rank: Integer
609+
categories: [Uriorcurie]
610+
keywords: [String]
611+
}
612+
567613
type EnumDefinition implements EnumExpression
568614
{
569615
name: String!
@@ -668,6 +714,12 @@ type Extension
668714
extensions: [Extension]
669715
}
670716

717+
type ExtraSlotsExpression implements Expression
718+
{
719+
allowed: Boolean
720+
rangeExpression: AnonymousClassExpression
721+
}
722+
671723
type ImportExpression implements Extensible, Annotatable, CommonMetadata
672724
{
673725
importFrom: Uriorcurie!
@@ -817,6 +869,8 @@ type PermissibleValue implements Extensible, Annotatable, CommonMetadata
817869
description: String
818870
meaning: Uriorcurie
819871
unit: UnitOfMeasure
872+
instantiates: [Uriorcurie]
873+
implements: [Uriorcurie]
820874
isA: PermissibleValue
821875
mixins: [PermissibleValue]
822876
extensions: [Extension]
@@ -936,6 +990,7 @@ type SchemaDefinition
936990
generationDate: Datetime
937991
slotNamesUnique: Boolean
938992
settings: [Setting]
993+
bindings: [EnumBinding]
939994
name: Ncname!
940995
}
941996

@@ -997,8 +1052,6 @@ type SlotDefinition implements SlotExpression
9971052
singularName: String
9981053
domain: ClassDefinition
9991054
slotUri: Uriorcurie
1000-
multivalued: Boolean
1001-
array: ArrayExpression
10021055
inherited: Boolean
10031056
readonly: String
10041057
ifabsent: String
@@ -1032,14 +1085,17 @@ type SlotDefinition implements SlotExpression
10321085
disjointWith: [SlotDefinition]
10331086
childrenAreMutuallyDisjoint: Boolean
10341087
unionOf: [SlotDefinition]
1088+
typeMappings: [TypeMapping]
10351089
isA: SlotDefinition
10361090
mixins: [SlotDefinition]
10371091
applyTo: [SlotDefinition]
10381092
range: Element
10391093
rangeExpression: AnonymousClassExpression
10401094
enumRange: EnumExpression
1095+
bindings: [EnumBinding]
10411096
required: Boolean
10421097
recommended: Boolean
1098+
multivalued: Boolean
10431099
inlined: Boolean
10441100
inlinedAsList: Boolean
10451101
minimumValue: Anything
@@ -1062,15 +1118,18 @@ type SlotDefinition implements SlotExpression
10621118
exactlyOneOf: [AnonymousSlotExpression]
10631119
anyOf: [AnonymousSlotExpression]
10641120
allOf: [AnonymousSlotExpression]
1121+
array: ArrayExpression
10651122
}
10661123

10671124
interface SlotExpression
10681125
{
10691126
range: Element
10701127
rangeExpression: AnonymousClassExpression
10711128
enumRange: EnumExpression
1129+
bindings: [EnumBinding]
10721130
required: Boolean
10731131
recommended: Boolean
1132+
multivalued: Boolean
10741133
inlined: Boolean
10751134
inlinedAsList: Boolean
10761135
minimumValue: Anything
@@ -1093,13 +1152,15 @@ interface SlotExpression
10931152
exactlyOneOf: [AnonymousSlotExpression]
10941153
anyOf: [AnonymousSlotExpression]
10951154
allOf: [AnonymousSlotExpression]
1155+
array: ArrayExpression
10961156
}
10971157

10981158
type StructuredAlias implements Expression, Extensible, Annotatable, CommonMetadata
10991159
{
11001160
literalForm: String!
11011161
predicate: AliasPredicateEnum
11021162
categories: [Uriorcurie]
1163+
contexts: [Uri]
11031164
extensions: [Extension]
11041165
annotations: [Annotation]
11051166
description: String
@@ -1265,6 +1326,48 @@ interface TypeExpression
12651326
allOf: [AnonymousTypeExpression]
12661327
}
12671328

1329+
type TypeMapping implements Extensible, Annotatable, CommonMetadata
1330+
{
1331+
framework: String!
1332+
type: TypeDefinition
1333+
stringSerialization: String
1334+
extensions: [Extension]
1335+
annotations: [Annotation]
1336+
description: String
1337+
altDescriptions: [AltDescription]
1338+
title: String
1339+
deprecated: String
1340+
todos: [String]
1341+
notes: [String]
1342+
comments: [String]
1343+
examples: [Example]
1344+
inSubset: [SubsetDefinition]
1345+
fromSchema: Uri
1346+
importedFrom: String
1347+
source: Uriorcurie
1348+
inLanguage: String
1349+
seeAlso: [Uriorcurie]
1350+
deprecatedElementHasExactReplacement: Uriorcurie
1351+
deprecatedElementHasPossibleReplacement: Uriorcurie
1352+
aliases: [String]
1353+
structuredAliases: [StructuredAlias]
1354+
mappings: [Uriorcurie]
1355+
exactMappings: [Uriorcurie]
1356+
closeMappings: [Uriorcurie]
1357+
relatedMappings: [Uriorcurie]
1358+
narrowMappings: [Uriorcurie]
1359+
broadMappings: [Uriorcurie]
1360+
createdBy: Uriorcurie
1361+
contributors: [Uriorcurie]
1362+
createdOn: Datetime
1363+
lastUpdatedOn: Datetime
1364+
modifiedBy: Uriorcurie
1365+
status: Uriorcurie
1366+
rank: Integer
1367+
categories: [Uriorcurie]
1368+
keywords: [String]
1369+
}
1370+
12681371
type UniqueKey implements Extensible, Annotatable, CommonMetadata
12691372
{
12701373
uniqueKeyName: String!

0 commit comments

Comments
 (0)