Class: GraphDocument

A graph document is a collection of graphs together with a set of prefixes that apply across all of them

URI: obographs:GraphDocument

classDiagram class GraphDocument GraphDocument : graphs GraphDocument --> Graph : graphs GraphDocument : meta GraphDocument --> Meta : meta GraphDocument : prefixes GraphDocument --> PrefixDeclaration : prefixes

Slots

Name

Cardinality and Range

Description

Inheritance

meta

0..1
Meta

A collection of metadata about either an ontology (graph), an entity, or an a…

direct

graphs

0..*
Graph

A list of all graphs (ontologies) in an ontology document

direct

prefixes

0..*
PrefixDeclaration

A collection of mappings between prefixes and namespaces, used to map CURIEs …

direct

Comments

  • A graph document frequently has a single graph but a multi-graph document can be used to represent multiple ontologies in an import closure in a single file.

Identifier and Mapping Information

Schema Source

  • from schema: https://github.com/geneontology/obographs

Mappings

Mapping Type

Mapped Value

self

obographs:GraphDocument

native

obographs:GraphDocument

LinkML Source

Direct

```yaml name: GraphDocument description: A graph document is a collection of graphs together with a set of prefixes that apply across all of them comments: - A graph document frequently has a single graph but a multi-graph document can be used to represent multiple ontologies in an import closure in a single file. from_schema: https://github.com/geneontology/obographs slots: - meta - graphs - prefixes
</details>

### Induced

<details>
```yaml
name: GraphDocument
description: A graph document is a collection of graphs together with a set of prefixes
  that apply across all of them
comments:
- A graph document frequently has a single graph but a multi-graph document can be
  used to represent multiple ontologies in an import closure in a single file.
from_schema: https://github.com/geneontology/obographs
attributes:
  meta:
    name: meta
    description: A collection of metadata about either an ontology (graph), an entity,
      or an axiom
    from_schema: https://github.com/geneontology/obographs
    aliases:
    - annotations
    rank: 1000
    alias: meta
    owner: GraphDocument
    domain_of:
    - GraphDocument
    - Graph
    - Node
    - Edge
    - PropertyValue
    - Axiom
    range: Meta
  graphs:
    name: graphs
    description: A list of all graphs (ontologies) in an ontology document.
    from_schema: https://github.com/geneontology/obographs
    rank: 1000
    multivalued: true
    alias: graphs
    owner: GraphDocument
    domain_of:
    - GraphDocument
    range: Graph
    inlined: true
    inlined_as_list: true
  prefixes:
    name: prefixes
    description: A collection of mappings between prefixes and namespaces, used to
      map CURIEs (e.g. GO:0008150) to IRIs (e.g. http://purl.obolibrary.org/obo/GO_0008150)
    from_schema: https://github.com/geneontology/obographs
    rank: 1000
    slot_uri: sh:declare
    multivalued: true
    alias: prefixes
    owner: GraphDocument
    domain_of:
    - GraphDocument
    - Graph
    range: PrefixDeclaration
    inlined: true