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] data conversion reg

Jonathan Carter jonathan.carter at e-asolutions.com
Thu Nov 29 03:16:17 PST 2012


To perform that sort of value computation, you might want to take a look at the ScriptRules plugin.

http://www.hansschevers.nl/scriptRules.htm

When we've worked with numerical values like this, we've included a 'unit of measure' attribute so that we can start comparing values in queries of the ontology. In your case, if you need to work on both units of measure, you could have two attributes - one in each unit of measure - and have a script rule to perform the conversion between knots and kph to ensure that both attributes are always populated.

Jonathan
_______________________________________

Jonathan Carter 
Enterprise Architecture Solutions Ltd
_______________________________________

Proud sponsors of The Essential Project
The free open-source Enterprise Architecture Management Platform
www.enterprise-architecture.org
_______________________________________

Enterprise Architecture Solutions Ltd, Registered in England and Wales: 04097721.
Registered Office: 76 High Street, Newport Pagnell, Milton Keynes, MK16 8AQ.

On 29 Nov 2012, at 04:57, kala devi ramar wrote:

> 
>  
> Dear all
>  
> One of my owl file has wind measurement in knots and pressure as millibars. another file has wind as km/h and pressure as hpa( hecta pascals).
> As per your suggestions i can map wind  to wind or pressure to pressure through class or property settings. But it's individuals are different because of the different scales. How to map these to values ?(because both are semantically equal)
>  
> 1km/h=1.619 knots
> 1 bar=100kpa
> please tell me the possiblity of this mappings
>  
> thank u
> R.kaladevi
> --- On Wed, 11/21/12, protege-discussion-request at lists.stanford.edu <protege-discussion-request at lists.stanford.edu> wrote:
> 
> From: protege-discussion-request at lists.stanford.edu <protege-discussion-request at lists.stanford.edu>
> Subject: protege-discussion Digest, Vol 76, Issue 30
> To: protege-discussion at lists.stanford.edu
> Date: Wednesday, November 21, 2012, 1:33 AM
> 
> 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. Map widget (Olivier Rossel)
>    2. Re: Map widget (Timothy Redmond)
>    3. Re: Map widget (Ru)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Tue, 20 Nov 2012 01:12:15 +0100
> From: Olivier Rossel <olivier.rossel at gmail.com>
> To: User support for Core Protege and the Protege-Frames editor
>     <protege-discussion at lists.stanford.edu>
> Subject: [protege-discussion] Map widget
> Message-ID:
>     <CAM0wMfQ0udFNgcr5KUmhVhe0cbxN=JeiLrLe_qbLnwo+D8eX4w at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Hi everyone.
> 
> I want to implement a map widget, that displays an icon on a map,
> given three values:
> - a longitude
> - a latitude
> - a iconURL
> 
> As far as I have seen in Protege, a widget displays the value(s) of  a
> single-slot.
> 
> My map widget is something different: a "3-slots-displayed-at-once" widget.
> 
> Is it possible in Protege?
> It there already such a "multi-slot-displayed-at-once" widget in the
> main distribution or the plugins?
> Does that sound tricky to implement?
> 
> Any comment and help is welcome !
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Mon, 19 Nov 2012 19:27:54 -0800
> From: Timothy Redmond <tredmond at stanford.edu>
> To: protege-discussion at lists.stanford.edu
> Subject: Re: [protege-discussion] Map widget
> Message-ID: <50AAF8BA.8090407 at stanford.edu>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> 
> I haven't been doing too much active development in Protege 3 for a 
> while but my recollection is that there already are some widgets that 
> depend on multiple slots.  I suspect that it is not that tricky to 
> implement but it has been a while.
> 
> On the other hand, in Protege 4 I can tell you that there is no issue.  
> You can create a view that changes what it displays depending on the 
> selected individual and its property values.
> 
> -Timothy
> 
> 
> On 11/19/2012 04:12 PM, Olivier Rossel wrote:
> > Hi everyone.
> >
> > I want to implement a map widget, that displays an icon on a map,
> > given three values:
> >   - a longitude
> >   - a latitude
> >   - a iconURL
> >
> > As far as I have seen in Protege, a widget displays the value(s) of  a
> > single-slot.
> >
> > My map widget is something different: a "3-slots-displayed-at-once" widget.
> >
> > Is it possible in Protege?
> > It there already such a "multi-slot-displayed-at-once" widget in the
> > main distribution or the plugins?
> > Does that sound tricky to implement?
> >
> > Any comment and help is welcome !
> > _______________________________________________
> > 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
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Tue, 20 Nov 2012 11:05:30 +0400
> From: Ru <sorokin at oogis.ru>
> To: User support for Core Protege and the Protege-Frames editor
>     <protege-discussion at lists.stanford.edu>
> Subject: Re: [protege-discussion] Map widget
> Message-ID: <50AB2BBA.1010704 at oogis.ru>
> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
> 
> Hi Oliver,
> 
> You may want to have a look on these plugins:
> 
> http://protegewiki.stanford.edu/wiki/ClojureTab
> 
> http://protegewiki.stanford.edu/wiki/DroolsTab
> 
> Sincerely,
>      Ru
> 
> On 11/20/2012 04:12 AM, Olivier Rossel wrote:
> > Hi everyone.
> >
> > I want to implement a map widget, that displays an icon on a map,
> > given three values:
> >   - a longitude
> >   - a latitude
> >   - a iconURL
> >
> > As far as I have seen in Protege, a widget displays the value(s) of  a
> > single-slot.
> >
> > My map widget is something different: a "3-slots-displayed-at-once" widget.
> >
> > Is it possible in Protege?
> > It there already such a "multi-slot-displayed-at-once" widget in the
> > main distribution or the plugins?
> > Does that sound tricky to implement?
> >
> > Any comment and help is welcome !
> > _______________________________________________
> > 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
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20121120/8d2417bb/attachment-0001.html>
> 
> ------------------------------
> 
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
> 
> 
> End of protege-discussion Digest, Vol 76, Issue 30
> **************************************************
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20121129/818def81/attachment-0001.html>


More information about the protege-discussion mailing list