Paul; There are some differences in how editors parse RDF/XML files.
Given what you have posted, I cannot see how one gets from the snippet
you posted to URIs referenced by <file:/...>.  If you could send a
couple of examples, perhaps offline, that might be the best way to
address the issue.

-- Scott

On May 28, 8:37 am, PaulZH <[email protected]> wrote:
> I have following use case.
>
> I did receive 17 xml/rdf files, each file collecting all the instances
> from 1 of the 17 classes, which all belong to the same namespace.
> These 17 files need to be merged.
> They all have following structure:
>
> <rdf:RDF xmlns:rdfs="...." ...
>          xmlns="http://www.acme.org/org/terms/";>
>
> <rdf:Description rdf:about="http://www.acme.org/org/terms/ClassA/
> 2009-06-01/InstanceA">
>       <rdf:type rdf:resource="ClassA"/>
>       <rdfs:label>TTTT</rdfs:label>
>       <skos:prefLabel>TTTT</skos:prefLabel>
>    </rdf:Description>
>
> Loading these files in Protégé gives me 5 minutes work: import, infer
> and done.
>
> In TBCME
> I get as Class Identifier
> <file:/Applications/TopBraidComposerME/workspace/OWMS/lijstjes/ClassA>
> and as instance
> <file:/Applications/TopBraidComposerME/workspace/OWMS/lijstjes/http//www.acme.org/org/terms/ClassA/2009-06-01/InstanceA>
>
> Just concatenating both with the implicit base uri, I suppose.
> The first one can be understood, since relative to what: the default
> namespace or the base uri.
> But the second is really weird.
>
> Changing
>  <rdf:type rdf:resource="ClassA"/> to the full identifier
>  <rdf:type rdf:resource="http://www.acme.org/org/terms/ClassA"/>
> brings the Class in TBCME in the correct namespace
> but the instances are still completely wrong.
>
> Adding in addition
> xml:base="" to the imported file gives the expected result.
> I do receive however warnings on the empty URI and SWIFTOWLIM refuses
> to run due to this.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TopBraid Composer Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/topbraid-composer-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to