Debian Codegraph @

gavo/resources/inputs/__system__/biblinks.rd

raw
1 <!-- a resource descriptor for supporting biblinks as per
2 https://www.ivoa.net/documents/BibVO
3 -->
4
5 <!-- TODO: document! -->
6
7 <resource resdir="__system" schema="dc">
8 <meta name="creationDate">2023-10-26T20:00:00</meta>
9 <meta name="title">\getConfig{web}{sitename} Bibliography Links</meta>
10 <meta name="description">These resources let bibliography services
11 retrieve triples relating published articles and published
12 datasets or data collections.</meta>
13 <meta name="subject">virtual-observatories</meta>
14
15 <STREAM id="output-columns">
16 <column name="bib_ref" type="text"
17 description="The identifier of the bibliographic record
18 the link originates at."/>
19 <column name="relationship" type="text"
20 description="The relationship between bib_ref and dataset_ref.
21 This is typically Cites for datasets and isSupplementedBy
22 for data collections."/>
23 <column name="dataset_ref" type="text"
24 description="A reference to the dataset (or data collections),
25 very typically as an http URI."/>
26 <column name="bib_format" type="text"
27 description="The format of bib_ref (e.g., 'doi').
28 Letting this be NULL is equivalent to 'bibcode'."/>
29 <column name="cardinality" type="integer"
30 description="Number of links for indirect (i.e., through a
31 per-article landing page) biblinks.">
32 <values nullLiteral="0"/>
33 </column>
34 </STREAM>
35
36 <table id="biblinks" onDisk="True" system="True">
37 <meta name="title">Systemwide Bibliography Links</meta>
38 <meta name="description">This table contains links between
39 bibliographic items and local datasets or data collections.
40 It follows https://www.ivoa.net/documents/BibVO and is
41 intended to be harvested by bibliography services.
42 </meta>
43
44 <FEED source="output-columns"/>
45 <column name="sourcerd" type="text"
46 description="The identifier of the RD that entered this triple"/>
47 <column name="link_source" type="text"
48 description="An optional identifier for a parsing source from which
49 the link was produced; this is only relevant for dropping in
50 the presence of incremental parsing."/>
51 </table>
52
53 <table id="core-output">
54 <FEED source="output-columns"/>
55 </table>
56
57 <data id="create_table">
58 <make table="biblinks"/>
59 </data>
60
61 <service id="links" allowed="biblinks.json">
62 <meta name="shortName">\metaString{authority.shortName} BL</meta>
63 <biblinksCore/>
64 <publish render="biblinks.json" sets="ivo_managed"/>
65 </service>
66 </resource>