"Marc Shlomo L. Hronec" wrote:
> My questions:
> a) Is this the most straightforward way of integrating between JESS and
> Protégé? What is the scenario where this is the most useful approach?
Depends on what you consider to be straightforward.
This experimental integration of Protege and Jess came about as a
byproduct of my need to attach Java methods to Protege classes. I can
do that only if I generate Java classes that subclass the Protege class
that implement Protege "Instance" class.
I think this approach is best when (1) you want to use Protege's
frame-based system and (2) you want to implement your own methods for
Protege classes.
> b) What are the benefits of the implementation versus e.g. mapping instances
> simply to facts? So Protégé would export only clp files for Jess?
See above. If you just use clp files for Jess, you lose Protege
frame-based knowledge representation and inference capabilities.
> c) Would rule based reference resolution of Protégé instances in Jess be
> practical? (Leaving the Java bean approach for access to external utility
> beans.)
Last year a Swedish visitor to our lab experimented with a different
approach, where he implemented "protege-defclass" and
"protege-definstance" methods that directly convert Protege classes and
Protege instances into Jess templates and Jess facts, bypassing the
Javabean convention altogether. It worked, but he returned to his lab
and didn't have time to continue. (He is not a Jess user either.) If
anyone is interested in doing a robust implementation of this approach,
I can put you in touch with him. This approach is quite elegant, but,
again, is best only if (1) you want to work in Protege environment and
(2) you don't need to define your own methods for your classes.
Samson
--
Samson Tu email: [EMAIL PROTECTED]
Stanford Medical Informatics phone: 1-650-725-3391
Stanford University fax: 1-650-725-7944
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------