Skip to content

Commit 4b4e4d1

Browse files
authored
Merge pull request #135 from linkml/examples-as-objs
allow example objects
2 parents 56e8fa1 + bd75161 commit 4b4e4d1

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

linkml_model/model/schema/meta.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ prefixes:
4343
schema: http://schema.org/
4444
bibo: http://purl.org/ontology/bibo/
4545
swrl: http://www.w3.org/2003/11/swrl#
46-
sh: https://w3id.org/shacl/
46+
sh: http://www.w3.org/ns/shacl#
4747
owl: http://www.w3.org/2002/07/owl#
4848
qb: http://purl.org/linked-data/cube#
4949
prov: http://www.w3.org/ns/prov#
@@ -1974,6 +1974,14 @@ slots:
19741974
in_subset:
19751975
- BasicSubset
19761976

1977+
value_object:
1978+
domain: example
1979+
alias: object
1980+
description: direct object representation of the example
1981+
range: Anything
1982+
in_subset:
1983+
- BasicSubset
1984+
19771985
examples:
19781986
singular_name: example
19791987
domain: element
@@ -2170,6 +2178,9 @@ slots:
21702178
#==================================
21712179
classes:
21722180

2181+
Anything:
2182+
class_uri: linkml:Any
2183+
21732184
common_metadata:
21742185
description: Generic metadata shared across definitions
21752186
mixin: true
@@ -2381,6 +2392,7 @@ classes:
23812392
- enum
23822393
- value set
23832394
- term set
2395+
- concept set
23842396
- Terminology Value Set
23852397
- answer list
23862398
description: an element whose instances must be drawn from a specified set of permissible values
@@ -2770,6 +2782,7 @@ classes:
27702782
slots:
27712783
- value
27722784
- value_description
2785+
- value_object
27732786
in_subset:
27742787
- BasicSubset
27752788

0 commit comments

Comments
 (0)