Extension:Semantic Result Formats/bibtex format
From MediaWiki.org
The result format bibtex, part of Semantic Result Formats, is used to produce links for downloading data from a wiki in BibTeX format. It is a special format for data export and therefore properties must use known labels to specify how the wiki data relates to the BibTeX format.
Contents |
[edit] Example
{{#ask: [[title::{{PAGENAME}}]]
| ?author
| ?volume
| ?date
| ?title
| ?type
| ?journal
| ?URL
| ?DOI
| format=bibtex
}}
This would display a link to download the BibTeX (this wiki has no suitable content). Examples can be found on any summary page of acawiki.org.
[edit] Parameters
There are no inline query parameters specific to the BibTeX format.
[edit] Data fields
Properties printout statements should use one of the following labels, or otherwise are ignored in the resulting BibTeX. The available fields are:
- address: Publisher's address (usually just the city, but can be the full address for lesser-known publishers)
- annote: An annotation for annotated bibliography styles (not typical)
- author: The name(s) of the author(s) (in the case of more than one author, separated by and)
- booktitle: The title of the book, if only part of it is being cited
- chapter: The chapter number
- crossref: The key of the cross-referenced entry
- date: The date of publication, is converted to "month" and "year" when exported to BibTeX
- doi: The DOI number of the entry
- edition: The edition of a book, long form (such as "first" or "second")
- editor: The name(s) of the editor(s)
- eprint: A specification of an electronic publication, often a preprint or a technical report
- howpublished: How it was published, if the publishing method is nonstandard
- institution: The institution that was involved in the publishing, but not necessarily the publisher
- journal: The journal or magazine the work was published in
- key: A hidden field used for specifying or overriding the alphabetical order of entries (when the "author" and "editor" fields are missing). Note that this is very different from the key (mentioned just after this list) that is used to cite or cross-reference the entry.
- month: The month of publication (or, if unpublished, the month of creation)
- note: Miscellaneous extra information
- number: The "number" of a journal, magazine, or tech-report, if applicable. (Most publications have a "volume", but no "number" field.)
- organization: The conference sponsor
- pages: Page numbers, separated either by commas or double-hyphens. For books, the total number of pages.
- publisher: The publisher's name
- school: The school where the thesis was written
- series: The series of books the book was published in (e.g. "The Hardy Boys" or "Lecture Notes in Computer Science")
- title: The title of the work
- type: The type of tech-report, for example, "Research Note"
- url: The WWW address
- volume: The volume of a journal or multi-volume book
- year: The year of publication (or, if unpublished, the year of creation)
[edit] Remarks
The exporter generates a BibTeX key from the information provided. This key should be used when referencing the publication in a LaTeX file.
There are no official BibTeX format specifications, so this extension has been written from the common use of BibTeX. See the Wikipedia article on BibTeX for more information.