Skip to content

[Port to black-forest] Fix wrong bibo namespace in RDF export - #34

Open
jabref-machine wants to merge 1 commit into
black-forestfrom
port-17842-to-black-forest
Open

jabref-machine wants to merge 1 commit into
black-forestfrom
port-17842-to-black-forest

Conversation

@jabref-machine

Copy link
Copy Markdown
Collaborator

Port of JabRef#17842 to black-forest, see Branching strategy.

If this PR is a draft, the cherry-pick conflicted: the conflicting files are committed with Git's conflict markers left in. Resolve the markers locally, push, and mark the PR ready.

### Summary
The BibO RDF export used the namespace http://purl.org/ontology/biblio/
which doesn't exist (it returns a 404). I changed it to
http://purl.org/ontology/bibo/ which is the official BIBO namespace.
This is a first step, next i'm planning to update how the authors are
exported, and add proper types for books and conference papers, export
missing fields like pages and ISBN, and add tests.

### Steps to test

1. Open a library with at least one entry
2. Go to File > Export > Export all entries
3. Choose BibO RDF as the format and save it
4. Open the saved file and check the xmlns:bibo line at the top
5. It should now say xmlns:bibo="http://purl.org/ontology/bibo/"

### Related issues and pull requests

Closes JabRef#8920

### AI usage

I used Claude (Opus 5.5) to:

- help me understand the issue and RDF
- find the correct BIBO namespace
- set up JabRef on my Mac

I made the code change myself.
AIL2

### Checklist

- [x] I own the copyright of the code submitted and I license it under
the [MIT license](https://github.com/JabRef/jabref/blob/main/LICENSE)
- [x] If AI tools were used, I disclosed them in the "AI usage" section
and reviewed, understood, and take full ownership of all AI-generated
code
- [x] I manually tested my changes in running JabRef (always required)
- [ ] I added JUnit tests for changes (if applicable)
- [/] I added screenshots in the PR description (if change is visible to
the user)
- [ ] I added **one sentence (max 20 words)** to `CHANGELOG.md`
describing the change from the user's point of view (if the change is
visible to the user)
- [ ] I checked the [user documentation](https://docs.jabref.org/) for
up to dateness and submitted a pull request to our [user documentation
repository](https://github.com/JabRef/user-documentation/tree/main/en)

---------

Co-authored-by: Siedlerchr <siedlerkiller@gmail.com>
(cherry picked from commit 9b103cd)
@jabref-machine jabref-machine added the automerge PR is tagged with that label will be merged if workflows are green label Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge PR is tagged with that label will be merged if workflows are green

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants