Semantic Web Drools Module, Request for Feedbak
by Xavier Breton
Hi,
I'm looking for feedback, I'll develop a Semantic Web Drools Module that
will be the subject of my Master Degree Tesis.
The idea is to use Eclipse Modelling Framework (EMF) for prototyping and
follow a Model Driven Architecture (MDA) where the source language is
Semantic of Business Vocabularies and Business Rules (SBVR) and the target
language is Drools DRL.
The mapping could be (PIM level):
- Semantic Web Rule Language (SWRL)
- Ontology Web Language (OWL)
- RuleML
- Rule Interchange Format (RIF)
- REWERSE Rule Markup Language (R2ML)
It could be added to the module at the source UML or Entity Relationship
like models to transform the models into SBVR.
Regards
Xavier Breton
10 years, 10 months
Attach custom editor on guided decision table cell
by c3310082
Hi,
We would like to render a custom editor when a user double-clicks on a cell
that is present in web guided decision table in Guvnor 5.1 (or later). The
custom editor needs to be invoked for cells that represent a particular fact
model attribute only.
This is somewhat similar to WS custom forms functionality available for
guided business rules.
So far we have seen the
org.drools.guvnor.client.decisiontable.GuidedDecisionTableWidget class that
contains implementation for:
public void onCellDblClick(GridPanel grid,
int rowIndex,
int colIndex,
EventObject e)
in the GridCellListenerAdapter class that opens up text editor or drop down
editor.
We're new to GWT and Guvnor so would appreciate it if anyone can provide the
high level steps.
Thanks
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Attach-custom-editor-...
Sent from the Drools - Dev mailing list archive at Nabble.com.
12 years, 2 months
Guided Editor in BRMS / Guvnor Version 5 (Snapshot of 26 June)
by Paul Browne
Folks,
For various reasons I'm trying out the Guided Editor for Business Rules in
the Guvnor Version 5 (Snapshot of 26 June from Hudson, deployed on JBoss App
Server 4.2.2GA).
I've created the Package / Category and uploaded a simple fact model (as
works in BRMS version 4). I create a new business rule using the guided
editor and the screen shows successfully with both 'When' and 'Then'
parts.Assume the next question is due to me missing something, but wanted to
double check:
When I press the green '+' to the right of the screen I am shown the message
/ dialog layer saying '
*Add a condition to the rule... *or* Add an action to the rule.
*Problem is that there doesn't appear to be a way of adding a condition or
action. The only thing I'm seeing in the logs is
* (Contexts.java:flushAndDestroyContexts:335) could not discover
transaction status
*Am I missing something or should I come back to Guvnor later in the
development Cycle?
Thanks
Paul
12 years, 9 months
Drools on android
by Justin King
Hi All,
I'm wondering if anyone has tried to use drools in a google android
application, and if so what problems did you have? I'd also be interested to
know if its even possible!
Thanks!
--
Regards,
Justin King
PhD Candidate
Faculty of Information and Communication Technologies
Swinburne University of Technology
http://www.ict.swin.edu.au/ictstaff/justinking
--
Regards,
Justin King
PhD Candidate
Faculty of Information and Communication Technologies
Swinburne University of Technology
http://www.ict.swin.edu.au/ictstaff/justinking
12 years, 11 months
MVEL strict mode - explanation?
by Michael Anstis
Hi,
With Drools-5.4.0-SNAPSHOT, MVEL2-2.1.0.drools4 the following compiles OK:-
org.drools.runtime.process.WorkItemManager wim =
drools.getWorkingMemory().getWorkItemManager();
org.drools.SessionConfiguration sessionConfiguration =
(org.drools.SessionConfiguration)
kcontext.getKnowledgeRuntime().getSessionConfiguration();
java.util.Map handlers = sessionConfiguration.getWorkItemHandlers();
However moving the last Map to generics (as you'd expect is needed for
strict mode) does not:-
org.drools.runtime.process.WorkItemManager wim =
drools.getWorkingMemory().getWorkItemManager();
org.drools.SessionConfiguration sessionConfiguration =
(org.drools.SessionConfiguration)
kcontext.getKnowledgeRuntime().getSessionConfiguration();
java.util.Map<java.lang.String,
org.drools.runtime.process.WorkItemHandler> handlers =
sessionConfiguration.getWorkItemHandlers();
Unable to Analyse Expression org.drools.runtime.process.WorkItemManager wim
= drools.getWorkingMemory().getWorkItemManager();
org.drools.SessionConfiguration sessionConfiguration =
(org.drools.SessionConfiguration)
kcontext.getKnowledgeRuntime().getSessionConfiguration();
java.util.Map<java.lang.String, org.drools.runtime.process.WorkItemHandler>
handlers = sessionConfiguration.getWorkItemHandlers();: [Error: unable to
resolve method using strict-mode: org.drools.spi.KnowledgeHelper.,()] [Near
: {... Map<java.lang.String, org.drools.runtime.process.W ....}] ^ [Line: 3,
Column: 32]
Can anybody explain?
Thanks,
Mike
13 years, 1 month
Semantic Indexing
by Sebastian Samaruga
Hi,
Apologise for cross-postings.
Are there somebody trying to index/search using "semantics" (as a protocol)?
The vision I'm trying to figure out is to use semantics as a protocol facade for
browsing an index and a repository "smartly". It's nothing but relegating the
features of a linked graph only as a "resource map" of where the data
is currently
held and linked and which should "understand semantic/intelligent links"
The idea is drafted here:
http://cognescent.googlecode.com/files/Index.pdf
I hope there is some (open) work done in this way. Would be nice to
know if there
is a working example or if the idea is worth the effort implementing it.
Best,
Sebastián.
13 years, 1 month
WorkItemManager from rule RHS?
by Michael Anstis
Hi,
The conclusion of my head-wall-banging exercise this morning left me to
believe it isn't easy to get a WorkItemManager from the RHS of a rule.
Assuming I've missed the obvious (an internal secretive cast?), could
anybody care to point me in the right direction?
Cheers,
Mike
13 years, 1 month