Dumped on 2011-10-24
A gene, gene product, or collection of gene products (i.e. macromolecular complex). A bioentity is capable of performing some kind of biological function, either by itself, or as a member of a larger object or complex.
F-Key | Name | Type | Description |
---|---|---|---|
id | character varying |
PRIMARY KEY
A unique identifier for the bioentity. MAPPINGS: GAF: c1:c2 LEAD: gene_product.dbxref.(xref_dbname+":"+xref_key) |
|
symbol | character varying |
NOT NULL
A concise label identifying the bioentity. This should be unique within the db, but this is not mandated. MAPPINGS: GAF: c3 LEAD: gene_product.symbol |
|
full_name | character varying |
NOT NULL
A descriptive label describing the bioentity. This should be unique within the db, but this is not mandated. MAPPINGS: GAF: c10 LEAD: gene_product.full_name |
|
ontol.cls.id | type_cls | character varying |
NOT NULL
An ontology identifier referencing the cls table, providing the bioentity type. The referenced ontology should be SO in the majority of cases, unless the type is "complex" in which case GO should be used. MAPPINGS: GAF: c12->class LEAD: gene_product.type_id |
ontol.cls.id | taxon_cls | character varying |
NOT NULL
An ontology identifier referencing the cls table, providing the organism type (e.g. NCBI Taxon class) MAPPINGS: GAF: c13 LEAD: "NCBITaxon:" + gene_product.species.ncbi_taxa_id |
db | character varying |
Database from which this bioentity ID comes from. MUST be the same as the prefix part of the id column. Note this is partly redundant with the id column. MAPPINGS: GAF: c11 LEAD: gene_product.dbxref.xref_dbname |
|
gaf.gaf_document.id | gaf_document | character varying |
Tables referencing this one via Foreign Key Constraints:
F-Key | Name | Type | Description |
---|---|---|---|
gaf.bioentity.id | bioentity | character varying | |
ontol.relation.id | relation | character varying | |
gaf.bioentity.id | parent_bioentity | character varying |
F-Key | Name | Type | Description |
---|---|---|---|
id | character varying | PRIMARY KEY | |
qualifier_obj | character varying |
Tables referencing this one via Foreign Key Constraints:
F-Key | Name | Type | Description |
---|---|---|---|
id | character varying | PRIMARY KEY | |
ontol.relation.id | relation | character varying | |
ontol.cls.id | cls | character varying |
Tables referencing this one via Foreign Key Constraints:
F-Key | Name | Type | Description |
---|---|---|---|
id | character varying | PRIMARY KEY | |
document_path | character varying |
Tables referencing this one via Foreign Key Constraints:
An association between a gene, gene-product or similar bioentity (e.g. a protein complex) and an ontology class that describes an attribute of that entity (e.g. its function or location), together with associated provenance metadata. Corresponds to a line in a GPAD or GAF file.
F-Key | Name | Type | Description |
---|---|---|---|
gaf.bioentity.id | bioentity | character varying | NOT NULL |
gaf.composite_qualifier.id | composite_qualifier | character varying |
Identical to col 4 in the GAF. StringBlob. This can be viewed as a composite expression describing the relationship between the bioentity and the GO cls. Typically this will be a single qualifier (e.g. "contributes_to"), but may be a pipe-separated list of qualifiers. These are decomposed in the composite_qualifier table. note: negative annotations to go in separate table. |
is_contributes_to | boolean | ||
is_integral_to | boolean | ||
ontol.cls.id | cls | character varying | NOT NULL |
reference_id | character varying |
The ontology class that describes an attribute of the bioentity |
|
ontol.cls.id | evidence_cls | character varying | |
gaf.with_info.id | with_expression | character varying |
Identical to GAF col 8. StringBlob. Example: CGSC:pabA|CGSC:pabB |
ontol.cls.id | acts_on_taxon_id | character varying | |
last_update_date | character varying | ||
assigned_by | character varying | ||
gaf.extension_expression.id | extension_expression | character varying |
Examples:
|
gene_product_form | character varying | ||
gaf_document | character varying |
F-Key | Name | Type | Description |
---|---|---|---|
source_id | character varying | NOT NULL | |
target_id | character varying | NOT NULL | |
relationship | character varying | ||
mapping_source | character varying |
F-Key | Name | Type | Description |
---|---|---|---|
id | character varying | PRIMARY KEY | |
with_xref | character varying |
Tables referencing this one via Foreign Key Constraints:
holds iff: cls SubClassOf rel Only tgt EXAMPLE: lactation only_in_taxon Mammalia ==> lactation SubClassOf in_taxon only Mammalia
F-Key | Name | Type | Description |
---|---|---|---|
ontol.cls.id | cls | character varying | PRIMARY KEY |
ontol.relation.id | relation | character varying | PRIMARY KEY |
ontol.cls.id | target_cls | character varying | PRIMARY KEY |
ontol.ontology.id | ontology | character varying | PRIMARY KEY |
holds iff: cls SubClassOf rel Some tgt
F-Key | Name | Type | Description |
---|---|---|---|
ontol.cls.id | cls | character varying | PRIMARY KEY |
ontol.relation.id | relation | character varying | PRIMARY KEY |
ontol.cls.id | target_cls | character varying | PRIMARY KEY |
ontol.ontology.id | ontology | character varying | PRIMARY KEY |
A non-logical relationship between two objects (classes or relations). When an obo consider tag is being used, relation=consider When an obo replaced_by tag is being used, relation=replaced_by MAPPINGS: OBO: property_value (also: consider, replaced_by) OWL: AnnotationAssertion(relation obj target_obj) LEAD: term2term_metadata
F-Key | Name | Type | Description |
---|---|---|---|
ontol.relation.id | relation | character varying | PRIMARY KEY |
obj | character varying | PRIMARY KEY | |
target_obj | character varying | PRIMARY KEY | |
ontol.ontology.id | ontology | character varying | PRIMARY KEY |
A non-logical relation/tag that can connect objects or objects and values. TYPICAL ENTRIES: consider, replaced_by TODO: use separate table? MAPPINGS: OBO: Typedef[is_metadata_tag=true] OWL: AnnotationProperty LEAD: term (overloaded)
F-Key | Name | Type | Description |
---|---|---|---|
id | character varying | PRIMARY KEY | |
label | character varying | ||
ontol.ontology.id | ontology | character varying | |
obo_namespace | character varying | ||
text_comment | text | ||
text_definition | text | ||
is_obsolete | boolean |
This table contains a cache of all axioms in the ontology, and their relationship to an object (a class, property or individual)
F-Key | Name | Type | Description |
---|---|---|---|
obj | character varying |
ID for the entity that is associated with the axiom. E.g. GO:0008150 |
|
axiom | character varying |
A formatted string encoding an axiom. E.g. SubClassOf(GO_000001 GO_0000002). TODO - QName scheme |
|
ontol.ontology.id | ontology | character varying |
The ontology to which the axiom belongs. Note that the axiom can belong to a different ontology from the class declaration |
is_directly_about | boolean |
True if the axiom is directly about obj. This corresponds to what you would see on the main display in Protege vs under the "about" tab |
|
owlformat | character varying |
The syntax used in axiom_cache.axiom. One of: functional, manchester, owlxml |
An ontology class (aka term).
MAPPINGS:
OBO: Term stanza. OWL: Class LEAD: term
F-Key | Name | Type | Description |
---|---|---|---|
id | character varying |
PRIMARY KEY
A unique identifier for this class. Example: GO:0008150 MAPPINGS: OBO: Term.id OWL: URI for class, with obo2owl transform. E.g. GO_nnnnnnn -> GO:nnnnnnn LEAD: term.acc |
|
label | character varying |
A descriptive label for this class. Should be unique within the ontology, but this is not enforced. Example: "lung development" MAPPINGS: OBO: term.name OWL: rdfs:label LEAD: term.name |
|
ontol.ontology.id | ontology | character varying |
The ontology to which this class belongs. Examples: "GO", "CL". References ontology.id MAPPINGS: OBO: the idspace for the term id OWL: ontology LEAD: n/a |
obo_namespace | character varying |
An obo namespace is similar to an ontology. The GO is split into 3 namespaces. Most ontologies have a 1:1 association between ontology and obo_namespace. MAPPINGS: OBO: term.namespace OWL: n/a LEAD: term.term_typeExample: "biological_process". |
|
text_comment | text | ||
text_definition | text |
A textual definition uniquely defining the class. MAPPINGS: OBO: term.definition OWL: see obo2owl guide LEAD: term_definition.term_definition API: getDef() |
|
is_obsolete | boolean |
True if this is an obsolete/deprecated class MAPPINGS: OBO: term.is_obsolete OWL: AnnotationProperty(owl:deprecated cls true) [TBD: obo obsoletion may be stronger] LEAD: term.is_obsolete |
Tables referencing this one via Foreign Key Constraints:
A shorthand for stating necessary and sufficient definitions. For any cls, the set of all_intersection_of tuples are collected. This constitutes a conjunctive expression that is equivalent to cls. E.g.
[Term] id: blue_car intersection_of: car intersection_of: has_color blue ==> [gold] cls_intersection_of(blue_car,null,car) cls_intersection_of(blue_car,has_color,blue) ==> [owl] EquivalentTo (blue_car IntersectionOf(car SomeValuesFrom(has_color blue)))// Limitation: only a single such equivalence relation is allowed per class // Note that there should never be a cls that only has a single cls_intersection_of. MAPPINGS: OBO: intersection_of OWL: EquivalentTo(cls IntersectionOf( {...} ) -- see obo2owl doc LEAD: term2term[completes=1]
F-Key | Name | Type | Description |
---|---|---|---|
cls | character varying | UNIQUE#1 | |
relation | character varying | UNIQUE#1 | |
target_cls | character varying | UNIQUE#1 | |
ontology | character varying | UNIQUE#1 |
A shorthand declaring a class to be equivalent to a union of other classes. For any cls, the set of all_union_of tuples are collected. This constitutes a conjunctive expression that is equivalent to cls. E.g.
[Term] id: prokaryote union_of: eubacteria union_of: archaea ==> [gold] cls_union_of(prokaryote,eubacteria) cls_union_of(prokaryote,archaea) ==> [owl] EquivalentTo (prokaryote UnionOf(eubacteria archaea))// Limitation: only a single such equivalence relation is allowed per class // Note that there should never be a cls that only has a single cls_union_of. MAPPINGS:
OBO: union_of OWL: EquivalentTo(cls UnionOf( {...} ) -- see obo2owl doc LEAD: n/a
F-Key | Name | Type | Description |
---|---|---|---|
cls | character varying | PRIMARY KEY | |
target_cls | character varying | PRIMARY KEY | |
ontology | character varying | PRIMARY KEY |
Two classes are disjoint if they share no instances or subclasses in common. MAPPINGS: OBO: Term.disjoint_from OWL: DisjointClasses(cls disjoint_cls) LEAD: n/a
F-Key | Name | Type | Description |
---|---|---|---|
cls | character varying | PRIMARY KEY | |
disjoint_cls | character varying | PRIMARY KEY | |
ontology | character varying | PRIMARY KEY |
F-Key | Name | Type | Description |
---|---|---|---|
cls | character varying | PRIMARY KEY | |
equivalent_cls | character varying | PRIMARY KEY | |
ontology | character varying | PRIMARY KEY |
holds iff: cls SubClassOf rel Only tgt EXAMPLE: lactation only_in_taxon Mammalia ==> lactation SubClassOf in_taxon only Mammalia
F-Key | Name | Type | Description |
---|---|---|---|
cls | character varying | PRIMARY KEY | |
relation | character varying | PRIMARY KEY | |
target_cls | character varying | PRIMARY KEY | |
is_direct | boolean | ||
is_reflexive | boolean | ||
quantifier | character varying | ||
ontology | character varying | PRIMARY KEY |
holds iff: cls SubClassOf rel Some tgt
F-Key | Name | Type | Description |
---|---|---|---|
cls | character varying | PRIMARY KEY | |
relation | character varying | PRIMARY KEY | |
target_cls | character varying | PRIMARY KEY | |
is_direct | boolean | ||
is_reflexive | boolean | ||
quantifier | character varying | ||
ontology | character varying | PRIMARY KEY |
holds iff: cls SubClassOf ComplementOf(rel Some tgt) EXAMPLE: odontogenesis never_in_taxon Aves ==> odontogenesis SubClassOf ComplementOf(in_taxon some Aves) [taxon_go_triggers]
F-Key | Name | Type | Description |
---|---|---|---|
cls | character varying | PRIMARY KEY | |
target_cls | character varying | PRIMARY KEY | |
relation | character varying | PRIMARY KEY | |
is_direct | boolean | ||
is_reflexive | boolean | ||
quantifier | character varying | ||
ontology | character varying | PRIMARY KEY |
holds iff: cls SubClassOf tgt, where both cls and tgt are named classes.
F-Key | Name | Type | Description |
---|---|---|---|
cls | character varying | PRIMARY KEY | |
target_cls | character varying | PRIMARY KEY | |
is_direct | boolean | ||
is_reflexive | boolean | ||
relation | character varying | ||
quantifier | character varying | ||
ontology | character varying | PRIMARY KEY |
holds iff: cls SubObjectPropertyOf super_cls
F-Key | Name | Type | Description |
---|---|---|---|
relation | character varying | PRIMARY KEY | |
super_relation | character varying | PRIMARY KEY | |
is_direct | boolean | ||
is_reflexive | boolean | ||
ontology | character varying | PRIMARY KEY |
holds iff: cls SubClassOf ComplementOf(rel Some tgt) EXAMPLE: odontogenesis never_in_taxon Aves ==> odontogenesis SubClassOf ComplementOf(in_taxon some Aves) [taxon_go_triggers]
F-Key | Name | Type | Description |
---|---|---|---|
cls | character varying | PRIMARY KEY | |
target_cls | character varying | PRIMARY KEY | |
relation | character varying | PRIMARY KEY | |
ontology | character varying | PRIMARY KEY |
An alternive identifier for a class or relation, typically arising from class merges. MAPPINGS: OBO: alt_id OWL: see obo2owl spec LEAD: term_synonym (overloaded)
F-Key | Name | Type | Description |
---|---|---|---|
obj | character varying | PRIMARY KEY | |
id | character varying | PRIMARY KEY |
Synonyms and alternative labels. TODO - denormalize synonym_xrefs MAPPINGS: OBO: synonym OWL: see obo2owl spec LEAD: term_synonym
F-Key | Name | Type | Description |
---|---|---|---|
obj | character varying |
UNIQUE#1
class or relation that owns the alternate label. |
|
label | character varying | UNIQUE#1 | |
synonym_scope | character varying | UNIQUE#1 | |
synonym_type | character varying | UNIQUE#1 | |
synonym_xref | character varying | UNIQUE#1 |
Provenance for a class or relation textual definition MAPPINGS: OBO: term.def.xrefs OWL: see obo2owl spec LEAD: term_dbxref[is_for_definition=1]
F-Key | Name | Type | Description |
---|---|---|---|
obj | character varying | PRIMARY KEY | |
xref | character varying |
PRIMARY KEY
Identifier for def xref. EXAMPLE: PMID:123456 EXAMPLE: http://en/wikipedia.org/wiki/Transcription OBO: term.def.xrefs OWL: see obo2owl spec LEAD: term_dbxref[is_for_definition=1].dbxref.{xref_dbname:xref_key} |
Relates an ontology class or relation to an ontology_subset. MAPPINGS: OBO: term.subset OWL: see obo2owl spec LEAD: term_subset
F-Key | Name | Type | Description |
---|---|---|---|
obj | character varying | PRIMARY KEY | |
ontology_subset | character varying | PRIMARY KEY |
F-Key | Name | Type | Description |
---|---|---|---|
obj | character varying | PRIMARY KEY | |
xref | character varying | PRIMARY KEY | |
xref_description | character varying |
A collection of classes, relations and relationships.
MAPPINGS:
OBO: header.ontology (introduced in obof1.4)
OWL: Ontology
LEAD: n/a
F-Key | Name | Type | Description |
---|---|---|---|
id | character varying | PRIMARY KEY | |
label | character varying | ||
versioniri | character varying | ||
creation_date | character varying |
Tables referencing this one via Foreign Key Constraints:
F-Key | Name | Type | Description |
---|---|---|---|
id | character varying | PRIMARY KEY | |
description | character varying | ||
default_scope | character varying |
A property of an ontology
MAPPINGS:
OBO: header.Example properties: saved_byOWL: OntologyAnnotation(ontology property value) LEAD: n/a
F-Key | Name | Type | Description |
---|---|---|---|
ontology | character varying | PRIMARY KEY | |
property | character varying | PRIMARY KEY | |
annotation_value | character varying | PRIMARY KEY |
This table maintains history of chages of an ontology when the ontology is updated preiodically. This table is on experimental basis. Its structure can be changed in future.
F-Key | Name | Type | Description |
---|---|---|---|
table_name | character varying | ||
col | character varying | ||
ontology | character varying | ||
versioniri | character varying | ||
new_value | character varying |
F-Key | Name | Type | Description |
---|---|---|---|
ontology | character varying | PRIMARY KEY | |
imports_ontology | character varying |
A named subset of the ontology EXAMPLE: goslim_prok MAPPINGS: OBO: header.subsetdef OWL: see obo2owl spec LEAD: term (term table is overloaded)
F-Key | Name | Type | Description |
---|---|---|---|
id | character varying | PRIMARY KEY | |
label | character varying |
An ontology relation
MAPPINGS:
OBO: Typedef stanza.
OWL: ObjectProperty
LEAD: term (the term table is overloaded)
F-Key | Name | Type | Description |
---|---|---|---|
id | character varying |
PRIMARY KEY
A unique identifier for this relation. Example: part_of MAPPINGS: OBO: Term.id OWL: URI for relation, with obo2owl transform. LEAD: term.acc |
|
label | character varying |
A descriptive label for this relation. Should be unique within the ontology, but this is not enforced. Example: "is part of" MAPPINGS: OBO: term.name OWL: rdfs:label LEAD: term.name |
|
ontology | character varying |
The ontology to which this relation belongs. Examples: "RO", "GO". References ontology.id MAPPINGS: OBO: the idspace for the term id OWL: ontology LEAD: n/a |
|
obo_namespace | character varying |
See comments for cls.namespace MAPPINGS: OBO: term.namespace OWL: n/a LEAD: term.term_type Example: "biological_process". |
|
text_comment | text | ||
text_definition | text |
A textual definition uniquely defining the relation. MAPPINGS: OBO: term.definition OWL: see obo2owl guide LEAD: term_definition.term_definition |
|
is_transitive | boolean | ||
is_symmetric | boolean | ||
is_reflexive | boolean | ||
is_obsolete | boolean |
Tables referencing this one via Foreign Key Constraints:
A rule defining how two relations are composed. SEMANTICS: SubObjectPropertyOf(inferred_relation PropertyChain(relation1 relation2)) note this table cannot be used for property chains of length >2, GO should not have these. if this is desired then the property chain should be broken into pairs. EXAMPLE: SubObjectPropertOf(regulates PropertyChain(regulates part_of)) (in obof, this is encoded using transitive_over). EXAMPLE: has_part o part_of --> overlaps EXAMPLE: regulates o part_of --> regulates MAPPINGS: OBO: typedef.holds_over_chain OWL: SubObjectPropertyOf(inferred_relation PropertyChain(relation1 relation2)) LEAD: n/a
F-Key | Name | Type | Description |
---|---|---|---|
inferred_relation | character varying | PRIMARY KEY | |
relation1 | character varying | PRIMARY KEY | |
relation2 | character varying | PRIMARY KEY | |
is_bidirectional | boolean |
True if the implication is bidirectional. MAPPINGS: OBO: true for typedef.equivalent_to_chain, false for typedef.holds_over_chain OWL: n/a LEAD: n/a |
holds iff: DisjointObjectProperties(relation disjoint_relation)
F-Key | Name | Type | Description |
---|---|---|---|
relation | character varying | PRIMARY KEY | |
disjoint_relation | character varying | PRIMARY KEY | |
ontology | character varying | PRIMARY KEY |
holds iff: EquivalentObjectProperties(relation equivalent_relation)
F-Key | Name | Type | Description |
---|---|---|---|
relation | character varying | PRIMARY KEY | |
equivalent_relation | character varying | PRIMARY KEY | |
ontology | character varying | PRIMARY KEY |
holds iff: cls SubClassOf super_cls
F-Key | Name | Type | Description |
---|---|---|---|
cls | character varying | PRIMARY KEY | |
super_cls | character varying | PRIMARY KEY | |
ontology | character varying | PRIMARY KEY |
holds iff: cls SubObjectPropertyOf super_cls
F-Key | Name | Type | Description |
---|---|---|---|
relation | character varying | PRIMARY KEY | |
super_relation | character varying | PRIMARY KEY | |
ontology | character varying | PRIMARY KEY |
F-Key | Name | Type | Description |
---|---|---|---|
id | character varying | PRIMARY KEY | |
label | character varying | ||
versioniri | character varying | ||
creation_date | character varying |
F-Key | Name | Type | Description |
---|---|---|---|
bioentity | character varying | ||
ancestor_bioentity | character varying | ||
branch_length_sum | double precision | ||
family | character varying |
F-Key | Name | Type | Description |
---|---|---|---|
bioentity | character varying | ||
parent_bioentity | character varying | ||
branch_length | double precision | ||
family | character varying |
F-Key | Name | Type | Description |
---|---|---|---|
family | character varying | ||
data_source | text | ||
data_dump | text | ||
data_format | character varying |
F-Key | Name | Type | Description |
---|---|---|---|
family | character varying | ||
bioentity | character varying |
F-Key | Name | Type | Description |
---|---|---|---|
bioentity1 | character varying | ||
bioentity2 | character varying | ||
relationship_type | character varying | ||
ancestor_taxon | character varying | ||
family | character varying |
standard public schema
Generated by PostgreSQL Autodoc