Skip to content
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

Option to allow duplicated rdf:ID values #141

Open
jamesamcl opened this issue Apr 16, 2024 · 1 comment
Open

Option to allow duplicated rdf:ID values #141

jamesamcl opened this issue Apr 16, 2024 · 1 comment

Comments

@jamesamcl
Copy link

I am trying to load a large RDF file from UniProt using Sophia (which uses Rio), but it fails with the error:

SourceError(RdfXmlError { kind: Other("http://purl.uniprot.org/uniprot/#_3D5AA7A276B6E5CD_up.name_uORF has already been used as rdf:ID value") })

The RDF is actually invalid as it uses the same rdf:IDfor two property elements. However with rapper I can force it to load by disabling this option:

checkRdfID RDF/XML parser checks rdf:ID values for duplicates (boolean)

Would it be at all possible to implement a similar option in Rio so I can force it to load? I already contacted the UniProt team and they have no plans to fix this unfortunately.

@Tpt
Copy link
Collaborator

Tpt commented Sep 22, 2024

This is allowed in the unchecked mode of oxrdfml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants