Skip to content

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
class SciClass(StrEnum):
    """Scientific classifications of events, sources and their origin."""

    __repr__ = enum_repr

    GRB = "grb"
    SHORT_GRB = "short_grb"
    LONG_GRB = "long_grb"
    ULTRALONG_GRB = "ultralong_grb"
    TYPE_I_GRB = "type_i_grb"
    TYPE_II_GRB = "type_ii_grb"
    XRAY_TRANSIENT = "xray_transient"
    ORPHAN_AFTERGLOW = "orphan_afterglow"
    NEUTRINO_EVENT = "neutrino_event"
    ASTROPHYSICAL_NEUTRINO = "astrophysical_neutrino"
    GRAVITATIONAL_WAVE_EVENT = "gravitational_wave_event"
    SN = "supernova"
    SN_IA = "supernova_type_ia"
    SN_IBC = "supernova_type_ibc"
    SN_II = "supernova_type_ii"
    TDE = "tidal_disruption_event"
    LFBOT = "luminous_fast_blue_optical_transient"
    SSO = "solar_system_object"
    STAR = "star"
    CV = "cataclysmic_variables"
    GALAXY = "galaxy"
    AGN = "active_galactic_nucleus"
    MAGNETAR = "magnetar"
    GAMMA_RAY_SOURCE = "gamma_ray_source"
    RADIO_SOURCE = "radio_source"
    SOLAR_FLARE = "solar_flare"
    STELLAR_FLARE = "stellar_flare"
    PARTICLE = "particle"
    SPURIOUS = "spurious"