-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
templated all SchemaDefinition slots including settings (#122)
* tempalted all SchemaDefinition slots... except settings * handles schema Settings * add slot class assignments
- Loading branch information
Showing
13 changed files
with
218 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
.DS_Store | ||
target | ||
|
||
examples/output | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
class description | ||
>class description | ||
Vehicle A machine, with or wihtout its own power source, that eases the transportation of people, materials, etc. | ||
Airplane "A vehicle which flies through the air, obtaining lif from air flowing acoss fixed wings" | ||
Boat A vehicle which moves through water |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
prefix URI | ||
> prefix prefix_reference | ||
some_schema http://example.com/some_schema_path/ | ||
data_prefix_1 http://example.com/data_prefix_1/ | ||
data_prefix_2 http://example.com/data_prefix_2/ | ||
non_data_prefix http://example.com/non_data_prefix/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
id schema name aliases broad_mappings categories close_mappings comments conforms_to contributors created_by created_on date default_prefix default_range deprecated deprecated_element_has_exact_replacement deprecated_element_has_possible_replacement description exact_mappings implements imports in_language instantiates last_updated_on dat license mappings modified_by narrow_mappings notes rank related_mappings see_also slot_names_unique source status title todos version alt_description_source alt_description_text flavor annotation local name source local name value structured_aliases literal_form structured_aliases alias_predicate structured_aliases categories in subset id_prefixes emit_prefixes default_curi_maps | ||
>id schema aliases broad_mappings categories close_mappings comments conforms_to contributors created_by ignore default_prefix default_range deprecated deprecated_element_has_exact_replacement deprecated_element_has_possible_replacement description exact_mappings implements ignore in_language ignore ignore license mappings modified_by narrow_mappings notes rank related_mappings see_also slot_names_unique source status title todos version alt_descriptions alt_descriptions annotations local_names local_names structured_aliases structured_aliases structured_aliases in_subset id_prefixes emit_prefixes default_curi_maps | ||
> internal_separator: '|' internal_separator: '|' internal_separator: '|' internal_separator: '|' internal_separator: '|' internal_separator: '|' internal_separator: '|' internal_separator: '|' internal_separator: '|' internal_separator: '|' internal_separator: '|' internal_separator: '|' internal_separator: '|' internal_separator: '|' internal_separator: '|' internal_separator: '|' internal_separator: '|' internal_separator: '|' internal_separator: '|' internal_separator: '|' internal_separator: '|' | ||
> inner_key: source inner_key: text inner_key: flavor inner_key: source inner_key: value inner_key: literal_form inner_key: alias_predicate inner_key: categories "" | ||
http://example.com/some_schema some schema text1|text2 some_schema:1|some_schema:2 some_schema:1|some_schema:2 some_schema:1|some_schema:2 the overall usefulness of default_curi_maps is debatable|there may be some improper modeling in here like illegal ranges. what software will detect that?|what about numeric, date and booleans that get converted to strings?|what are implements and instantiates good for?|how well does including an imports statement in a schemsheets TSV work?|todo what about multivalued slots with multiple inner keys?|what does the schema repair method do? LinkML some_schema:1|some_schema:2 some_schema:1 some_schema float we all feel deprecated some times some_schema:1 some_schema:1 A schema that tests as many elements as possible. For use in testing YAML <-> sheets some_schema:1|some_schema:2 some_schema:1|some_schema:2 some_schema:1|some_schema:2 English some_schema:1|some_schema:2 MIT some_schema:1|some_schema:2 some_schema:1 some_schema:1|some_schema:2 text1|text2 3 some_schema:1|some_schema:2 some_schema:1|some_schema:2 TRUE some_schema:1 some_schema:1 See description SETTINGS! v0.0.1 wiktionary "An outline or image universally applicable to a general conception, under which it is likely to be presented to the mind" raspberry logic format schema_definition EXACT_SYNONYM some_schema:1|some_schema:2 main_subset|secret_subset data_prefix_1|data_prefix_2 data_prefix_1|data_prefix_2|non_data_prefix semweb_context|idot_context |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
setting name setting expansion | ||
>setting setting_value | ||
vowels [aeiouAEIOU]+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
setting name setting expansion | ||
>setting setting_value | ||
vowels [aeiouAEIOU]+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
class slot | ||
>class slot | ||
Vehicle exterior_color | ||
Vehicle max_passengers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
slot description | ||
>slot description | ||
exterior_color the primary color, using crayola names, of the exterior of the vehicle | ||
max_passengers That maximum number of human passengers that can be safely transported by the vehicle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Subset desc | ||
> subset description | ||
main_subset main subset | ||
supplementary_subset supplementary subset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
name: some schema | ||
conforms_to: LinkML | ||
implements: | ||
- some_schema:1 | ||
- some_schema:2 | ||
description: A schema that tests as many elements as possible. For use in testing | ||
YAML <-> sheets | ||
alt_descriptions: | ||
text: An outline or image universally applicable to a general conception, under | ||
which it is likely to be presented to the mind | ||
title: See description | ||
deprecated: we all feel deprecated some times | ||
todos: | ||
- text1 | ||
- text2 | ||
notes: | ||
- text1 | ||
- text2 | ||
comments: | ||
- text1 | ||
- text2 | ||
source: some_schema:1 | ||
in_language: English | ||
see_also: | ||
- some_schema:1 | ||
- some_schema:2 | ||
deprecated_element_has_exact_replacement: some_schema:1 | ||
deprecated_element_has_possible_replacement: some_schema:1 | ||
aliases: | ||
- text1 | ||
- text2 | ||
mappings: | ||
- some_schema:1 | ||
- some_schema:2 | ||
exact_mappings: | ||
- some_schema:1 | ||
- some_schema:2 | ||
close_mappings: | ||
- some_schema:1 | ||
- some_schema:2 | ||
related_mappings: | ||
- some_schema:1 | ||
- some_schema:2 | ||
narrow_mappings: | ||
- some_schema:1 | ||
- some_schema:2 | ||
broad_mappings: | ||
- some_schema:1 | ||
- some_schema:2 | ||
created_by: some_schema:1 | ||
created_on: '2023-01-01' | ||
last_updated_on: '2023-01-01' | ||
modified_by: some_schema:1 | ||
status: some_schema:1 | ||
rank: '3' | ||
id: http://example.com/some_schema | ||
version: v0.0.1 | ||
imports: | ||
- linkml:types | ||
license: MIT | ||
prefixes: | ||
some_schema: | ||
prefix_prefix: some_schema | ||
prefix_reference: http://example.com/some_schema_path/ | ||
linkml: | ||
prefix_prefix: linkml | ||
prefix_reference: https://w3id.org/linkml/ | ||
default_prefix: some_schema | ||
default_range: float | ||
slot_names_unique: true | ||
categories: | ||
- some_schema:1 | ||
- some_schema:2 | ||
keywords: | ||
- text1 | ||
- text2 | ||
contributors: | ||
- some_schema:1 | ||
- some_schema:2 |
Oops, something went wrong.