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] protege-owl Digest, Vol 18, Issue 19

Surya Bahadur Kathayat skathayat at hotmail.com
Mon Jan 7 13:40:49 PST 2008


Hello,

I am working with the service engineering. I am wondering is there any good documentation for OWL-S with portege. Existing plugin for the OWL-S Editor seems too old and looks like nobody is using it?  Any suggestions.


Surya

 







> From: protege-owl-request at lists.stanford.edu
> Subject: protege-owl Digest, Vol 18, Issue 19
> To: protege-owl at lists.stanford.edu
> Date: Mon, 7 Jan 2008 12:56:31 -0800
> 
> 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: create an owlmodel that loading all	imported	ontologies
>       (Tania Tudorache)
>    2. Re: How to Replace variables with SQWRLQueryAPI?
>       (Thusitha Mabotuwana)
>    3. Re: create an owlmodel that loading all	imported	ontologies
>       (Tania Tudorache)
>    4. SQWRL queries in another OWL file (Ely Edison Matos)
>    5. Re: SQWRL queries in another OWL file (Thusitha Mabotuwana)
>    6. Please help: complement of a class? (Johann Petrak)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 07 Jan 2008 12:18:44 -0800
> From: Tania Tudorache <tudorache at stanford.edu>
> Subject: Re: [protege-owl] create an owlmodel that loading all
> 	imported	ontologies
> To: User support for the Protege-OWL editor
> 	<protege-owl at lists.stanford.edu>
> Message-ID: <47828924.6050601 at stanford.edu>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Weishan,
> 
> This topic has come up several times on the mailing list in the past. 
> Please consult the mailing list archives for the long answer. The short 
> answer is that you have to use the prefixed name. So, if your resource 
> is called "http://a.com#myIndividual", and the namespace "http://a.com" 
> is mapped to "p1", then the call to get the owl individual should look like:
> 
> owlModel.getOWLIndividual("p1:myIndividual")
> 
> Tania
> 
> 
> 
> zhang weishan wrote:
> > Oh. Name space should be used.
> > But how can we make this flexible, as name space is supposed to be not 
> > fixed for importing, right?
> >
> > Cheeers,
> > Weishan
> >
> >
> > ----- Original Message ----
> > From: zhang weishan <dr_zhangws at yahoo.com>
> > To: User support for the Protege-OWL editor 
> > <protege-owl at lists.stanford.edu>
> > Sent: Sunday, January 6, 2008 5:20:39 AM
> > Subject: Re: [protege-owl] create an owlmodel that loading all 
> > imported ontologies
> >
> > Thank you Csongor.
> > But it seems that it is not working as directly create a owlmodel from 
> > that ontology, for example, if I use getOWLObjectProperty(name), 
> > getOWLIndividual (name), they will not work where the 'name's are the 
> > ones in the imported ontology, even though the uri is added
> > In this case, how should these methods should be used.
> >
> > Thank you,
> > Weishan
> >
> >
> > ----- Original Message ----
> > From: Csongor Nyulas <csongor.nyulas at stanford.edu>
> > To: User support for the Protege-OWL editor 
> > <protege-owl at lists.stanford.edu>
> > Sent: Friday, January 4, 2008 4:43:55 AM
> > Subject: Re: [protege-owl] create an owlmodel that loading all 
> > imported ontologies
> >
> > Hi Zhang,
> > createJenaOWLModelFromURI() loads the ontology specified by the URI
> > given as argument, and also all the ontologies (recursively) imported by
> > that ontology.
> >
> > Best,
> > Csongor
> >
> > zhang weishan wrote:
> > > Hello All,
> > >  When I use createJenaOWLModelFromURI(), it loads only the current
> > > ontology, does it?. But How to load all the imported ontologies to the
> > > same owlmodel?
> > >
> > >  Best regards,
> > >  Weishan
> > >
> > >
> > > ------------------------------------------------------------------------
> > > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try
> > > it now.
> > > 
> > <http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ%20> 
> >
> > >
> > > ------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > protege-owl mailing list
> > > protege-owl at lists.stanford.edu <mailto: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
> > > 
> >
> > _______________________________________________
> > protege-owl mailing list
> > protege-owl at lists.stanford.edu <mailto: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
> >
> >
> > ------------------------------------------------------------------------
> > Looking for last minute shopping deals? Find them fast with Yahoo! 
> > Search. 
> > <http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping>
> >
> >
> > ------------------------------------------------------------------------
> > Looking for last minute shopping deals? Find them fast with Yahoo! 
> > Search. 
> > <http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping> 
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > 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: Tue, 08 Jan 2008 09:19:53 +1300
> From: Thusitha Mabotuwana <thusitha at cs.auckland.ac.nz>
> Subject: Re: [protege-owl] How to Replace variables with
> 	SQWRLQueryAPI?
> To: protege-owl at lists.stanford.edu
> Message-ID:
> 	<20080108091953.xpsvx5lnkk88scs4 at webmail.cs.auckland.ac.nz>
> Content-Type: text/plain;	charset=ISO-8859-1;	format="flowed"
> 
> Sounds like you need to create your query at runtime, but unfortunately SQWRL
> doesn't have runtime support yet -
> https://mailman.stanford.edu/pipermail/protege-owl/2007-November/004444.html
> 
> 
> 
> 
> Quoting Ely Edison Matos <ely.matos at ufjf.edu.br>:
> 
> > Hello,
> > Suppose I have a sqwrl query like [1]:
> >
> > Person(?p) ^ hasName(?p, ?name) ^ hasSalary(?p, ?salary) -> 
> > sqwrl:select(?name, ?salary)
> >
> > This rule (and others) are stored in a OWL file (query.owl). I'm 
> > programming with Protege OWL-API. How can I use the SQWRLQuery (or 
> > SWRL Factory) to execute the rule for a specific Person individual? 
> > It means, replace the ?p with "Fred", for example, to get the ?name 
> > and ?salary of Fred?
> > I need execute rules like this for specific individuals (defined at 
> > runtime), not for all individuals from my ontology. It is possible to 
> > change the rule at runtime, but maybe there is a "easy way"...:-))
> >
> > Thanks,
> > Ely
> >
> >
> > [1] http://protege.cim3.net/cgi-bin/wiki.pl?SQWRLQueryAPI
> >
> 
> 
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Mon, 07 Jan 2008 12:24:44 -0800
> From: Tania Tudorache <tudorache at stanford.edu>
> Subject: Re: [protege-owl] create an owlmodel that loading all
> 	imported	ontologies
> To: User support for the Protege-OWL editor
> 	<protege-owl at lists.stanford.edu>
> Message-ID: <47828A8C.8080907 at stanford.edu>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Weishan,
> 
> In the current version of Protege, we don't have support for asking 
> whether an OWL ontology has changed or not. We plan to add this feature 
> very soon. At that point, only the ontologies that have changed will be 
> saved.
> 
> Until then, you can make the repository for the imported ontologies that 
> you don't want to save read-only and then they will be skipped in the 
> save operation.
> 
> Tania
> 
> 
> 
> zhang weishan wrote:
> > Now there comes another question: How to save selectively only one of 
> > the imported ontology which is changed, not the whole owlmodel?
> >
> > Thank you,
> > Weishan
> >
> >
> >
> > ----- Original Message ----
> > From: zhang weishan <dr_zhangws at yahoo.com>
> > To: User support for the Protege-OWL editor 
> > <protege-owl at lists.stanford.edu>
> > Sent: Sunday, January 6, 2008 11:35:35 PM
> > Subject: Re: [protege-owl] create an owlmodel that loading all 
> > imported ontologies
> >
> > Oh. Name space should be used.
> > But how can we make this flexible, as name space is supposed to be not 
> > fixed for importing, right?
> >
> > Cheeers,
> > Weishan
> >
> >
> > ----- Original Message ----
> > From: zhang weishan <dr_zhangws at yahoo.com>
> > To: User support for the Protege-OWL editor 
> > <protege-owl at lists.stanford.edu>
> > Sent: Sunday, January 6, 2008 5:20:39 AM
> > Subject: Re: [protege-owl] create an owlmodel that loading all 
> > imported ontologies
> >
> > Thank you Csongor.
> > But it seems that it is not working as directly create a owlmodel from 
> > that ontology, for example, if I use getOWLObjectProperty(name), 
> > getOWLIndividual (name), they will not work where the 'name's are the 
> > ones in the imported ontology, even though the uri is added
> > In this case, how should these methods should be used.
> >
> > Thank you,
> > Weishan
> >
> >
> > ----- Original Message ----
> > From: Csongor Nyulas <csongor.nyulas at stanford.edu>
> > To: User support for the Protege-OWL editor 
> > <protege-owl at lists.stanford.edu>
> > Sent: Friday, January 4, 2008 4:43:55 AM
> > Subject: Re: [protege-owl] create an owlmodel that loading all 
> > imported ontologies
> >
> > Hi Zhang,
> > createJenaOWLModelFromURI() loads the ontology specified by the URI
> > given as argument, and also all the ontologies (recursively) imported by
> > that ontology.
> >
> > Best,
> > Csongor
> >
> > zhang weishan wrote:
> > > Hello All,
> > >  When I use createJenaOWLModelFromURI(), it loads only the current
> > > ontology, does it?. But How to load all the imported ontologies to the
> > > same owlmodel?
> > >
> > >  Best regards,
> > >  Weishan
> > >
> > >
> > > ------------------------------------------------------------------------
> > > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try
> > > it now.
> > > 
> > <http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ%20> 
> >
> > >
> > > ------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > protege-owl mailing list
> > > protege-owl at lists.stanford.edu <mailto: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
> > > 
> >
> > _______________________________________________
> > protege-owl mailing list
> > protege-owl at lists.stanford.edu <mailto: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
> >
> >
> > ------------------------------------------------------------------------
> > Looking for last minute shopping deals? Find them fast with Yahoo! 
> > Search. 
> > <http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping>
> >
> >
> > ------------------------------------------------------------------------
> > Looking for last minute shopping deals? Find them fast with Yahoo! 
> > Search. 
> > <http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping> 
> >
> >
> >
> > -----Inline Attachment Follows-----
> >
> > _______________________________________________
> > protege-owl mailing list
> > protege-owl at lists.stanford.edu <mailto: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
> >
> >
> > ------------------------------------------------------------------------
> > Looking for last minute shopping deals? Find them fast with Yahoo! 
> > Search. 
> > <http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping> 
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > 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: 4
> Date: Mon, 7 Jan 2008 18:32:00 -0200
> From: "Ely Edison Matos" <ely.matos at ufjf.edu.br>
> Subject: [protege-owl] SQWRL queries in another OWL file
> To: "Protege-owl List" <protege-owl at lists.stanford.edu>
> Message-ID: <AA670F6238C747C9B448A4E1B42A39D4 at kenobi>
> Content-Type: text/plain; format=flowed; charset="iso-8859-1";
> 	reply-type=original
> 
> Hello,
> Sorry by the old and persistent question...
> 
> I have a OWL file with my ontology (with individuals) and another OWL file 
> with SQWRL queries. This queries are to be applied on the ontology. 
> BUT...the ontology is built at runtime...so, I add code to "import" the file 
> with queries. A sample code:
> 
> owlModel =....already created...
> String uriRules = "file:///E:/temp/queries.owl";
> //create the ImportHelper
> ImportHelper importHelper = new ImportHelper((JenaOWLModel)owlModel);
> owlModel.getNamespaceManager().setPrefix(new 
> URI("file:///E:/temp/queries.owl#"), "query");
> importHelper.addImport(URI.create(uriRules));
> try {
>         //do the actual import
>         importHelper.importOntologies(false);
> } catch (Exception e) {
>         e.printStackTrace();
> }
> SQWRLQueryEngine queryEngine = SQWRLQueryEngineFactory.create(owlModel);
> SQWRLResult result = queryEngine.getSQWRLResult("QPar");   <-----generate a 
> exception...edu.stanford.smi.protegex.owl.swrl.sqwrl.exceptions.InvalidQueryNameException
> 
> How can I reference a "QPar" rule defined in rules file 
> (file:///E:/temp/queries.owl) ?
> 
> Thanks,
> Ely
> 
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Tue, 08 Jan 2008 09:40:36 +1300
> From: Thusitha Mabotuwana <thusitha at cs.auckland.ac.nz>
> Subject: Re: [protege-owl] SQWRL queries in another OWL file
> To: protege-owl at lists.stanford.edu
> Message-ID:
> 	<20080108094036.zpngiq3c2s408sw8 at webmail.cs.auckland.ac.nz>
> Content-Type: text/plain;	charset=ISO-8859-1;	format="flowed"
> 
> sqwrl.exceptions.InvalidQueryNameException for valid query? -
> https://mailman.stanford.edu/pipermail/protege-owl/2007-December/005205.html
> 
> 
> 
> 
> Quoting Ely Edison Matos <ely.matos at ufjf.edu.br>:
> 
> > Hello,
> > Sorry by the old and persistent question...
> >
> > I have a OWL file with my ontology (with individuals) and another OWL file
> > with SQWRL queries. This queries are to be applied on the ontology.
> > BUT...the ontology is built at runtime...so, I add code to "import" the file
> > with queries. A sample code:
> >
> > owlModel =....already created...
> > String uriRules = "file:///E:/temp/queries.owl";
> > //create the ImportHelper
> > ImportHelper importHelper = new ImportHelper((JenaOWLModel)owlModel);
> > owlModel.getNamespaceManager().setPrefix(new
> > URI("file:///E:/temp/queries.owl#"), "query");
> > importHelper.addImport(URI.create(uriRules));
> > try {
> >         //do the actual import
> >         importHelper.importOntologies(false);
> > } catch (Exception e) {
> >         e.printStackTrace();
> > }
> > SQWRLQueryEngine queryEngine = SQWRLQueryEngineFactory.create(owlModel);
> > SQWRLResult result = queryEngine.getSQWRLResult("QPar");   <-----generate a
> > exception...edu.stanford.smi.protegex.owl.swrl.sqwrl.exceptions.InvalidQueryNameException
> >
> > How can I reference a "QPar" rule defined in rules file
> > (file:///E:/temp/queries.owl) ?
> >
> > Thanks,
> > Ely
> >
> > _______________________________________________
> > 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: 6
> Date: Mon, 07 Jan 2008 21:58:48 +0100
> From: Johann Petrak <johann.petrak at chello.at>
> Subject: [protege-owl] Please help: complement of a class?
> To: protege-owl at lists.stanford.edu
> Message-ID: <47829288.7080004 at chello.at>
> Content-Type: text/plain; charset="utf-8"
> 
> OK, I obviously fail miserably at figuring this out:
> (see attached owl file):
> 
> I want to simply assign all the individuals of some class A that
> are not members of subclass ASub1 to another subclass of A, ASub2.
> 
> Clas ASub1 has the necessary and sufficient condition
>    A and hasRange some B
> so all members of A that have a property hasRange filled with B
> make up class ASub1.
> That works: if I add an individual to A that does have a property
> hasRange flled with B then it shows up as member of class
> ASub1. If I add an individual to A that does not have
> a property hasRange filled with B, it does not show up in ASub1
> 
> No I want to create a second subclass of A, ASub2 that should contain
> all members of A that are not members of B.
> 
> I tried to do this by make ASub1 and ASub2 covering A, i.e. in
> A I have the necessary and sufficient condition
>    ASub1 or ASUb2
> 
> And I tried to simply add the necessary and sufficient condition
>    not ASub1
> to ASub2.
> 
> ASub1 and ASub2 are defined to be disjunct.
> 
> Unfortunately, that is obviously the wrong idea, since it does not
> work :)
> 
> I am puzzled though and obviously am missing something about the
> OWA being at work here?
> 
> Since ASub1 and ASub2 cover A, anything that is known to not have
> property hasRange filled with B should be in ASub2.
> I have also added hasRange only B as a necessary condition to
> A.
> 
> Can anybody help me here?
> 
> Cheers,
>    Johann
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: notClass.owl
> Type: text/rdf
> Size: 2573 bytes
> Desc: not available
> Url : http://mailman.stanford.edu/pipermail/protege-owl/attachments/20080107/ee5c3abd/attachment.owl 
> 
> ------------------------------
> 
> _______________________________________________
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
> 
> 
> End of protege-owl Digest, Vol 18, Issue 19
> *******************************************

_________________________________________________________________
Put your friends on the big screen with Windows Vista® + Windows Live™.
http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_MediaCtr_bigscreen_012008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-owl/attachments/20080107/5a824c40/attachment.html>


More information about the protege-owl mailing list