siibra.core.relation_qualification
Qualification between two arbitary concepts
Attributes
Classes
Generic enumeration. |
|
Abstract base class for generic types. |
Module Contents
- class siibra.core.relation_qualification.Qualification

Generic enumeration.
Derive from this class to define new enumerations.
- invert()
Return a MatchPrecision object with the inverse meaning
- static parse_relation_assessment(spec: Dict)
- APPROXIMATE = 5
- CONTAINED = 3
- CONTAINS = 4
- EXACT = 1
- HOMOLOGOUS = 6
- OTHER_VERSION = 7
- OVERLAPS = 2
- property verb
a string that can be used as a verb in a sentence for producing human-readable messages.
- class siibra.core.relation_qualification.RelationAssignment

Abstract base class for generic types.
A generic type is typically declared by inheriting from this class parameterized with one or more type variables. For example, a generic mapping type might be defined as:
class Mapping(Generic[KT, VT]): def __getitem__(self, key: KT) -> VT: ... # Etc.
This class can then be used as follows:
def lookup_name(mapping: Mapping[KT, VT], key: KT, default: VT) -> VT: try: return mapping[key] except KeyError: return default
- invert()
- assigned_structure: T
- explanation: str = ''
- property is_exact
- qualification: Qualification
- query_structure: T
- siibra.core.relation_qualification.T