Sha256: 2fae47b875ee092a174a0df8dd6aef4d4d50d75b540110ef5ccd84a0215d012f
Contents?: true
Size: 1.42 KB
Versions: 11
Compression:
Stored size: 1.42 KB
Contents
require_relative '../../version1_0' require_relative '../../relationship' module BELParser module Language module Version1_0 module Relationships # IsA: +A isA B+ - For terms A and B, +A isA B+ indicates # that A is a subset of B. All terms in BEL represent classes, # but given that classes implicitly have instances, one can # also interpret +A isA B+ to mean that any instance of A must # also be an instance of B. This relationship can be used to # represent GO and MeSH hierarchies: +pathology(MESH:Psoriasis) # isA pathology(MESH:"Skin Diseases")+ class IsA extend Relationship SHORT = :isA LONG = :isA DESCRIPTION = <<-DOC IsA: +A isA B+ - For terms A and B, +A isA B+ indicates that A is a subset of B. All terms in BEL represent classes, but given that classes implicitly have instances, one can also interpret +A isA B+ to mean that any instance of A must also be an instance of B. This relationship can be used to represent GO and MeSH hierarchies: +pathology(MESH:Psoriasis) isA pathology(MESH:"Skin Diseases")+ DOC def self.short SHORT end def self.long LONG end def self.description DESCRIPTION end def self.directed? true end end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems