Blank nodes duplicating in Protege

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Blank nodes duplicating in Protege


we have an ontology which was originally created manually as an rdf
schema and is now being updated using Protege, and the problem is that
blank nodes in a property are duplicated each time the ontology is
saved. This means that the ontology grows exponentially in size. I
created a simplified rdf schema (below) for reproducing the issue. We
use Protege 4.3 on Windows 7, but I can reproduce the issue with older
versions of Protege too.

1. Paste the rdf schema into a file
2. Open the file with Protege
3. Save the file as RDF/XML using "Save as" (at this point the property
is transformed into an annotation property and an object property, which
isn't a problem)
4. Open the saved file and save again as RDF/XML using "Save as"

The resulting ontology contains duplicate ex:annotation -properties
which contains the blank node. This doesn't happen if the resource is
named. Any ideas how to solve this?

Rdf schema:

<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xml:base=""
xmlns:ex="" xmlns="">
<rdf:Property rdf:about="sample">
<rdfs:label xml:lang="en">Sample property</rdfs:label>
<rdfs:domain rdf:resource="rdfs:Resource"/>
<rdfs:range rdf:resource="rdfs:Resource"/>
<rdf:Description />

Best Regards,



Antti Tuuri <[hidden email]>
Profium, Lars Sonckin kaari 12, 02600 Espoo, Finland
Tel. +358 (0)9 855 98 000 Fax. +358 (0)9 855 98 002
Mob. +358 (0)50 570 5097  Internet:

protege-user mailing list
[hidden email]