Skip to content

Commit d3ab41a

Browse files
committed
add yaml file for linkml issue 497
1 parent d762126 commit d3ab41a

File tree

1 file changed

+80
-0
lines changed

1 file changed

+80
-0
lines changed
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
id: https://example.com/test-inherited-ranges
2+
name: test-inherited-ranges
3+
title: test inherited ranges
4+
description: a simple schema for testing if the range for base class propogates to the inherited class
5+
6+
prefixes:
7+
dcterms: http://purl.org/dc/terms/
8+
linkml: https://w3id.org/linkml/
9+
10+
imports:
11+
- linkml:types
12+
13+
classes:
14+
15+
named thing:
16+
description: "a databased entity or concept/class"
17+
abstract: true
18+
19+
20+
biosample processing:
21+
is_a: named thing
22+
description: >-
23+
A process that takes one or more biosamples as inputs and generates one or as outputs.
24+
Examples of outputs include samples cultivated from another sample or data objects created by instruments runs.
25+
slots:
26+
- has input
27+
slot_usage:
28+
has input:
29+
range: biosample
30+
31+
32+
omics processing:
33+
is_a: biosample processing
34+
slots:
35+
- has input
36+
- has output
37+
#slot_usage:
38+
# has input:
39+
# required: true
40+
41+
biosample:
42+
is_a: named thing
43+
description: >-
44+
A material sample. It may be environmental (encompassing many organisms) or isolate or tissue.
45+
An environmental sample containing genetic material from multiple individuals is commonly referred to as a biosample.
46+
47+
slots:
48+
49+
id:
50+
identifier: true
51+
multivalued: false
52+
description: >-
53+
A unique identifier for a thing.
54+
Must be either a CURIE shorthand for a URI or a complete URI
55+
56+
name:
57+
multivalued: false
58+
range: string
59+
description: >-
60+
A human readable label for an entity
61+
62+
description:
63+
range: string
64+
multivalued: false
65+
description: >-
66+
a human-readable description of a thing
67+
68+
has input:
69+
domain: named thing
70+
range: named thing
71+
multivalued: true
72+
description: >-
73+
An input to a process.
74+
75+
has output:
76+
domain: named thing
77+
range: named thing
78+
multivalued: true
79+
description: >-
80+
An output biosample to a processing step

0 commit comments

Comments
 (0)