Skip to content

RDF export uses bad URI for namespace 'bibo' #8920

Description

@jalsti

JabRef version

5.6 (latest release)

Operating system

GNU / Linux

Details on version and operating system

No response

Checked with the latest development build

  • I made a backup of my libraries before testing the latest development version.
  • I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

  1. export bib list as RDF
  2. check RDF for validity against namespaces
  3. the namespace for 'bibo' gives a non-existent URI: "http://purl.org/ontology/biblio/"
  4. thinking it might be the case that "http://purl.org/ontology/bibo/" would be the correct one, I noticed that this is not the case, e.g. Contribution or position are not defined there
  5. so it might be more than just putting in a new URI

Appendix

head of export file …generated by src/main/resources/resource/layout/bibordf.begin.layout
<?xml version="1.0"?>
<rdf:RDF
      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
      xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
      xmlns:bibo="http://purl.org/ontology/biblio/"
      xmlns:dc="http://purl.org/dc/elements/1.1/"
      xmlns:dcterms="http://purl.org/dc/terms/"
      xmlns:foaf="http://xmlns.com/foaf/0.1/"
>

Activity

  1. added
    [outdated] type: bug
    good first issue
    on Jun 22, 2022
  2. Siedlerchr commented on Jun 22, 2022

    @Siedlerchr
    Member

    Thanks for the hint. The good news it that it's an easy fix, because the bibordf is based on the Custom Export fomat:
    https://github.com/JabRef/jabref/tree/main/src/main/resources/resource/layout

  3. enrique9318 commented on Oct 11, 2022

    @enrique9318

    Hi! can I work on this issue?

  4. ThiloteE commented on Oct 11, 2022

    @ThiloteE
    Member

    sure :-)

    As a general advice: check out https://github.com/JabRef/jabref/blob/main/CONTRIBUTING.md for a start. Also, https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace is worth having a look at. Feel free to ask if you have any questions here on GitHub or also at JabRef's Gitter chat.

    Try to open a (draft) pull request early on, so that people can see you are working on the issue and so that they can see the direction the pull request is heading towards. This way, you will likely receive valuable feedback.

  5. moved this to Free to take in Good First Issueson Oct 14, 2022
  6. moved this from Free to take to Reserved in Good First Issueson Oct 14, 2022
  7. moved this to Normal priority in Prioritizationon Nov 10, 2022
  8. moved this from Reserved to Free to take in Good First Issueson Jan 4, 2023
  9. brauliorivas commented on Mar 6, 2023

    @brauliorivas

    Hi, I would like to work in this issue.

  10. 32 remaining items

  11. moved this from Free to take to Assigned in Candidates for University Projectson Nov 5, 2026
  12. koppor commented on Nov 6, 2026

    @koppor
    Member

    Hi, I'm a final year Software Engineering student and would like to work on this as part of my open source module.

    @koppor mentioned a PR updating the BibO RDF export would still be welcome,

    3 years ago. You are assuming that I remember everything three years ago

    Do you remember which lectures you had three years ago? And then from an arbitrary lecture, the third excursice sheet and task 2. 😅

    My plan:

    Please state the why for each point. With links/quotes. Then someone can judge. Otherwise we need to do the same think-through as you did.

    If there are alternatives, show them and pros and cons.

  13. github-actions commented on Nov 9, 2026

    @github-actions
    Contributor

    ⏰ Assignment Reminder

    Hi @dannys2603, this is a friendly reminder about your assignment to this issue.

    Warning

    This issue will be automatically unassigned in 4 days if there's no activity.

    Remember that you can ask the JabRef Guru or DeepWiki about anything regarding JabRef.
    Additionally, our contributing guide has hints on creating a pull request and a link to our Gitter chat.

    How to keep your assignment


    If you are working on it, you can prevent automatic unassignment by:

    • Submitting a draft pull request with your progress within 4 days
    • Asking for the 📌 Pinned label if you need more time

    We appreciate your contribution and are here to help if needed!

  14. dannys2603 commented on Nov 16, 2026

    @dannys2603
    Contributor

    Hi @koppor, fair enough, sorry about that! Here's the reasoning behind each point:

    1. Namespace: http://purl.org/ontology/biblio/ returns a 404. The official one is http://purl.org/ontology/bibo/ (spec, bibo.ttl). JabRef already uses bibo/ for the author role URI, so the export is inconsistent at the moment. BIBO is also maintained by DCMI now, so it isn't abandoned anymore.

    2. Authors: bibo:Contribution, bibo:position and bibo/roles/author aren't in BIBO 1.3 (I checked bibo.ttl). bibo:authorList is, and dcterms:creator + bibo:authorList is what Zotero exports (see @jalsti's example above).

    3. Entry types and fields: I exported a test library and the book came out as bibo:Document with no publisher or ISBN, and the article had no pages. BIBO has bibo:Book, bibo:pages and bibo:isbn13, and publisher can use dcterms:publisher.

    4. Empty identifiers: entries without a DOI get rdf:about="", so they all end up as the same resource. I'd fall back to the URL, then the citation key.

    5. Tests: there aren't any for this export or CreateBibORDFAuthors yet.

    Alternatives I thought about:

    • Only fix the namespace. Smallest change, but the output would still use undefined terms so it still wouldn't validate.
    • Fix the namespace, terms and types (the plan above). The export would be valid and match Zotero, and the changes stay in the layout files and CreateBibORDFAuthors.
    • Replace it with a Dublin Core exporter like you suggested. Probably the better long-term option but a lot bigger, and I don't think I could finish it in time for my module. Could be a follow-up.

    I'll open a draft PR with the namespace fix soon so you can see where it's going. Could I get the 📌 Pinned label while I work on it?

  15. Siedlerchr commented on Nov 16, 2026

    @Siedlerchr
    Member

    Just go ahead with the new namespaces and attributes

  16. koppor commented on Nov 16, 2026

    @koppor
    Member

    I can't check. It needs to be valid RDF, RDF namespaces used "in the wild", compatible with other software, compatible with Dublin core maybe? At least relationship should be clear. No data should get lost. Round trip should work.

  17. moved this from Assigned to In Progress in Candidates for University Projectson Nov 17, 2026
  18. moved this from Normal priority to Done in Prioritizationon Nov 28, 2026
  19. added a commit that references this issue on Nov 28, 2026
    9b103cd
  20. github-actions commented on Nov 28, 2026

    @github-actions
    Contributor

    We think that this issue was fixed. Please head to https://builds.jabref.org/main to download a development build and try it out.

    For any feedback, add a comment to the pull request at #17842.

  21. added a commit that references this issue on Nov 29, 2026
    a4ea01a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

component: export-or-save📌 Pinned📍 Assigned🔔 reminder-sent

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions