Skip to content
Ontology docs

Documentation generated from LinkML

WikiPathways GPML Vocabulary

Classes

Class Description
Anchor A connection point on a graphical line or an interaction, where another graphical line or interaction can be connected.
Attribute Element used to specify key/value paired information for a given object.
Biopax Element used to embed Biopax (namespace: http://www.biopax.org/release/biopax-level3.owl) content in a GPML document.
Comment Elements used to provide descriptions and arbitrary notes for a given object.
DataNode Denotes a biological entity that forms a node in a pathway and has some biological meaning associated with it. For a list of the gpml:DataNode types supported at WikiPathways, see subclasses of wp:DataNode or the wpTypes vocabulary defined for use in applications.
GraphicalLine A visual annotation, often used to partition space or connect other annotation, e.g., Shapes. An Xref can not be specified for GraphicalLines (in contrast to Interactions).
Group A collection of structurally or functionally similar or related pathway elements.
InfoBox Currently just a placeholder -- not used.
Interaction Defines the biochemical relationship between DataNodes or with Anchors on other Interactions. An Xref can be specified for Interactions (in contrast to GraphicalLines).
Label A text field which can be used to annotate any aspect of a pathway.
Legend An explanatory list of the colors used for visualizing data on the pathway. Not currently used.
Pathway A graph diagram representing a biological process as a set of interactions and relationships among genes, proteins, metabolites, and other factors in the context of cellular compartments, tissues and organisms.
Point A location in 2-dimensional space defined by x and y coordinates.
PublicationXref Defines a literature reference. Refers to a BioPAX definition.
RequiresCurationAttention Deprecated: Not in use.
Shape Shape can refer to two different things in GPML, both of which are associated with graphical elements.
State A particular condition, mode or modification of an entity, e.g., phosphorylated, activated, mutated, SNP, etc.
Xref Reference to a database entry that matches the node in the pathway. It is a combination of an identifier of the entity and an identifier of the database in which the entity is found.

Slots

Slot Description
align Horizontal alignment of displayed text, e.g., Left, Center, Right.
arrow_head Specifies the glyph at the ends of lines and interactions.
author The person who created or edited the pathway in question.
biopax_ref Reuse of references defined by BioPAX.
board_height Range minimum is zero.
board_width Range minimum is zero.
center_x Middle of a pathway element in the x-direction.
center_y Middle of a pathway element in the y-direction.
color The color to be used for visualization.
connector_type Specifies a set of rules to govern layout of Graphical Lines and Interactions. PathVisio (Java): Line Type and GPML: ConnectorType
data_source Deprecated: Not in use.
database Specifies the datasource for the identifier provided as an Xref. Equivalent to http://vocabularies.bridgedb.org/ops#DataSource conventional name .
email Deprecated: An electronic mail address. Used to reference the author or maintainer of a pathway prior to WikiPathways.
fill_color The hexidecimal color value used to paint the area of an object, not including its border.
font_decoration Deprecated: Not in use.
font_name The name of the set of printable text characters to be used for visualization.
font_size The point value for the size of the font.
font_strikethru Deprecated: Not in use.
font_style The typographic style or font face applied to displayed text, e.g., Arial.
font_weight Thickness of the font used, e.g a bold font would have more weight. Used for DataNodes, Labels and Shapes.
graph_id A GraphId is a unique (per Pathway) identifier for a pathway element, such as DataNode, Interaction, GraphicalLine, Label, Point, Group, Shape, State and Anchor.
graph_ref A GraphRef indicates a "depends on" or child/parent relationship between two Pathway elements. The element with the GraphRef is the child, and the element referred to by the GraphRef is the parent. The parent's GraphId will be specified by the child's GraphRef.
group_id Uniquely identifies a gpml:Group in a gpml:Pathway.
group_ref A GroupRef indicates that its element is part of the gpml:Group with the specified GroupId. DataNode, GraphicalLine, Group, Interaction, Label and Shape can be part of a group.
has_anchor Boolean property for the existence of an Anchor on a given line or interaction.
has_attribute Boolean property for the existence of an Attribute class associated with a given object.
has_biopax Boolean property for the existence of a BioPax class associated with a given pathway.
has_comment Boolean property for the existence of a Comment class associated with a given object.
has_data_node Boolean property for the existence of a DataNode in a given pathway.
has_graphical_line Boolean property for the existence of a GraphicalLine in a given pathway.
has_group Boolean property for the existence of a Group in a given pathway.
has_info_box Boolean property for the existence of an InfroBox in a given pathway.
has_interaction Boolean property for the existence of an Interaction in a given pathway.
has_label Boolean property for the existence of a Label in a given pathway.
has_legend Boolean property for the existence of a Legend in a given pathway.
has_point Boolean property for the existence of a Point in a given line or interaction.
has_publication_xref Boolean property for the existence of a PublicationXref associated with a given object.
has_shape Boolean property for the existence of a Shape in a given pathway.
has_state Boolean property for the existence of a State in a given pathway.
has_xref Boolean property for the existence of an Xref associated with a given object.
height The pixel value for the y-dimensional length of a given object.
href The hyperlink optionally specified in a Label.
id The identifier of a PublicationXref or Xref object.
key Key of the key/value pair in the Attribute class.
last_modified The date of the last modification of the pathway.
license The license of a pathway.
line_style The visual appearance of a line or border, e.g., Solid or Broken.
line_thickness The pixel value for the width of a given line, interaction or border.
maintainer The maintainer of the pathway. Currently not used in WP.
name The name of a pathway.
organism The scientific name (e.g., Homo sapiens) of the species being described by the pathway.
position Proportional distance of an anchor along the line it belongs to, between 0 and 1.
rel_x RelX is the x-coordinate used when a point or state is linked to a another object - relative coordinate to the object that it is linked to (0,0 - center, 1,1 - bottom-right).
rel_y RelY is the y-coordinate used when a point or state is linked to a another object - relative coordinate to the object that it is linked to (0,0 - center, 1,1 - bottom-right).
rotation The degree value of angular offset relative to the center of a given object.
shape The visual representation of an anchor, e.g., Circle or None.
shape_type Currently: Specifies the glyph (graphical representation) to use for GPML elements (DataNode, Label, Shape, State). Proposed: Expand it to also describe Anchors. It should replace the term currently used to specify the graphical representation of an Anchor. The current term is "Shape," which conflicts with the GPML element named "Shape." See details for term "Shape."
source The author, reference or category of a comment. Used to help parse pathway-level comments, e.g., the descriptions displayed at WikiPathways.org are comments with source="WikiPathways-description".
state_type A free text field to describe the nature or category of a given state.
style The type of Group, e.g., Complex.
textlabel TextLabel of an object (DataNode, Group, Label, Shape, State).
type Specifies the type of an object (DataNode, GraphicalLine, Interaction).
valign Vertical alignment of displayed text, e.g., Top, Middle, Bottom.
value Value of the key/value pair in the Attribute class.
version The version of a Pathway (currently not used in WP).
width The pixel value for the x-dimensional length of a given object.
x The x-coordinate of a point in the 2-dimensional plane in which a pathway is drawn.
y The y-coordinate of a point in the 2-dimensional plane in which a pathway is drawn.
zorder Indicates the zorder of the object in the pathway.

Types

Type Description
any_number A number of any type
boolean A binary (true or false) value
curie a compact URI
date a date (year, month and day) in an idealized calendar
date_or_datetime Either a date or a datetime
datetime The combination of a date and time
decimal A real number with arbitrary precision that conforms to the xsd:decimal specification
double A real number that conforms to the xsd:double specification
float A real number that conforms to the xsd:float specification
float16 A 16-bit floating point number
float32 A 32-bit floating point number
float64 A 64-bit floating point number
int16 A 16-bit signed integer
int32 A 32-bit signed integer
int64 A 64-bit signed integer
int8 An 8-bit signed integer
integer An integer
jsonpath A string encoding a JSON Path. The value of the string MUST conform to JSON Point syntax and SHOULD dereference to zero or more valid objects within the current instance document when encoded in tree form.
jsonpointer A string encoding a JSON Pointer. The value of the string MUST conform to JSON Point syntax and SHOULD dereference to a valid object within the current instance document when encoded in tree form.
langstring String with optional localization variants. Either a plain, non-langauge-tagged string or a multi-language mapping with at least one value. In JSON, plain strings should be mapped to JSON strings, and multi-language strings should be represented as a dictionary object of a language tag to a value in that language. In RDF, plain strings should be mapped to xsd:string, and multi-language strings to rdf:langString. In multivalued slots, each value is a separate langstring, so plain strings and multi-language mappings may be mixed in one list. When a generator needs the text in one language and it is missing, it uses the en text, or if there is none, the text of the alphabetically first language tag. A plain string is used as is, whatever language is requested.
ncname Prefix part of CURIE
nodeidentifier A URI, CURIE or BNODE that represents a node in a model.
objectidentifier A URI or CURIE that represents an object in the model.
signedinteger An integer that may be negative
sparqlpath A string encoding a SPARQL Property Path. The value of the string MUST conform to SPARQL syntax and SHOULD dereference to zero or more valid objects within the current instance document when encoded as RDF.
string A character string
time A time object represents a (local) time of day, independent of any particular day
uint16 A 16-bit unsigned integer
uint32 A 32-bit unsigned integer
uint64 A 64-bit unsigned integer
uint8 An 8-bit unsigned integer
unsignedinteger An integer that is non-negative
uri a complete IRI (URI)
uriorcurie an IRI (URI) or a CURIE