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-dev] WebProtégé - deprecation of EntityData class

Karl Hammar karl at
Thu May 21 23:59:23 PDT 2015


My use case is that I have a search engine portlet that searches for and
returns Ontology Design Patterns, represented in that portlet by IRI,
label, and confidence score. I have another portlet which displays the
Ontology Design Pattern metadata details, which are retrieved from the
back-end through a service call using the IRI. I need the search portlet to
notify the metadata details portlet that selection changed, and that the
new selection is a certain IRI. As I mentioned, I have used the Selectable
interface to do this, by passing EntityData objects that were reused in a
not-quite-supported-manner. I'll probably refactor this and implement my
own selection mechanism for this use case instead if the use of EntityData
in this manner is discouraged (the Selectable interface/pattern isn't
really rocket science, so reimplementing something like that myself, but
passing IRI:s instead, is simple enough).


2015-05-21 22:30 GMT+02:00 Matthew Horridge <matthew.horridge at>:

> Hi Karl,
> Please don’t use any EntityData related structures at all.  They will be
> removed at some point.
> The mechanism for selection has also changed (you’ll find the changes in
> master) and it’s likely to evolve further.  It’s possible that we could
> broaden the scope, but the selection mechanism is only really meant to
> apply to entities.
> I suppose what you could do with is the ability to inject an arbitrary
> object into a portlet when it’s constructed.  Unfortunately, this isn’t
> possible with the current infrastructure (it is actually possible in an
> incubator version of webprotege, but this is ages away from seeing the
> light of day).  I’ll have a think of a way around this.  Can you elaborate
> on your use case?  Do you need a common object per project, per application
> or both?
> Cheers,
> Matthew
> > On 21 May 2015, at 06:58, Karl Hammar <karl at> wrote:
> >
> > Hi,
> >
> > I'm a bit curious as to the future plans for the EntityData and
> Selectable interfaces in WebProtégé. In some of the work I'm doing I need
> to pass around things between portlets (e.g., employing the Selectable
> interfaces) which aren't necessarily OWL constructs, but rather URIs and
> strings, among other things for search engine integration purposes. I've so
> far been using EntityData objects, as supported by Selectable, for this.
> That is perhaps not ideal given the naming/purpose of the EntityData class,
> but it works all the same. However, the deprecation warnings on EntityData
> scare me a little.. so any comments on what's going to happen here in the
> future?
> >
> > /Karl
> > _______________________________________________
> > protege-dev mailing list
> > protege-dev at
> >
> _______________________________________________
> protege-dev mailing list
> protege-dev at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the protege-dev mailing list