Skip to content

Option to allow duplicated rdf:ID values #141

@jamesamcl

Description

@jamesamcl

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions