Sha256: 50c7a4abbc8b7ff1f3136eba51dcd4546e5666dda6e3a913d0e5d7495c3c0e76
Contents?: true
Size: 1.47 KB
Versions: 104
Compression:
Stored size: 1.47 KB
Contents
require_relative '../../version2_0' require_relative '../../relationship' module BELParser module Language module Version2_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 = ' +A isA B+ - For terms A and B, +A isA B+ ndicates that A is a subset of B. All terms in BEL epresent classes, but given that classes implicitly ave instances, one can also interpret +A isA B+ to ean that any instance of A must also be an instance f B. This relationship can be used to represent O and MeSH hierarchies: +pathology(MESH:Psoriasis) sA pathology(MESH:"Skin Diseases")+'.freeze 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
104 entries across 104 versions & 1 rubygems