summaryrefslogtreecommitdiff
path: root/paper/lua-filters/cito/README.md
blob: b0e2cd3ec64fe90d24e4d850dd0a82364f7b0ea5 (plain)
1
2
3
4
5
6
7
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# cito

This filter extracts optional CiTO (Citation Typing Ontology)
information from citations and stores the information in the
document's metadata. The extracted info is intended to be used in
combination with other filters, templates, or custom writers. It
is mandatory to run pandoc-citeproc *after* this filter if CiTO
data is embedded in the document; otherwise pandoc-citeproc will
interpret CiTO properties as part of the citation ID.

## Using the Citation Typing Ontology

The [citation typing ontology] (CiTO) allows authors to specify the
reason a citation is given. This is helpful for the authors and
their co-authors, and furthermore adds data that can be used by
readers to search and navigate relevant publications.

A CiTO annotation must come before the citation key and be
followed by a colon. E.g., `@method_in:towbin_1979` signifies
that the citation with ID *towbin_1979* is cited because the
method described in that paper has been used in the paper at
hand.

[citation typing ontology]: http://purl.org/spar/cito

## Recognized CiTO properties

Below is the list of CiTO properties recognized by the filter,
together with the aliases that can be used as shorthands.

- agrees_with
  - agree_with
- citation
- cites
- cites_as_authority
  - as_authority
  - authority
- cites_as_data_source
- cites_as_evidence
  - as_evidence
  - evidence
- cites_as_metadata_document
  - as_metadata_document
  - metadata_document
  - metadata
- cites_as_recommended_reading
  - as_recommended_reading
  - recommended_reading
- disagrees_with
  - disagree
  - disagrees
- disputes
- documents
- extends
- includes_excerpt_from
  - excerpt
  - excerpt_from
- includes_quotation_from
  - quotation
  - quotation_from
- obtains_background_from
  - background
  - background_from
- refutes
- replies_to
- updates
- uses_data_from
  - data
  - data_from
- uses_method_in
  - method
  - method_in

## References

This approach was described in <https://doi.org/10.7717/peerj-cs.112>.