-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Links between entries #14
Comments
First issue: Do you mean that the keys have to be renamed if the key of the referenced entry changes? - See JabRef/cloudref#6 for a related discussion. Second issue: 👍 Third issue: I found |
|
I was reminded of this. First issue: yes, if the key is renamed, then all fields referring to that key should be updated. However, what I actually meant was the following. Assume three entries: Say that Now, if |
Maybe JabRef could internally store these related references by there internal ID (and not the bibtex key). Upon serialization or display, it fetches the current bibtex key of the item and stores/display it. I would say that related is bi-directional.... |
Very good idea how to handle key changes! Yes, bidirectional probably makes sense for related, but should one automatically relate entries which have a common related entry? I do not think so, although I can realize that there will be feature requests related to this eventually... So, for a basic implementation the following seems to make sense:
|
Maybe, we need different semantics for the links? I need Should we go the Semantic Web way and introduce a (lightweight) ontology for different kinds of references? We could serialize the relations using BibTeX fields, but would also be able to serialize in XML or turtle. |
Maybe Section 3.4 of the biblatex documentation might be helpful. |
@tobiasdiez : At least as evidence that As i understand it, only one entry (or at least one type of relation, possibly for more than one entry) can be specified. I think we should support this way, e.g., when visualizing, but we would need something more flexible and general. @koppor : |
I would really go for the First idea: If there are more than one keys written in the related field, either one relationtype has to be given or as many as keys are given in the related field. |
I disagree. The Biblatex related field is clearly for actual relations (where "extended version of" would probably qualify), i.e., bordering to that you automatically would (or would not) cite both items once you cite one (typically you wouldn't like to cite two different editions of the same book if that is caused by typing the wrong key, but there may be reasons to have both in your .bib-file). Not "oh, this paper somehow deals with the same subject as this other one" nor citation relations as I primarily talk about. The first type one can almost solve with keywords if they are specific enough. Citations can probably be of interest to add in a standardized way in Biblatex (as well as citation count etc) though. |
OK, biblatex also states "reprintof, translationof, and multivolume" as examples, which indicates a real close relationship. PRRV uses Maybe a new field |
With JabRef#1637 and JabRef#1645 defining at least some relations should be easier now. Not sure where to begin though. What about As opposed to the previous discussion, with the keychangelistener it should be possible to do this with the bibtex keys directly. |
I think I still prefer that relations are stored directly as BibEntries. |
Ideally, yes. However, there are some consequences. The lists has to be generated first after all entries are loaded. How do we deal with invalid keys? One of the main problems in JabRef#1637 |
Update: Moved to issue description
fieldssupported
not supported
|
I think |
Ah, yeah, on the second page of the biblatex manual Section 3.4, it is there:
I'm not sure, how |
Based on plk/biblatex#475 (comment), I updated #14 (comment) accordingly. |
OK! Good! Then we can easily add a drop-down for |
It is quite easy to just add support for |
The contents of the dropdown should be configrable. Alternative: textfield
with autocompleter? 😇
|
Yes, or we provide the common/defined alternatives as the user can always type whatever they want. |
Regarding Some free thought: If we really go to have additional fields where we work an and which are not serialized, we really opt-out for changing our backend from in-memory to database-based. Thus, we will never (?) be able to use the full power of SQL. I think, this is currently no issue as we first need to separate logic and UI, then we can think about handling zillions of records (e.g., all available entries in dblp etc). |
We should have a look at biblatex. It supports "translated to", ... How does it do it? Which fields are recommended? Support these fields. |
Zotero supports |
It is now 3.5: It can only host one relation type: (See also plk/biblatex#475 (comment)) If we use "cites", there cannot be other relations. |
We seem to already have implemented |
There are some feature requests at SourceForge on being able to link between related entries. One obvious thing would be to link papers which are cited in another paper, but there could also be other reasons to mark entries as related. This could also be a foundation for other things, such as plotting graphs on the relation between papers, importing references and citation links from databases etc.
I thought a bit about it and the following is my draft idea:
references
andrelated
(?), which contains the keys for the entries referenced by the paper and keys for other papers which are relatedreferences
Issues:
related
field of every entry. This potentially introduce some redundancy, which is obvious in the case of two related items, but for three or more it is not obvious how to resolve it. Any ideas?related
list, that entry should also be updated with related. If multiple entries are dropped at the same time, they should all be cross-related.Current state of discussion
fields
supported
cites
- comma separated list of BibTeX keys which are cited by this entrycrossRef
- single entry which is cross referenced.related
- comma separated list of BibTeX keys which are in some kind related to this entry. The type of all relations can be specified by a singlerelatedtype
(see Multiple related entries having different relationship types plk/biblatex#475 (comment)). Note: Biblatex prints this information ifrelated
is active at the biblatex package.not supported
citedBy
- this is the opposite ofcites
. That field has to be used.relations
- this would introduce a complicated field similar to our save actions. A simple key/value is enoughreferences
- stores all references in plain text (PRVV plugin). Thus, we do not use it.The text was updated successfully, but these errors were encountered: