Skip to content

Claims

In the final stage of the parser, quantities and propositions are assigned to Subject models representing astrophysical events or sources, and grouped into one Claim model or more. Each claim has a single subject.

Every subject has a unique identifier used to link it to other subjects via relations, along with a list of aliases recording the names used for it in the text. When discussing a subject, authors frequently cite earlier circulars where it was mentioned; those circular IDs are collected in the subject's citations field.

tgcn.claims.Claim

Measurements, aliases, citations and propositions about one astrophysical subject.

subject

subject: Subject

The subject this claim is about.

propositions

propositions: tuple[Proposition, ...]

Propositions about what the subject is or how it relates to other subjects.

quantities

quantities: tuple[T, ...] = Field(default_factory=tuple)

Measurements or measurement references for the subject.

tgcn.claims.Subject

An astrophysical source or event identified in a circular.

id

id: str

A unique identifier for the subject within the circular.

aliases

aliases: tuple[str, ...]

Names and identifiers used in the circular for the subject. Empty when the subject is unnamed.

citations

citations: tuple[StrictInt, ...]

GCN Circular IDs cited in the circular as reporting or discussing the subject.