Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] I want to submit a question

Zemirline Nadjet z_nadjet at msn.com
Mon Apr 16 06:29:54 PDT 2007


Hi, 
 
I want to submit a question, 
 
Subject:  how can I express that a given class is abstract with protégé.
 
message : 
I am searching how to express that a given class is abstract (i.e a class cannot have a direct instances) with protégé, 
and a specialy in owl project
Thanks.
 
 
 



> From: protege-owl-request at lists.stanford.edu> Subject: protege-owl Digest, Vol 9, Issue 33> To: protege-owl at lists.stanford.edu> Date: Sun, 15 Apr 2007 22:43:05 -0700> > Send protege-owl mailing list submissions to> protege-owl at lists.stanford.edu> > To subscribe or unsubscribe via the World Wide Web, visit> https://mailman.stanford.edu/mailman/listinfo/protege-owl> or, via email, send a message with subject or body 'help' to> protege-owl-request at lists.stanford.edu> > You can reach the person managing the list at> protege-owl-owner at lists.stanford.edu> > When replying, please edit your Subject line so it is more specific> than "Re: Contents of protege-owl digest..."> > > Today's Topics:> > 1. Re: Thank you Mr Timothy Redmond and Ms Jennifer Vendetti> about your answers. It's helpful to me ^_^ (Timothy Redmond)> 2. Re: createJenaOWLModelFromInputStream (Timothy Redmond)> 3. Re: com.hp.hpl.jena.rdf.arp.ARP.getHandlers() (Timothy Redmond)> 4. I will check jena version as Timothy said (Thang Duong)> 5. DataType Properties and Object Properties:Query> (Siddharth Banerjee)> > > ----------------------------------------------------------------------> > Message: 1> Date: Sun, 15 Apr 2007 10:24:47 -0700> From: Timothy Redmond <tredmond at stanford.edu>> Subject: Re: [protege-owl] Thank you Mr Timothy Redmond and Ms> Jennifer Vendetti about your answers. It's helpful to me ^_^> To: User support for the Protege-OWL editor> <protege-owl at lists.stanford.edu>> Message-ID: <0377F4F0-6476-4DFF-A40E-40AD38223028 at stanford.edu>> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed> > > First of all, it looks like you are running Protege-2000> > > Protege-2000 version 1.7, Build 930> > This is a pretty old version of Protege and I don't know much about it.> > > When I saw the above error, i realize that Protege can't find out > > the plugins classpath. However, I put all protege files into lib > > folder, where i put all my libraries. Although i checked URI > > string. It pointed to the right file I had made before:> > The way that you tell Protege where the classes are for the plugins > is to either run Protege from a valid installation directory or to > set the system property protege.dir to point to a valid installation > directory. For more on how to run Protege in an IDE see> > http://protege.cim3.net/cgi-bin/wiki.pl?EasyMethodOfRunningInAnIDE> > And I would recommend downloading and using the latest svn sources.> > -Timothy> > > On Apr 13, 2007, at 3:03 AM, Thang Duong wrote:> > > Dear Mr Timothy and Ms Jenifer,> >> >> > At first, thank you for your helping.> > Your ideas help me very much.> > Thank you.> > I've passed some errors I did> >> > But now, I stucked at this following error:> >> > init:> > deps-jar:> > Compiling 1 source file to D:\ChapterExtension\Exercise01\build > > \classes> > Note: D:\ChapterExtension\Exercise01\src\ontology > > \OntologyFilter.java uses unchecked or unsafe operations.> > Note: Recompile with -Xlint:unchecked for details.> > compile:> > Using D:\ChapterExtension\Exercise01\lib\GATE as GATE home> > Using D:\ChapterExtension\Exercise01\lib\GATE\plugins as installed > > plug-ins directory.> > Using D:\ChapterExtension\Exercise01\lib\GATE\gate.xml as site > > configuration file.> > Using C:\Documents and Settings\Duong Quoc Thang\gate.xml as user > > configuration file> > CREOLE plugin loaded: file:/D:/ChapterExtension/Exercise01/lib/GATE/ > > plugins/ANNIE/> > CREOLE plugin loaded: file:/D:/ChapterExtension/Exercise01/lib/> > Protege-2000 version 1.7, Build 930> > JVM: Java HotSpot(TM) Client VM - 1.5.0_11-b03, mixed mode> > Plugin classpath:> >> > java.lang.NullPointerException> > at > > edu.stanford.smi.protegex.owl.model.impl.AbstractOWLModel.isSlotMetaCl > > s (AbstractOWLModel.java:3294)> > at > > edu.stanford.smi.protege.model.DefaultKnowledgeBase.addDirectTemplateS > > lot(Unknown Source)> > at > > edu.stanford.smi.protege.model.DefaultCls.addDirectTemplateSlot > > (Unknown Source)> > at > > edu.stanford.smi.protege.model.DefaultKnowledgeBase.createSystemFrames > > (Unknown Source)> > at edu.stanford.smi.protege.model.DefaultKnowledgeBase.load > > (Unknown Source)> > at > > edu.stanford.smi.protege.model.DefaultKnowledgeBase .<init>(Unknown > > Source)> > at > > edu.stanford.smi.protegex.owl.model.impl.AbstractOWLModel.<init> > > (AbstractOWLModel.java:318)> > at edu.stanford.smi.protegex.owl.jena.JenaOWLModel.<init> > > (JenaOWLModel.java :62)> > at > > edu.stanford.smi.protegex.owl.jena.JenaKnowledgeBaseFactory.createKnow > > ledgeBase(JenaKnowledgeBaseFactory.java:55)> > at edu.stanford.smi.protege.model.Project.createDomainKB > > (Unknown Source)> > at > > edu.stanford.smi.protege.model.Project.createDomainKnowledgeBase > > (Unknown Source)> > at edu.stanford.smi.protege.model.Project.<init>(Unknown > > Source)> > at edu.stanford.smi.protege.model.Project.createNewProject > > (Unknown Source)> > at > > edu.stanford.smi.protegex.owl.ProtegeOWL.createJenaOWLModel > > (ProtegeOWL.java:32)> > at > > edu.stanford.smi.protegex.owl.ProtegeOWL.createJenaOWLModelFromURI > > (ProtegeOWL.java:54)> > at ontology.OntologyFilter.<init>(OntologyFilter.java:53)> > at semanticweb.Web$1.run(Web.java:48)> > at java.awt.event.InvocationEvent.dispatch > > (InvocationEvent.java:209)> > at java.awt.EventQueue.dispatchEvent (EventQueue.java:461)> > at java.awt.EventDispatchThread.pumpOneEventForHierarchy > > (EventDispatchThread.java:242)> > at java.awt.EventDispatchThread.pumpEventsForHierarchy > > (EventDispatchThread.java:163)> > at java.awt.EventDispatchThread.pumpEvents > > (EventDispatchThread.java:157)> > at java.awt.EventDispatchThread.pumpEvents > > (EventDispatchThread.java:149)> > at java.awt.EventDispatchThread.run > > (EventDispatchThread.java :110)> > debug:> > BUILD SUCCESSFUL (total time: 29 seconds)> >> >> >> > when I wrote this following code:> >> > public OntologyFilter(java.net.URI pUriResource){> > try{> > this.ONTOLOGY_URI=pUriResource.toString ();> > // Load the ontology from the specified URL> > model = ProtegeOWL.createJenaOWLModelFromURI > > (this.ONTOLOGY_URI);> > }catch(Exception e) {> > // System.out.println("ERROR at OntologyFilter : > > \n"+e.getMessage());> > e.printStackTrace();> > }> > }> >> >> > When I saw the above error, i realize that Protege can't find out > > the plugins classpath. However, I put all protege files into lib > > folder, where i put all my libraries. Although i checked URI > > string. It pointed to the right file I had made before:> >> > file:/D:/ChapterExtension/Exercise01/lib/test.owl> >> >> >> > My folder structure is:> >> > lib\> > \protege.jar> > \plugins> > \edu.stanford.smi.protegex.owl\<all jar packages and > > files of protege 3.1>> >> >> > So, how can i set up for protege to realize plugins classpath ? I'm > > using NetBeans IDE. And when I debugged, I saw the above error.> > Now, i don't know the method to set plugin classpath by coding for > > Protege. If you've set plugins classpath for Protege by coding (set > > plugins classpath for Protege by writing codes), may you show me > > the right way to solve it, please ?> >> > Duong Quoc Thang> > _______________________________________________> > protege-owl mailing list> > protege-owl at lists.stanford.edu> > https://mailman.stanford.edu/mailman/listinfo/protege-owl> >> > Instructions for unsubscribing: http://protege.stanford.edu/doc/ > > faq.html#01a.03> > > > ------------------------------> > Message: 2> Date: Sun, 15 Apr 2007 10:52:59 -0700> From: Timothy Redmond <tredmond at stanford.edu>> Subject: Re: [protege-owl] createJenaOWLModelFromInputStream> To: User support for the Protege-OWL editor> <protege-owl at lists.stanford.edu>> Message-ID: <CAECAC14-E68B-475A-A672-7C6CE9DBAB9E at stanford.edu>> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed> > > I would have to see the ontology but the problem appears to happen > with the imports. It looks like Protege is trying to find one of the > imported ontologies on the network. Now since you say that you > created the ontologies in Protege, the probable cause is that the > call you are using does not use the Protege repository mechanism to > find the local file for the imported ontologies (see http:// > protege.cim3.net/cgi-bin/wiki.pl?OWL_Imports_Repositories). But a > method that works is to load the protege Project and then get the > knowledge base from that :> > Project project = new Project("/Users/tredmond/dev/ontologies/ > tmp/B.pprj", errors);> OWLModel om = (OWLModel) project.getKnowledgeBase();> > -Timothy> > > > On Apr 13, 2007, at 7:43 AM, Oscar Pereira wrote:> > > Hi,> >> >> >> > I have created a simple OWL ontology in Prot?g? 3.2.1.> >> >> >> > Now I am trying to load it using the OWL API> >> >> >> > File f = new File( "D:/oscar/projectos/protege/AT.owl");> >> > FileInputStream fin = new FileInputStream(f);> >> > OWLModel om = ProtegeOWL.createJenaOWLModelFromInputStream(fin);> >> >> >> > I get the following message:> >> >> >> > INFO: Loading triples> >> > SEVERE: Exception caught -- java.net.ConnectException: Connection > > timed out: connect> >> > at java.net.PlainSocketImpl.socketConnect(Native Method)> >> > at java.net.PlainSocketImpl.doConnect(Unknown Source)> >> > at java.net.PlainSocketImpl.connectToAddress(Unknown Source)> >> > at java.net.PlainSocketImpl.connect(Unknown Source)> >> > at java.net.Socket.connect(Unknown Source)> >> > at java.net.Socket.connect(Unknown Source)> >> > at sun.net.NetworkClient.doConnect(Unknown Source)> >> > at sun.net.www.http.HttpClient.openServer(Unknown Source)> >> > at sun.net.www.http.HttpClient.openServer(Unknown Source)> >> > at sun.net.www.http.HttpClient.<init>(Unknown Source)> >> > at sun.net.www.http.HttpClient.New(Unknown Source)> >> > at sun.net.www.http.HttpClient.New(Unknown Source)> >> > at > > sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient > > (Unknown Source)> >> > at sun.net.www.protocol.http.HttpURLConnection.plainConnect > > (Unknown Source)> >> > at sun.net.www.protocol.http.HttpURLConnection.connect > > (Unknown Source)> >> > at sun.net.www.protocol.http.HttpURLConnection.getInputStream > > (Unknown Source)> >> > at > > edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.getInputStr > > eam(Unknown Source)> >> > at > > edu.stanford.smi.protegex.owl.repository.impl.HTTPRepository.update > > (Unknown Source)> >> > at > > edu.stanford.smi.protegex.owl.repository.impl.HTTPRepository.<init> > > (Unknown Source)> >> > at > > edu.stanford.smi.protegex.owl.repository.RepositoryManager.getReposito > > ry(Unknown Source)> >> > at > > edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.getReposito > > ry(Unknown Source)> >> > at > > edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.runImport > > (Unknown Source)> >> > at > > edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.processImpo > > rts(Unknown Source)> >> > at > > edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.loadTriples > > (Unknown Source)> >> > at > > edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.run > > (Unknown Source)> >> > at > > edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.run > > (Unknown Source)> >> > at edu.stanford.smi.protegex.owl.jena.JenaOWLModel.load > > (Unknown Source)> >> > at > > edu.stanford.smi.protegex.owl.ProtegeOWL.createJenaOWLModelFromInputSt > > ream(Unknown Source)> >> > at ontolgy.clsCreateAnatomyOntology.readIt > > (clsCreateAnatomyOntology.java:114)> >> > at ontolgy.clsCreateAnatomyOntology.main > > (clsCreateAnatomyOntology.java:104)> >> >> >> >> >> >> >> > Can anyone help me.> >> >> >> > Thank you.> >> >> >> > __________________________________> >> >> >> > ?scar Pereira> >> > __________________________________> >> >> >> > IEETA - Universidade de Aveiro> >> > 3810-193 Aveiro, Portugal> >> > Tel. + 351 234 370 500, ext: 24129> >> > ___________________________________> >> >> >> > _______________________________________________> > protege-owl mailing list> > protege-owl at lists.stanford.edu> > https://mailman.stanford.edu/mailman/listinfo/protege-owl> >> > Instructions for unsubscribing: http://protege.stanford.edu/doc/ > > faq.html#01a.03> > > > ------------------------------> > Message: 3> Date: Sun, 15 Apr 2007 11:10:10 -0700> From: Timothy Redmond <tredmond at stanford.edu>> Subject: Re: [protege-owl] com.hp.hpl.jena.rdf.arp.ARP.getHandlers()> To: User support for the Protege-OWL editor> <protege-owl at lists.stanford.edu>> Message-ID: <5A549D25-ACD9-4D03-99AF-DF08DF0F455E at stanford.edu>> Content-Type: text/plain; charset="us-ascii"> > >> > When I overcomed plugins trouble, the program alert "It needs > > test.repository file". So i use protege 3.2.1 to create > > test.repository file. However, I realized that the file test.owl > > changed when i create repository by using the part of importing > > ontology in metadata tab. Test.owl file changed from 586 kb to 395 kb.> >> > So i wonder is the content of the new test.owl file different from > > the old test.owl file ? May I use it in the project or reuse the > > old test.owl file in project ?> >> > Different owl tools will write an owl file in different ways. So the > fact that the size has changed does not necessarily mean that the > file is different. If you are really worried and cannot tell by > inspection (inside Protege) then the PROMPT plugin may be useful.> > > > And I still have had an error:> >> > INFO: Loading triples> > Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: > > com.hp.hpl.jena.rdf.arp.ARP.getHandlers()Lcom/hp/hpl/jena/rdf/arp/ > > ARPHandlers;> > at > > edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.createARP ( > > Unknown Source)> > at > > edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.loadTriples > > (Unknown Source)> > at > > edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.run > > (Unknown Source)> > at > > edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.run > > (Unknown Source)> > at > > edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.run > > (Unknown Source)> > at edu.stanford.smi.protegex.owl.jena.JenaOWLModel.load > > (Unknown Source)> > at > > edu.stanford.smi.protegex.owl.ProtegeOWL.createJenaOWLModelFromURI > > (Unknown Source)> > at ontology.OntologyFilter.<init>(OntologyFilter.java:54)> > at semanticweb.Web$1.run (Web.java:51)> > at java.awt.event.InvocationEvent.dispatch > > (InvocationEvent.java:209)> > at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)> > at java.awt.EventDispatchThread.pumpOneEventForHierarchy > > (EventDispatchThread.java:242)> > at java.awt.EventDispatchThread.pumpEventsForHierarchy > > (EventDispatchThread.java:163)> > at java.awt.EventDispatchThread.pumpEvents > > (EventDispatchThread.java:157)> > at java.awt.EventDispatchThread.pumpEvents > > (EventDispatchThread.java:149)> > at java.awt.EventDispatchThread.run > > (EventDispatchThread.java:110)> >> > I checked the source string - URI - pointing test.owl file with > > pattern " file:///D:/SemanticWeb/lib/test.owl", but the program > > didn't know about the resource. So it made the above error.> >> > Have you had any ideas about this problem ?> > This error means that your jar files are out of sync somehow. At > runtime, Protege OWL is seeing the jena ARP class but this class > doesn't have the methods that Protege OWL saw when it was compiled. > So I suspect that you have a version of jena.jar (or perhaps protege- > owl.jar) that is inconsistent. Perhaps there is more than one > jena.jar found by the classloader?> > -Timothy> > > > > -------------- next part --------------> An HTML attachment was scrubbed...> URL: http://mailman.stanford.edu/pipermail/protege-owl/attachments/20070415/d7be6ff5/attachment.htm > > ------------------------------> > Message: 4> Date: Mon, 16 Apr 2007 07:43:52 +0700> From: "Thang Duong" <protegeinfo at gmail.com>> Subject: [protege-owl] I will check jena version as Timothy said> To: protege-owl at lists.stanford.edu> Message-ID:> <69aa0f5b0704151743s282b73edkedb4c8834155c7f5 at mail.gmail.com>> Content-Type: text/plain; charset="iso-8859-1"> > Dear Timothy,> > Thank you for your reply, Timothy> I will check jena version as Timothy said and tell Timothy the result I've> got.> > Best regards,> > Duong Quoc Thang> -------------- next part --------------> An HTML attachment was scrubbed...> URL: http://mailman.stanford.edu/pipermail/protege-owl/attachments/20070416/21895492/attachment.html > > ------------------------------> > Message: 5> Date: Mon, 16 Apr 2007 11:12:57 +0530> From: "Siddharth Banerjee" <Siddharth.Banerjee at sos.sungard.com>> Subject: [protege-owl] DataType Properties and Object Properties:Query> To: <protege-owl at lists.stanford.edu>> Message-ID:> <E270136618D3BF4784FBD6D9544E3C840266F7F9 at mailserver.salliemaesolutions.soft.net>> > Content-Type: text/plain; charset="US-ASCII"> > Hi,> Is there an API which gets all the DataType Properties and Object> Properties for a specific User Defined Class ?> > Any help in this regard will be appreciated.> > Thanks in advance,> > Siddharth> > -----Original Message-----> From: protege-owl-bounces at lists.stanford.edu> [mailto:protege-owl-bounces at lists.stanford.edu] On Behalf Of> protege-owl-request at lists.stanford.edu> Sent: Sunday, April 15, 2007 10:49 PM> To: protege-owl at lists.stanford.edu> Subject: protege-owl Digest, Vol 9, Issue 32> > Send protege-owl mailing list submissions to> protege-owl at lists.stanford.edu> > To subscribe or unsubscribe via the World Wide Web, visit> https://mailman.stanford.edu/mailman/listinfo/protege-owl> or, via email, send a message with subject or body 'help' to> protege-owl-request at lists.stanford.edu> > You can reach the person managing the list at> protege-owl-owner at lists.stanford.edu> > When replying, please edit your Subject line so it is more specific> than "Re: Contents of protege-owl digest..."> > > Today's Topics:> > 1. How to get collection of all datatype properties? (Hogan, William)> 2. Never mind, I found it (Hogan, William)> 3. Protege Problems (Thang Duong)> 4. FYI: Semantic Web eBooks (piss0r piss0r)> 5. Re: How to get collection of all datatype properties? (Rishi)> 6. com.hp.hpl.jena.rdf.arp.ARP.getHandlers() (Thang Duong)> > > ----------------------------------------------------------------------> > Message: 1> Date: Fri, 13 Apr 2007 11:03:34 -0500> From: "Hogan, William" <wrh at cbmi.pitt.edu>> Subject: [protege-owl] How to get collection of all datatype> properties?> To: protege-owl at lists.stanford.edu> Message-ID:> > <09D04633DAED5F489FFEB6A0EAF22C160493FE62 at pikachu.health.pitt.edu>> Content-Type: text/plain; charset="us-ascii"> > Is there an API that returns a collection of all datatype properties> from> the OWL ontology?> > I've looked at all the methods in OWLModel, and could find only a method> that returned a collection of Annotation properties.> > Thanks,> > Bill> -------------- next part --------------> An HTML attachment was scrubbed...> URL:> http://mailman.stanford.edu/pipermail/protege-owl/attachments/20070413/2> 6245d47/attachment.htm > > ------------------------------> > Message: 2> Date: Fri, 13 Apr 2007 11:28:24 -0500> From: "Hogan, William" <wrh at cbmi.pitt.edu>> Subject: [protege-owl] Never mind, I found it> To: protege-owl at lists.stanford.edu> Message-ID:> > <09D04633DAED5F489FFEB6A0EAF22C160493FE6E at pikachu.health.pitt.edu>> Content-Type: text/plain; charset="us-ascii"> > owlModel.getUserDefinedOWLDatatypeProperties();> > I was looking for getOWLDatatypeProperties(), sorry!> > Bill> > -------------- next part --------------> An HTML attachment was scrubbed...> URL:> http://mailman.stanford.edu/pipermail/protege-owl/attachments/20070413/1> a03ade2/attachment.html > > ------------------------------> > Message: 3> Date: Sun, 15 Apr 2007 00:07:43 +0700> From: "Thang Duong" <protegeinfo at gmail.com>> Subject: [protege-owl] Protege Problems> To: protege-owl at lists.stanford.edu> Cc: protege-discussion at lists.stanford.edu> Message-ID:> <69aa0f5b0704141007i6c31a78an7c065ac01627e866 at mail.gmail.com>> Content-Type: text/plain; charset="iso-8859-1"> > Dear Mr Samson Tu,> > When i received your reply, I remembered that I forgot about replacing> my> old version of protege in this project. Now I've replaced old Protege> files> by the new files.> > After all, I still have a question to ask you:> > By default, does Protege set plugin folder is in our project when we> create> new project ?> > > - Suppose that, we create a new project SemanticWeb in D partition with> structure:> > D:\SemanticWeb> \lib> \GATE> (FOLDER)> \ <all libraries of GATE >> (FOLDERS AND FILES OF GATE LIBRARY)> > \gate.jar (JAR FILE)> \protege.jar> (JAR FILE)> \plugins> (FOLDER)> \ <all libraries of Protege and> plugins folders such as edu.stanford.smi.protegex.owl, ...>> \src <contains all source files of SemanticWeb>> > And when we run or debug our project, by default, does Protege set> plugin> folder is in our project when we create new project ?> Why did i say about this, because when i run program, it still has> warning> message:> > CONFIG: Protege 3.2.1 Build 365, JVM 1.5.0_11-b03, memory=66M, Windows> XP,> encoding=UTF-8, language=en, country=US> WARNING: Plugins directory not found:> D:\ChapterExtension\Exercise01\plugins> -- PluginUtilities.findPluginsDirectory ()> > When I displayed protege plugin file by using code:> ProtegeOWL.getPluginFolder().getAbsolutePath(), I saw:> D:\SemanticWeb\plugins> > After that, I asked myself, "Does the Protege set plugins folder is at> level> 1 of our project when we use Protege ?".> If you agree or disagree with me, please explain it to me and show me> how> can i reset plugins folder's path before using> ProtegeOWL.createJenaOWLModelFromURI(<URI path>) method.> > I'm looking forward to seeing your replies.> Thank you for all.> > Sincerely yours,> > Duong Quoc Thang> -------------- next part --------------> An HTML attachment was scrubbed...> URL:> http://mailman.stanford.edu/pipermail/protege-owl/attachments/20070415/6> bf1b4cd/attachment.htm > > ------------------------------> > Message: 4> Date: Sun, 15 Apr 2007 01:51:54 +0200> From: "piss0r piss0r" <piss0r.piss0r at googlemail.com>> Subject: [protege-owl] FYI: Semantic Web eBooks> To: protege-owl at lists.stanford.edu> Message-ID:> <dfda3b350704141651v79f2061g571910f0828c1b13 at mail.gmail.com>> Content-Type: text/plain; charset="iso-8859-1"> > Hi all,> > FYI: here is a good resource for semantic web (and other) ebooks:> http://www.google.com/custom?num=50&hl=en&safe=off&client=pub-6685954270> 823971&channel=8633644727&cof=FORID%3A1%3BCX%3AEbook%2520Search%3B&q=%22> semantic+web%22&cx=008836104266179945027%3As5ntw3b1uvk> > -hanzo> -------------- next part --------------> An HTML attachment was scrubbed...> URL:> http://mailman.stanford.edu/pipermail/protege-owl/attachments/20070415/4> 3cc6a32/attachment.html > > ------------------------------> > Message: 5> Date: Sat, 14 Apr 2007 21:19:47 -0400> From: Rishi <rishikanth.s at gmail.com>> Subject: Re: [protege-owl] How to get collection of all datatype> properties?> To: "User support for the Protege-OWL editor"> <protege-owl at lists.stanford.edu>> Message-ID:> <542fc4850704141819y49bf820emc884a253b74b399f at mail.gmail.com>> Content-Type: text/plain; charset="iso-8859-1"> > Hey> > I am using Jena Frame Work API and you have option like> listDatatypeProperties(), ObjecttypeProperties() etc. you will get list> all> the properties u have listed in the ontology. we can also get OWL> properties> like annotation, functional. check the documentation of Jena for more> information.> > > On 4/13/07, Hogan, William <wrh at cbmi.pitt.edu> wrote:> >> > Is there an API that returns a collection of all datatype properties> from> > the OWL ontology?> > I've looked at all the methods in OWLModel, and could find only a> method> > that returned a collection of Annotation properties.> >> > Thanks,> >> > Bill> >> > _______________________________________________> > protege-owl mailing list> > protege-owl at lists.stanford.edu> > https://mailman.stanford.edu/mailman/listinfo/protege-owl> >> > Instructions for unsubscribing:> > http://protege.stanford.edu/doc/faq.html#01a.03> >> >> > > -- > Rishi Kanth> -------------- next part --------------> An HTML attachment was scrubbed...> URL:> http://mailman.stanford.edu/pipermail/protege-owl/attachments/20070414/e> bfa2199/attachment.htm > > ------------------------------> > Message: 6> Date: Mon, 16 Apr 2007 00:19:19 +0700> From: "Thang Duong" <protegeinfo at gmail.com>> Subject: [protege-owl] com.hp.hpl.jena.rdf.arp.ARP.getHandlers()> To: protege-owl at lists.stanford.edu> Message-ID:> <69aa0f5b0704151019q76eb5064w22ec1eda43b47287 at mail.gmail.com>> Content-Type: text/plain; charset="iso-8859-1"> > With the help of Timothy Redmond and Samson Tu, I solved my trouble: set> plugins directory when we run java files using ProtegeOWL> > - replaced old protege files by new protege files.> - run program with jvm options : -Dprotege.dir=the path of protege> directory> > When I overcomed plugins trouble, the program alert "It needs> test.repository file". So i use protege 3.2.1 to create> test.repositoryfile. However, I realized that the file> test.owl changed when i create repository by using the part of importing> ontology in metadata tab. Test.owl file changed from 586 kb to 395 kb.> > So i wonder is the content of the new test.owl file different from the> old> test.owl file ? May I use it in the project or reuse the old test.owl> file> in project ?> > And I still have had an error:> > INFO: Loading triples> Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError:> com.hp.hpl.jena.rdf.arp.ARP.getHandlers> ()Lcom/hp/hpl/jena/rdf/arp/ARPHandlers;> at> edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.createARP(Unk> nown> Source)> at> edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.loadTriples(U> nknown> Source)> at> edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.run(Unknown> Source)> at> edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.run(Unknown> Source)> at> edu.stanford.smi.protegex.owl.jena.parser.ProtegeOWLParser.run(Unknown> Source)> at edu.stanford.smi.protegex.owl.jena.JenaOWLModel.load(Unknown> Source)> at> edu.stanford.smi.protegex.owl.ProtegeOWL.createJenaOWLModelFromURI(Unkno> wn> Source)> at ontology.OntologyFilter.<init>(OntologyFilter.java:54)> at semanticweb.Web$1.run(Web.java:51)> at> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)> at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)> at java.awt.EventDispatchThread.pumpOneEventForHierarchy(> EventDispatchThread.java:242)> at java.awt.EventDispatchThread.pumpEventsForHierarchy(> EventDispatchThread.java:163)> at> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java> :157)> at> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java> :149)> at> java.awt.EventDispatchThread.run(EventDispatchThread.java:110)> > I checked the source string - URI - pointing test.owl file with pattern> "> file:///D:/SemanticWeb/lib/test.owl", but the program didn't know about> the> resource. So it made the above error.> > Have you had any ideas about this problem ?> > > Duong Quoc Thang> -------------- next part --------------> An HTML attachment was scrubbed...> URL:> http://mailman.stanford.edu/pipermail/protege-owl/attachments/20070416/4> fd09aff/attachment.html > > ------------------------------> > _______________________________________________> protege-owl mailing list> protege-owl at lists.stanford.edu> https://mailman.stanford.edu/mailman/listinfo/protege-owl> > > End of protege-owl Digest, Vol 9, Issue 32> ******************************************> > > > ------------------------------> > _______________________________________________> protege-owl mailing list> protege-owl at lists.stanford.edu> https://mailman.stanford.edu/mailman/listinfo/protege-owl> > > End of protege-owl Digest, Vol 9, Issue 33> ******************************************
_________________________________________________________________
i'm making a difference. Make every IM count for the cause of your choice. Join Now.
http://clk.atdmt.com/MSN/go/msnnkwme0080000001msn/direct/01/?href=http://im.live.com/messenger/im/home/?source=wlmailtagline
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-owl/attachments/20070416/4c5fc2ce/attachment.html>


More information about the protege-owl mailing list