Class: Resource
Description of an external resource used for referencing an object. For example the resource may be an ontology such as the HPO or SNOMED. FHIR mapping: CodeSystem (http://www.hl7.org/fhir/codesystem.html)
erDiagram
Resource {
string id
string iriPrefix
string name
string namespacePrefix
string url
string version
}
Slots
Name | Cardinality and Range | Description | Inheritance |
---|---|---|---|
id | 0..1 String |
for OBO Ontologies, the value of this string MUST always be the official OBO ... | direct |
iriPrefix | 0..1 String |
Full IRI prefix which can be used with the namespace_prefix and the OntologyC... | direct |
name | 0..1 String |
e | direct |
namespacePrefix | 0..1 String |
The prefix used in the CURIE of an OntologyClass e | direct |
url | 0..1 String |
For OBO ontologies, this should always be the PURL, e | direct |
version | 0..1 String |
for OBO ontologies, this should be the versionIRI | direct |
Usages
used by | used in | type | used |
---|---|---|---|
MetaData | resources | range | Resource |
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/linkml/phenopackets/phenopackets
Mappings
Mapping Type | Mapped Value |
---|---|
self | phenopackets:Resource |
native | phenopackets:Resource |
LinkML Source
Direct
name: Resource
description: 'Description of an external resource used for referencing an object.
For example the resource may be an ontology such as the HPO or SNOMED. FHIR mapping:
CodeSystem (http://www.hl7.org/fhir/codesystem.html)'
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
attributes:
id:
name: id
annotations:
percent_encoded:
tag: percent_encoded
value: true
rank:
tag: rank
value: 1
description: 'for OBO Ontologies, the value of this string MUST always be the
official OBO ID, which is always equivalent to the ID prefix in lower case.
Examples: hp, go, mp, mondo Consult http://obofoundry.org for a complete list
For other ontologies (e.g. SNOMED), use the prefix in identifiers.org'
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
domain_of:
- Cohort
- Family
- Phenopacket
- ExternalReference
- OntologyClass
- Biosample
- Allele
- ChromosomeLocation
- CopyNumber
- Member
- SequenceLocation
- Text
- VariationDescriptor
- VcfRecord
- Interpretation
- Individual
- Resource
range: string
iriPrefix:
name: iriPrefix
annotations:
rank:
tag: rank
value: 6
description: 'Full IRI prefix which can be used with the namespace_prefix and
the OntologyClass::id to resolve to an IRI for a term. Tools such as the curie-util
(https://github.com/prefixcommons/curie-util) can utilise this to produce fully-resolvable
IRIs for an OntologyClass. e.g. Using the HPO term encoding the concept of ''Severe''
OntologyClass: id: ''HP:0012828'' label: ''Severe'' Resource: namespace_prefix:
''HP'' iri_prefix: ''http://purl.obolibrary.org/obo/HP_'' the term can be resolved
to http://purl.obolibrary.org/obo/HP_0012828'
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
rank: 1000
domain_of:
- Resource
range: string
name:
name: name
annotations:
rank:
tag: rank
value: 2
description: e.g. The Human Phenotype Ontology for OBO Ontologies, the value of
this string SHOULD be the same as the title field on http://obofoundry.org however,
this field is purely for information purposes and software should not encode
any assumptions
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
domain_of:
- Extension
- Resource
range: string
namespacePrefix:
name: namespacePrefix
annotations:
rank:
tag: rank
value: 5
description: The prefix used in the CURIE of an OntologyClass e.g. HP, MP, ECO
For example an HPO term will have a CURIE like this - HP:0012828 which should
be used in combination with the iri_prefix to form a fully-resolvable IRI
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
rank: 1000
domain_of:
- Resource
range: string
url:
name: url
annotations:
rank:
tag: rank
value: 3
description: For OBO ontologies, this should always be the PURL, e.g. http://purl.obolibrary.org/obo/hp.owl,
http://purl.obolibrary.org/obo/hp.obo
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
rank: 1000
domain_of:
- Resource
range: string
version:
name: version
annotations:
rank:
tag: rank
value: 4
description: for OBO ontologies, this should be the versionIRI
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
domain_of:
- Expression
- Resource
range: string
Induced
name: Resource
description: 'Description of an external resource used for referencing an object.
For example the resource may be an ontology such as the HPO or SNOMED. FHIR mapping:
CodeSystem (http://www.hl7.org/fhir/codesystem.html)'
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
attributes:
id:
name: id
annotations:
percent_encoded:
tag: percent_encoded
value: true
rank:
tag: rank
value: 1
description: 'for OBO Ontologies, the value of this string MUST always be the
official OBO ID, which is always equivalent to the ID prefix in lower case.
Examples: hp, go, mp, mondo Consult http://obofoundry.org for a complete list
For other ontologies (e.g. SNOMED), use the prefix in identifiers.org'
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
alias: id
owner: Resource
domain_of:
- Cohort
- Family
- Phenopacket
- ExternalReference
- OntologyClass
- Biosample
- Allele
- ChromosomeLocation
- CopyNumber
- Member
- SequenceLocation
- Text
- VariationDescriptor
- VcfRecord
- Interpretation
- Individual
- Resource
range: string
iriPrefix:
name: iriPrefix
annotations:
rank:
tag: rank
value: 6
description: 'Full IRI prefix which can be used with the namespace_prefix and
the OntologyClass::id to resolve to an IRI for a term. Tools such as the curie-util
(https://github.com/prefixcommons/curie-util) can utilise this to produce fully-resolvable
IRIs for an OntologyClass. e.g. Using the HPO term encoding the concept of ''Severe''
OntologyClass: id: ''HP:0012828'' label: ''Severe'' Resource: namespace_prefix:
''HP'' iri_prefix: ''http://purl.obolibrary.org/obo/HP_'' the term can be resolved
to http://purl.obolibrary.org/obo/HP_0012828'
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
rank: 1000
alias: iriPrefix
owner: Resource
domain_of:
- Resource
range: string
name:
name: name
annotations:
rank:
tag: rank
value: 2
description: e.g. The Human Phenotype Ontology for OBO Ontologies, the value of
this string SHOULD be the same as the title field on http://obofoundry.org however,
this field is purely for information purposes and software should not encode
any assumptions
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
alias: name
owner: Resource
domain_of:
- Extension
- Resource
range: string
namespacePrefix:
name: namespacePrefix
annotations:
rank:
tag: rank
value: 5
description: The prefix used in the CURIE of an OntologyClass e.g. HP, MP, ECO
For example an HPO term will have a CURIE like this - HP:0012828 which should
be used in combination with the iri_prefix to form a fully-resolvable IRI
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
rank: 1000
alias: namespacePrefix
owner: Resource
domain_of:
- Resource
range: string
url:
name: url
annotations:
rank:
tag: rank
value: 3
description: For OBO ontologies, this should always be the PURL, e.g. http://purl.obolibrary.org/obo/hp.owl,
http://purl.obolibrary.org/obo/hp.obo
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
rank: 1000
alias: url
owner: Resource
domain_of:
- Resource
range: string
version:
name: version
annotations:
rank:
tag: rank
value: 4
description: for OBO ontologies, this should be the versionIRI
from_schema: https://w3id.org/linkml/phenopackets/phenopackets
alias: version
owner: Resource
domain_of:
- Expression
- Resource
range: string