Class: LinkOccurrence¶
One place a paper gives a link: a span of the text, or an entry of its reference list the text does not print. The section a span is in is the ParsedPaper.sections span holding start_char, so a link from the data-availability statement is one with a span in a data_availability section.
URI: parse:LinkOccurrence
classDiagram
class LinkOccurrence
click LinkOccurrence href "../LinkOccurrence/"
LinkOccurrence : end_char
LinkOccurrence : found_by
LinkOccurrence --> "1" LinkSource : found_by
click LinkSource href "../LinkSource/"
LinkOccurrence : reference_id
LinkOccurrence : start_char
Slots¶
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| found_by | 1 LinkSource |
direct | |
| start_char | 0..1 Integer |
Where the span that prints the link, or the text its markup anchors, starts | direct |
| end_char | 0..1 Integer |
Where that span ends, exclusive | direct |
| reference_id | 0..1 String |
The `Reference | direct |
Usages¶
| used by | used in | type | used |
|---|---|---|---|
| PaperLink | occurrences | range | LinkOccurrence |
Identifier and Mapping Information¶
Schema Source¶
- from schema: https://neurostuff.org/schemas/neuroimaging-paper-parse
Mappings¶
| Mapping Type | Mapped Value |
|---|---|
| self | parse:LinkOccurrence |
| native | parse:LinkOccurrence |
LinkML Source¶
Direct¶
name: LinkOccurrence
description: 'One place a paper gives a link: a span of the text, or an entry of its
reference list the text does not print. The section a span is in is the `ParsedPaper.sections`
span holding `start_char`, so a link from the data-availability statement is one
with a span in a `data_availability` section.'
from_schema: https://neurostuff.org/schemas/neuroimaging-paper-parse
rank: 1000
attributes:
found_by:
name: found_by
from_schema: https://neurostuff.org/schemas/neuroimaging-paper-parse/paper
rank: 1000
domain_of:
- LinkOccurrence
range: LinkSource
required: true
start_char:
name: start_char
description: Where the span that prints the link, or the text its markup anchors,
starts. Absent only for a reference-list entry the text does not print.
from_schema: https://neurostuff.org/schemas/neuroimaging-paper-parse/paper
domain_of:
- TextSpan
- LinkOccurrence
- Section
range: integer
minimum_value: 0
end_char:
name: end_char
description: Where that span ends, exclusive.
from_schema: https://neurostuff.org/schemas/neuroimaging-paper-parse/paper
domain_of:
- TextSpan
- LinkOccurrence
- Section
range: integer
minimum_value: 0
reference_id:
name: reference_id
description: The `Reference.id` the link was read from, when `found_by` is `reference`.
from_schema: https://neurostuff.org/schemas/neuroimaging-paper-parse/paper
rank: 1000
domain_of:
- LinkOccurrence
range: string
Induced¶
name: LinkOccurrence
description: 'One place a paper gives a link: a span of the text, or an entry of its
reference list the text does not print. The section a span is in is the `ParsedPaper.sections`
span holding `start_char`, so a link from the data-availability statement is one
with a span in a `data_availability` section.'
from_schema: https://neurostuff.org/schemas/neuroimaging-paper-parse
rank: 1000
attributes:
found_by:
name: found_by
from_schema: https://neurostuff.org/schemas/neuroimaging-paper-parse/paper
rank: 1000
owner: LinkOccurrence
domain_of:
- LinkOccurrence
range: LinkSource
required: true
start_char:
name: start_char
description: Where the span that prints the link, or the text its markup anchors,
starts. Absent only for a reference-list entry the text does not print.
from_schema: https://neurostuff.org/schemas/neuroimaging-paper-parse/paper
owner: LinkOccurrence
domain_of:
- TextSpan
- LinkOccurrence
- Section
range: integer
minimum_value: 0
end_char:
name: end_char
description: Where that span ends, exclusive.
from_schema: https://neurostuff.org/schemas/neuroimaging-paper-parse/paper
owner: LinkOccurrence
domain_of:
- TextSpan
- LinkOccurrence
- Section
range: integer
minimum_value: 0
reference_id:
name: reference_id
description: The `Reference.id` the link was read from, when `found_by` is `reference`.
from_schema: https://neurostuff.org/schemas/neuroimaging-paper-parse/paper
rank: 1000
owner: LinkOccurrence
domain_of:
- LinkOccurrence
range: string