Search Mailing List Archives
[protege-discussion] (JythonScript)
jad al
ahal8 at hotmail.com
Tue Feb 10 08:51:55 PST 2009
Csongor,
Many many thanks, do you of a link to learn all the kb.commands. I am new to this.
jad
Date: Mon, 9 Feb 2009 20:49:40 -0800From: csongor.nyulas at stanford.eduTo: protege-discussion at lists.stanford.eduSubject: Re: [protege-discussion] (JythonScript)Hi Jehad,Always use kb to refer both to the Protege-Frames Knowledgebase and the Protege-OWL owlModel. So in your case write:HostClass =kb.getOWLNamedClass("Host")print HostClassGood luck,Csongorjad al wrote:
Hello, I am having a very hard time manipulating my ontology from ProtegeScriptTab. From python script I do:>>> HostClass =owlModel.getOWLNamedClass("Host")I keep getting the same error:Traceback (innermost last): File "<string>", line 1, in ?NameError: owlModelexception from Jython: Traceback (innermost last): File "<string>", line 1, in ?NameError: owlModel: Traceback (innermost last): File "<string>", line 1, in ?NameError: owlModelI tried the to follow the http://protege.cim3.net/cgi-bin/wiki.pl?ProtegeScriptTab#nid8FT procedure, but no luck. Please any help Many thanks > From: tar at ISI.EDU> To: protege-discussion at lists.stanford.edu> Date: Mon, 9 Feb 2009 12:44:01 -0800> Subject: Re: [protege-discussion] (no subject)> > > On Feb 8, 2009, at 10:15 AM, Adrian Suter wrote:> > > Hello,> >> > I like to have an ImageMapWidget under OWL. With the Project Type > > Frame it works as soon i define a slot of type "Symbol" . > > Unfortunately i cant't find a property type "symbol" under the > > projecttyp "OWL".> > What do i have to do?> > Symbol is not an RDF or OWL datatype, so that's why there is no such > slot type.> > I don't know if there is an ImageMapWidget. I couldn't find mention > of it anywhere. But I did locate this:> > http://protegewiki.stanford.edu/index.php/DisplayImages> > > > > _______________________________________________> protege-discussion mailing list> protege-discussion at lists.stanford.edu> https://mailman.stanford.edu/mailman/listinfo/protege-discussion> > Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
Windows Live™: E-mail. Chat. Share. Get more ways to connect. Check it out.
Windows Live™: E-mail. Chat. Share. Get more ways to connect. Check it out.
_______________________________________________
protege-discussion mailing list
protege-discussion at lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/protege-discussion
Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
_________________________________________________________________
Windows Live™: E-mail. Chat. Share. Get more ways to connect.
http://windowslive.com/online/hotmail?ocid=TXT_TAGLM_WL_HM_AE_Faster_022009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20090210/03d53f0d/attachment.html>
More information about the protege-discussion
mailing list