Skip to content

Commit 94ff811

Browse files
committed
add example
1 parent 05109d9 commit 94ff811

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
id: https://example.org/enum_bindings
2+
name: enum_bindings_example
3+
title: Enum Bindings Example
4+
description: |-
5+
Example LinkML schema to demonstrate Enum bindings
6+
license: MIT
7+
8+
prefixes:
9+
linkml: https://w3id.org/linkml/
10+
example: https://example.org/
11+
12+
default_prefix: example
13+
14+
imports:
15+
- linkml:types
16+
17+
classes:
18+
19+
Concept:
20+
attributes:
21+
id:
22+
identifier: true
23+
name:
24+
25+
Biosample:
26+
attributes:
27+
name:
28+
sample_material_type:
29+
range: Concept
30+
bindings:
31+
- binds_value_of: id
32+
range: ENVOMaterialEnum
33+
strength: RECOMMENDED
34+
description: Material type from the ENVO ontology
35+
36+
enums:
37+
ENVOMaterialEnum:
38+
description: Material type from the ENVO ontology
39+
reachable_from:
40+
source_ontology: obo:envo
41+
source_nodes:
42+
- ENVO:00010483 ## environmental material
43+
is_direct: false
44+
relationship_types:
45+
- rdfs:subClassOf
46+
47+

0 commit comments

Comments
 (0)