Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Next

- Add the concept of "propagatable slots".
- Add the `curie_map` to the model (instead of it being a specificity of the SSSOM/TSV format).

## SSSOM version 0.15.1

Expand Down
14 changes: 14 additions & 0 deletions examples/schema/curie_map.sssom.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#curie_map:
# HP: http://purl.obolibrary.org/obo/HP_
# MP: http://purl.obolibrary.org/obo/MP_
# orcid: https://orcid.org/
#mapping_set_id: https://w3id.org/sssom/commons/examples/curie_map.sssom.tsv
#license: "https://creativecommons.org/publicdomain/zero/1.0/"
#creator_id:
# - orcid:0000-0002-7356-1779
#mapping_provider: "https://w3id.org/sssom/core_team"
#comment: This is an example file for the SSSOM for illustration only. Its contents are entirely fabricated.
subject_id predicate_id object_id mapping_justification
HP:0009124 skos:exactMatch MP:0000003 semapv:ManualMappingCuration
HP:0008551 skos:exactMatch MP:0000018 semapv:ManualMappingCuration
HP:0000411 skos:exactMatch MP:0000021 semapv:ManualMappingCuration
Binary file modified project/excel/sssom_schema.xlsx
Binary file not shown.
53 changes: 53 additions & 0 deletions project/graphql/sssom_schema.graphql
Original file line number Diff line number Diff line change
@@ -1,3 +1,44 @@
type LiteralMapping
{
literal: String!
literalDatatype: Uri
predicateId: EntityReference!
predicateLabel: String
predicateModifier: PredicateModifierEnum
objectId: EntityReference!
objectLabel: String
objectCategory: String
mappingJustification: EntityReference!
authorId: [EntityReference]
authorLabel: [String]
reviewerId: [EntityReference]
reviewerLabel: [String]
creatorId: [EntityReference]
creatorLabel: [String]
license: Uri
literalSource: EntityReference
literalSourceVersion: String
objectType: EntityTypeEnum
objectSource: EntityReference
objectSourceVersion: String
mappingProvider: Uri
mappingSource: EntityReference
mappingCardinality: MappingCardinalityEnum
mappingTool: String
mappingToolVersion: String
mappingDate: Date
confidence: Double
objectMatchField: [EntityReference]
matchString: [String]
literalPreprocessing: [EntityReference]
objectPreprocessing: [EntityReference]
similarityScore: Double
similarityMeasure: String
seeAlso: [String]
other: String
comment: String
}

type Mapping
{
subjectId: EntityReference!
Expand Down Expand Up @@ -60,6 +101,7 @@ type MappingRegistry

type MappingSet
{
curieMap: [Prefix]
mappings: [Mapping]
mappingSetId: Uri!
mappingSetVersion: String
Expand Down Expand Up @@ -100,3 +142,14 @@ type MappingSetReference
localName: String
}

type Prefix
{
prefixName: Ncname!
prefixUrl: Uri
}

type Propagatable
{
propagated: Boolean
}

Loading