Hi all,

I am translating an semantic-xml document to an ontology.

Doing this I want the ID's used in the xml document (of format GUID) to convert 
into an fragment identifier following the baseURI of my new ontology. The GUIDs 
can start with a number but our usage of the fragments doesn't allow this 
further allong the proces. So I want to add "_" infront of my ID to overcome 
this issue.

 The method I use for creating the URI using the fragment is:
   LET (?object := smf:buildURI 
("http://www.bimtoolset.org/ontologies/BB_coins.owl#_{?id}";)).
   or
   LET (?object := smf:buildURI (":_{?id<http://#_{?id>}")).

 Both result in the [?object] result showing only the "_" followed by the ID 
without the baseURI and "#" infront. This seems not correct.

Doing a similar creation without the "_" so:
   LET (?object := smf:buildURI 
("http://www.bimtoolset.org/ontologies/BB_coins.owl#{?id}";)).
   or
   LET (?object := smf:buildURI (":{?id<http:///#_{?id>}")).

has results with and without the baseURI infront. The ID's starting with a 
number contain the baseURI infront (expected output), and the ID's NOT starting 
with a number again don't contain the baseURI.

Is this expected behavior or am I doing something wrong?

with kind regards,
Pim
This e-mail and its contents are subject to the DISCLAIMER at 
http://www.tno.nl/disclaimer/email.html

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
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-users?hl=en

Reply via email to