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

RDF/XML Blank node parsing #2637

Open
JoelBender opened this issue Nov 8, 2023 · 1 comment
Open

RDF/XML Blank node parsing #2637

JoelBender opened this issue Nov 8, 2023 · 1 comment

Comments

@JoelBender
Copy link

I am using the results from an oxigraph CONSTRUCT statement that contains a blank node and the results are coming back like:

<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
    <rdf:Description rdf:about="ex:a">
        <c xmlns="ex:" rdf:nodeID="192d1ce3b267f0038ba80330f5eaf5c6"/>
    </rdf:Description>
</rdf:RDF>

Which is failing:

rdflib.exceptions.ParserError: file:...: rdf:nodeID value is not a valid NCName: 192d1ce3b267f0038ba80330f5eaf5c6

However if I put the letter 'a' in front of the node identifier it works fine, it only seems to break with those that start with a digit.

@nikokaoja
Copy link

Are you using oxigraphrdflib or you have configure SPARQLStore that points to "remote" SPARQL endpoint?

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