Propositions
Much of the information in a GCN Circular is qualitative rather than
quantitative. For example, circulars frequently discuss event
classifications (e.g., "we detected a long GRB") or relationships between
sources and events (e.g., "we suggest this optical transient is a
counterpart to..."). The Proposition model captures this kind of
information.
Like quantities, propositions are attached to
subjects inside a
claim. Because authors are not
always certain about their conclusions, each proposition is qualified as either
asserted or uncertain.
Together, propositions form a small domain-specific language (DSL) that is useful for exploring complex circulars or searching across a large circular corpus. To make this easy, the View interface provides a few helper methods for navigating and filtering them.
tgcn.claims.Proposition
A statement on an astrophysical subject or event, qualified by a degree of certainty.
qualifier
qualifier: Qualifier = Qualifier.ASSERTED
Whether the source asserts the statement or presents it as uncertain.
statement
statement: Statement
A classification, relation, or negation statement concerning a subject.
tgcn.claims.Qualifier
Bases: StrEnum
Whether a statement is asserted or uncertain.
ASSERTED
ASSERTED = 'asserted'
The authors present the proposition as fact.
UNCERTAIN
UNCERTAIN = 'uncertain'
The authors express uncertainty to some degree (e.g., using words like "very likely", "likely", "tentatively", "may be").
tgcn.claims.Statement
Statement = Classification | Relation | Not
A positive or negative statement about what a subject is or how it relates to another.
tgcn.claims.Not
Negates a statement about an astrophysical subject or event. A negation expresses rejection, rather than an absence of evidence.
statement
statement: Classification | Relation
The classification or relation being negated.
tgcn.claims.Relation
A directed relation from one subject to another.
kind
kind: RelationKind
The type of the relation.
to
to: str
The relation target subject id.
tgcn.claims.RelationKind
Bases: StrEnum
The relationship between two astrophysical subjects.
COUNTERPART
COUNTERPART = 'counterpart'
The subject is a counterpart to the target.
HOST
HOST = 'host'
The subject is the host of the target.
LOCALIZATION_COMPATIBLE
LOCALIZATION_COMPATIBLE = 'localization_compatible'
The subject's position is consistent with the target's localization.
tgcn.claims.Classification
A statement classifying an astrophysical subject or event.
name
name: SciClass
The scientific class assigned to the subject.
tgcn.classifications.SciClass
Bases: StrEnum
Scientific classifications of events, sources and their origin.
Source code in src/tgcn/classifications.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | |