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-discussion] protege-discussion Digest, Vol 8, Issue 13

Xiaomeng Chang changxm at gmail.com
Mon Mar 12 18:33:12 PDT 2007


JCall can help utilize calculation better and easier in my eyes.

On 3/12/07, protege-discussion-request at lists.stanford.edu <
protege-discussion-request at lists.stanford.edu> wrote:
>
> Send protege-discussion mailing list submissions to
>         protege-discussion at lists.stanford.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://mailman.stanford.edu/mailman/listinfo/protege-discussion
> or, via email, send a message with subject or body 'help' to
>         protege-discussion-request at lists.stanford.edu
>
> You can reach the person managing the list at
>         protege-discussion-owner at lists.stanford.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of protege-discussion digest..."
>
>
> Today's Topics:
>
>    1. Calculations in Prot?g? (Robert Dave)
>    2. ImageMapWidget and UrlWidget (selma khouri)
>    3. How can I import a project which uses several     RDFS files?
>       (Sorin N. Ciolofan)
>    4. RE :  ImageMapWidget and UrlWidget (benhocine rachid)
>    5. 2 ontologies and one inference engine. (tanaya nadkarni)
>    6. Re: 2 ontologies and one inference engine. (Samson Tu)
>    7. Re: Calculations in Prot?g? (Samson Tu)
>    8. Re: ImageMapWidget and UrlWidget (Jennifer Vendetti)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 12 Mar 2007 05:43:52 +0000 (UTC)
> From: Robert Dave <twisterstormm at hotmail.com>
> Subject: [protege-discussion] Calculations in Prot?g?
> To: protege-discussion at lists.stanford.edu
> Message-ID: <loom.20070312T063320-93 at post.gmane.org>
> Content-Type: text/plain; charset=utf-8
>
> Hello,
>
> I would like to make some calculations in Prot?g?. I am using the module
> PAL
> Constraints and only the operators +, -, * and / are available. I would
> like to
> use for example the function sqrt().
> How can I bring the function sqrt() available in the PAL Constraints
> module?
>
> Thanks in advance.
> Robert
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 12 Mar 2007 09:41:13 +0100 (CET)
> From: selma khouri <selmakhouri at yahoo.fr>
> Subject: [protege-discussion] ImageMapWidget and UrlWidget
> To: protege-discussion at lists.stanford.edu
> Message-ID: <372783.73170.qm at web23006.mail.ird.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
> I'm working with image with ImageMapWidget, I want to know how I can
> access the image which I stored in Prot?g? from a java application.
> I have  the same problem with the URL Widget. the web page appears in the
> InstanceTab of Protege but I don't know how to access it from a java
> application (I tried with instance.getOwnSlotValue(slot) but the result of
> this instruction is null).
>   thank you for your help.
>
>
> ---------------------------------
> D?couvrez une nouvelle fa?on d'obtenir des r?ponses ? toutes vos questions
> ! Profitez des connaissances, des opinions et des exp?riences des
> internautes sur Yahoo! Questions/R?ponses.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20070312/9a754f8e/attachment-0001.htm
>
> ------------------------------
>
> Message: 3
> Date: Mon, 12 Mar 2007 12:34:42 +0200
> From: "Sorin N. Ciolofan" <ciolofan at ics.forth.gr>
> Subject: [protege-discussion] How can I import a project which uses
>         several RDFS files?
> To: <protege-discussion at lists.stanford.edu>
> Message-ID: <20070312103411.6D7B08E40FC at mailhost.ics.forth.gr>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
>
>
>
> Hello!
>
>
>
> My name?s Sorin Ciolofan. I want to use Prot?g? in order to load a project
> from RDFS files. I have 3 RDFS files which all together define a schema
>
> File C refers to file B and B refers to A.
>
> I want to create an instance of the global schema (the schema which is
> defined by all of the 3 files). I noticed that I can create a new project
> and load from only one RDFS file.
>
> Is there a way to load all the 3 schema files for this one project and
> then
> to proceed to create an instance of it?
>
>
>
>
>
> Thank you very much
>
> With best regards,
>
> Sorin Ciolofan
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20070312/26fbfd6c/attachment.html
>
> ------------------------------
>
> Message: 4
> Date: Mon, 12 Mar 2007 12:42:02 +0100 (CET)
> From: benhocine rachid <benhociner at yahoo.fr>
> Subject: [protege-discussion] RE :  ImageMapWidget and UrlWidget
> To: User support for Core Protege and the Protege-Frames editor
>         <protege-discussion at lists.stanford.edu>
> Message-ID: <20070312114202.77707.qmail at web26207.mail.ukl.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Salut,
>
>   si je connais la r?ponse, je ne serai pas avare de te le dire.
>
>   Amicalement,
>   Rachid
>
> selma khouri <selmakhouri at yahoo.fr> a ?crit :
>     Hi,
> I'm working with image with ImageMapWidget, I want to know how I can
> access the image which I stored in Prot?g? from a java application.
> I have  the same problem with the URL Widget. the web page appears in the
> InstanceTab of Protege but I don't know how to access it from a java
> application (I tried with instance.getOwnSlotValue(slot) but the result of
> this instruction is null).
>   thank you for your help.
>
> ---------------------------------
>   D?couvrez une nouvelle fa?on d'obtenir des r?ponses ? toutes vos
> questions ! Profitez des connaissances, des opinions et des exp?riences des
> internautes sur Yahoo!
> Questions/R?ponses._______________________________________________
> 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
>
>
>
> ---------------------------------
> D?couvrez une nouvelle fa?on d'obtenir des r?ponses ? toutes vos questions
> ! Profitez des connaissances, des opinions et des exp?riences des
> internautes sur Yahoo! Questions/R?ponses.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20070312/aeb88f1f/attachment.htm
>
> ------------------------------
>
> Message: 5
> Date: Mon, 12 Mar 2007 13:43:43 +0000
> From: "tanaya nadkarni" <tanu840 at hotmail.com>
> Subject: [protege-discussion] 2 ontologies and one inference engine.
> To: protege-discussion at lists.stanford.edu
> Message-ID: <BAY129-F3579EA2EB9CBB2045B351FFD7D0 at phx.gbl>
> Content-Type: text/plain; format=flowed
>
>
> Hi....My final year project deals with Fipa Device Ontology and QOS
> ontology.I have created both the ontologies using protege.I have also
> integrated Jess with protege using Jess Tab.
> Now I have to design an inference engine which uses both the ontologies
> and
> uses one infrence engine.
> Can some one please help me with this....as in tell me how i can make one
> infrence engine take facts from both the ontologies.
>
>
> Tanaya Nadkarni
>
> _________________________________________________________________
> Get a FREE Web site, company branded e-mail and more from Microsoft Office
> Live! http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/
>
>
>
> ------------------------------
>
> Message: 6
> Date: Mon, 12 Mar 2007 13:37:50 -0700
> From: Samson Tu <swt at stanford.edu>
> Subject: Re: [protege-discussion] 2 ontologies and one inference
>         engine.
> To: protege-discussion at lists.stanford.edu
> Message-ID: <et4dmn$bn2$1 at sea.gmane.org>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> My suggestion is that you create a third ontology and import both Fipa
> Device and QOS ontologies into it. Then run JessTab in the third
> ontology. I think the current implementation of JessTab can use only one
> loaded ontology.
>
> Samson
>
>
> tanaya nadkarni wrote:
> > Hi....My final year project deals with Fipa Device Ontology and QOS
> > ontology.I have created both the ontologies using protege.I have also
> > integrated Jess with protege using Jess Tab.
> > Now I have to design an inference engine which uses both the ontologies
> and
> > uses one infrence engine.
> > Can some one please help me with this....as in tell me how i can make
> one
> > infrence engine take facts from both the ontologies.
> >
>
>
> --
> Samson Tu                    email: swt at stanford.edu
> Senior Research Scientist    web: www.stanford.edu/~swt/
> Stanford Medical Informatics phone: 1-650-725-3391
> Stanford University          fax: 1-650-725-7944
>
>
>
> ------------------------------
>
> Message: 7
> Date: Mon, 12 Mar 2007 14:03:05 -0700
> From: Samson Tu <swt at stanford.edu>
> Subject: Re: [protege-discussion] Calculations in Prot?g?
> To: protege-discussion at lists.stanford.edu
> Message-ID: <et4f61$u6i$1 at sea.gmane.org>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
>
> To add sqrt function to PAL, you need to write Java code to define and
> implement the function as an extension of PAL's SingleArityFunction.
> Take a look at edu.stanford.smi.protegex.pal.functions.RoundNumber.java
> in the PAL source code. You can copy and modify this code to implement
> sqrt() for PAL. Remember to list the newly added function in the
> manifest file.
>
> Samson
>
> Robert Dave wrote:
> > Hello,
> >
> > I would like to make some calculations in Prot?g?. I am using the module
> PAL
> > Constraints and only the operators +, -, * and / are available. I would
> like to
> > use for example the function sqrt().
> > How can I bring the function sqrt() available in the PAL Constraints
> module?
> >
> > Thanks in advance.
> > Robert
> >
> >
> > _______________________________________________
> > 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
>
>
> --
> Samson Tu                    email: swt at stanford.edu
> Senior Research Scientist    web: www.stanford.edu/~swt/
> Stanford Medical Informatics phone: 1-650-725-3391
> Stanford University          fax: 1-650-725-7944
>
>
>
> ------------------------------
>
> Message: 8
> Date: Mon, 12 Mar 2007 15:20:45 -0700
> From: Jennifer Vendetti <vendetti at stanford.edu>
> Subject: Re: [protege-discussion] ImageMapWidget and UrlWidget
> To: User support for Core Protege and the Protege-Frames editor
>         <protege-discussion at lists.stanford.edu>
> Message-ID: <45F5D23D.6050300 at stanford.edu>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Selma,
>
> If you have a slot that has been associated with the ImageWidget or the
> URLWidget, the return value from instance.getOwnSlotValue(slot) will be
> a string, which will be the path to the image or the text of the URL
> respectively.  The following code will print the slot value of a slot
> that uses the URLWidget:
>
> Collection errors = new ArrayList();
> Project project = new Project(pathToYourProject, errors);
> ProjectManager.getProjectManager().displayErrors("Load Project Errors",
> errors);
>
> KnowledgeBase kb = project.getKnowledgeBase();
> Instance instance = kb.getInstance("yourInstanceName");
> Slot slot = kb.getSlot("yourSlotName");
> String url = (String) instance.getOwnSlotValue(slot);
> System.out.println(url);
>
> Once you have retrieved the path to an image, you can use standard Java
> code to create an image object.  Same for a URL object.
>
> Jennifer
>
> selma khouri wrote:
> > Hi,
> > I'm working with image with ImageMapWidget, I want to know how I can
> > access the image which I stored in Prot?g? from a java application.
> > I have  the same problem with the URL Widget. the web page appears in
> > the InstanceTab of Protege but I don't know how to access it from a
> > java application (I tried with instance.getOwnSlotValue(slot) but the
> > result of this instruction is null).
> > thank you for your help.
>
>
> ------------------------------
>
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>
>
> End of protege-discussion Digest, Vol 8, Issue 13
> *************************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20070312/6b6732e6/attachment.html>


More information about the protege-discussion mailing list