diff --git a/src/linkml_map/datamodel/transformer_model.yaml b/src/linkml_map/datamodel/transformer_model.yaml index e2acb12..7751dd9 100644 --- a/src/linkml_map/datamodel/transformer_model.yaml +++ b/src/linkml_map/datamodel/transformer_model.yaml @@ -23,6 +23,7 @@ prefixes: rdfs: http://www.w3.org/2000/01/rdf-schema# sh: http://www.w3.org/ns/shacl# STATO: http://purl.obolibrary.org/obo/STATO_ + sssom: https://w3id.org/sssom/ default_prefix: linkmlmap imports: @@ -75,6 +76,23 @@ classes: title: description: human readable title for this transformation specification slot_uri: dcterms:title + description: + description: >- + A description of the transformation specification, including its purpose, + how it should be used, and any other relevant information. + slot_uri: dcterms:description + publication_date: + description: date of publication of this transformation specification + range: date + slot_uri: dcterms:issued + license: + description: license under which this transformation specification is published + range: uriorcurie + slot_uri: dcterms:license + version: + description: version of this transformation specification + range: string + slot_uri: dcterms:version prefixes: description: maps prefixes to URL expansions range: KeyVal @@ -89,6 +107,21 @@ classes: description: name of the schema that describes the source (input) objects target_schema: description: name of the schema that describes the target (output) objects + creator_id: + description: A list of creators of this transformation specification + range: uriorcurie + multivalued: true + slot_uri: sssom:creator_id + author_id: + description: A list of authors of this transformation specification + range: uriorcurie + multivalued: true + slot_uri: sssom:author_id + mapping_method: + description: The method used to create this mapping, e.g. manual curation, automated + mapping, etc. + range: uriorcurie + slot_uri: sssom:mapping_justification class_derivations: description: >- Instructions on how to derive a set of classes in the target schema diff --git a/tests/input/examples/personinfo_basic/transform/personinfo-to-agent.transform.yaml b/tests/input/examples/personinfo_basic/transform/personinfo-to-agent.transform.yaml index d16593b..52afe93 100644 --- a/tests/input/examples/personinfo_basic/transform/personinfo-to-agent.transform.yaml +++ b/tests/input/examples/personinfo_basic/transform/personinfo-to-agent.transform.yaml @@ -1,9 +1,21 @@ -id: my-mappings -title: my mappings +id: https://w3id.org/linkml/map/example/personinfo-to-agent.transform.yaml +title: PersonInfo to Agent example transformation +version: 0.1 prefixes: foo: foo -source_schema: s1 -target_schema: s2 + semapv: https://w3id.org/semapv/vocab/ +description: | + This mapping set demonstrates how to transform a person information schema + into a different format using LinkML. +license: https://creativecommons.org/licenses/by/4.0/ +creator_id: + - https://orcid.org/0000-0002-7356-1779 +author_id: + - https://orcid.org/0000-0002-7356-1779 +publication_date: 2025-08-14 +source_schema: https://w3id.org/linkml/map/example/personinfo.yaml +target_schema: https://w3id.org/linkml/map/example/agent.yaml +mapping_method: semapv:ManualMappingCuration class_derivations: Container: populated_from: Container