RDFLib/rdflib — Issue #158: problem with parsing owl file
Author: gjhiggins
Created: 2012-02-20 08:34:04+00:00
State: open

susana.m...@gmail.com, 2011-05-07T18:40:53.000Z

What steps will reproduce the problem?
1. Parse an ontology from either an rdf-xml or n3 file format
2. Cycle through the tuples and print them

What is the expected output? What do you see instead?

The expected output for each tuple would be something like:
http://www.semanticweb.org/ontologies/2011/2/18/Ontology1300476868828.owl#MessageQuestion

However, we get some tuples with strange contents like:
f15949072b80

What version of the product are you using? On what operating system?
I am using RDFLib 3.1.

The souce code is in attachment.

Thanks in advance.

Susana

Comment 1 by danielmr...@gmail.com
Did you attach the file? I can't reproduce the stated problem without the file

Comment 2 by susana.m...@gmail.com
I'm sorry Daniel, I didn't see that the max size of an attachment were 10Mb... i guess this was the reason =P

Thank you.

Comment 3 by danielmr...@gmail.com
The triples you parse are blank nodes (isinstance(s, BNode)). rdflib generates a unique random id for them, that is where "f15949072b80" is coming from. I think everything works fine here.

Comment 4 by gromgull
i think Daniel is right - this works as intended.