Google Groups Home
Help | Sign in
Namespace problems ...
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Johnrobert Gardner  
View profile
 More options May 14, 8:36 pm
From: "Johnrobert Gardner" <johnrobert.gard...@gmail.com>
Date: Wed, 14 May 2008 20:36:54 -0400
Local: Wed, May 14 2008 8:36 pm
Subject: Namespace problems ...

Hi Holger -

I'm having all manner of problems with namespaces - does TBC have
documentation around how it handles things?

Basically my situation should (should) be simple:

1. take a client's XSD, with namespace there as
http://www.client.com/ClientOntology

2. using the File:Import procedure (the right-click open-with makes an even
more confusing set of namespaces)

3. I added the namespace to the window in "Navigate to Ontology" - with
"client" prefix

4. I go to add an instance of a class and I can NOT avoid this:

<http://www.client.com/ClientOntology#My_new_instance>

How do I make these lt/gt or <> go away?
The same happens when I drag instances into the import pane in bottom center
(and, by the way, none of the properties or classes are recognized when I
drag in an XML made from the XSD ...)

I'm disappoointed in the behavior of drag import in genreal, and that's why
I'm having to manually make each instance -- when I save the ontology and
send to a colleague for testing and working in Jena -- none of the
dragged-import XML's are there regardless the lt/gt thing.  I wind up having
to send him the XML files too, then of course TBC tells him they're ALREADY
imported (even though none of the values are there ... ??? this is so weird
... ), so he has to delete all those import values and re-drag them in.
Which, of course, re-creates all the <> gibberish ...

SO:

How to do namespaces so that the ugle <> isn't in the values of created
instances
How to drag import XML into the OWL model such that the instances STAY in it
when saved and shared?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Holger Knublauch  
View profile
 More options May 15, 12:22 pm
From: Holger Knublauch <hol...@topquadrant.com>
Date: Thu, 15 May 2008 09:22:23 -0700
Local: Thurs, May 15 2008 12:22 pm
Subject: Re: [tbc-users] Namespace problems ...
Hi Johnrobert,

> I'm having all manner of problems with namespaces - does TBC have
> documentation around how it handles things?

TBC follows the usual namespace conventions of RDF but TBC's
documentation is not a complete introduction to RDF.  So please check
other literature and let us know if you have specific problems like
those below.

This should disappear if you have a namespace prefix
client:http://www.client.com/ClientOntology# (note the # at the end).
If this does not work then please provide more details (e.g. send me the
file)

> (and, by the way, none of the properties or classes are
> recognized when I drag in an XML made from the XSD ...)

Yes these two import features are not automatically linked together,
i.e. the XSD importer does not create the Semantic XML annotations such
as sxml:attribute that it would need to automatically map the XML files.
  You need to add those annotations yourself until we had a chance to
clean this up.

> I'm disappoointed in the behavior of drag import in genreal, and that's
> why I'm having to manually make each instance -- when I save the
> ontology and send to a colleague for testing and working in Jena -- none
> of the dragged-import XML's are there regardless the lt/gt thing.  I
> wind up having to send him the XML files too, then of course TBC tells
> him they're ALREADY imported (even though none of the values are there
> ... ??? this is so weird ... ), so he has to delete all those import
> values and re-drag them in.  Which, of course, re-creates all the <>
> gibberish ...

You have lost me here a bit.

> How to drag import XML into the OWL model such that the instances STAY
> in it when saved and shared?

So to make sure we are on the same page, I did the following.  I have an
OWL file (in your case it might have been created with the XSD importer
but that should not matter).  Then I drag an .xml file from the
Navigator into its imports.  The Semantic XML importer will render this
XML file into triples in the import graph.  The XML will also import
sxml.owl by itself.  I then save the main file and after re-opening the
imported XML is still there.  So it seems to be working fine.

When you share such files with your colleagues you need to also give
them the XML files, and - in particular - they need to put those files
into exactly the same file location (relative to the workspace) as you
did, because the system is selecting the file:// path as base URI of the
XML file (and this is referenced in the owl:imports from the main file).

I hope that helps,
Holger


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Johnrobert Gardner  
View profile
 More options May 16, 5:12 am
From: "Johnrobert Gardner" <johnrobert.gard...@gmail.com>
Date: Fri, 16 May 2008 05:12:25 -0400
Local: Fri, May 16 2008 5:12 am
Subject: Re: [tbc-users] Re: Namespace problems ...

Helps a lot, thanks!

On Thu, May 15, 2008 at 12:22 PM, Holger Knublauch <hol...@topquadrant.com>
wrote:

--
John Robert Gardner, Ph.D., NR-EMT
VP/Director: Content Management Services
Digitas

Views and opinions expressed or implied in this email are independent of
National EMT Registry, Digitas, Publicis, Prodigious and/or their clients
and partners.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google