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
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, 12 months
unknown error while parsing
by Boschung Daniel
hi folks
drools prompt me to contact the development team. the following error apears, whithout stacktrace, while developing
a rule. maybe the error is known to you?!
thanks for a little statement
daniel
14 years, 2 months
guvnor - adding own operators in conditions for eligibility rules
by data data
I like to add or change the existing operators in the condition part for
eligibility rules.
- equal to
- not equal to
- matches
- sounds like
For instance I like to distinguish between reference compare "==" and deep
comparison with "object.equals()". Any ideas how I can achieve that? Any
hints where I can have a look in order to start with that? (links, class
names etc.)
Thank you in advance
regards
Mark
14 years, 7 months
KnowledgeAgent on Drools 5.1
by Mohamed BEN AYED
Hi,
I am working wih knowledgeAgent and I migrate to 5.1 version
when I use DRL file, it works fine
but when I use PKG file I have an exception:
java.lang.RuntimeException: KnowledgeAgent exception while trying to
deserialize KnowledgeDefinitionsPackage
at
org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(KnowledgeAgentImpl.java:586)
at
org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(KnowledgeAgentImpl.java:541)
at
org.drools.agent.impl.KnowledgeAgentImpl.incrementalBuildResources(KnowledgeAgentImpl.java:731)
at
org.drools.agent.impl.KnowledgeAgentImpl.buildKnowledgeBase(KnowledgeAgentImpl.java:515)
at
org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:145)
at
org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:130)
at com.cylande.MainKAgent.main(MainKAgent.java:171)
Caused by: java.io.InvalidClassException:
org.drools.rule.DialectRuntimeRegistry; local class incompatible: stream
classdesc serialVersionUID = 5308493362083281112, local class
serialVersionUID = 2297533903900118816
at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at org.drools.rule.Package.readExternal(Package.java:198)
at java.io.ObjectInputStream.readExternalData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at
org.drools.core.util.DroolsStreamUtils.streamIn(DroolsStreamUtils.java:189)
at
org.drools.core.util.DroolsStreamUtils.streamIn(DroolsStreamUtils.java:158)
at
org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(KnowledgeAgentImpl.java:575)
... 6 more
could you please explain this?
I am using Drools 5.1 SNAPSHOT.
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/KnowledgeAgent-on-Dro...
Sent from the Drools - Dev mailing list archive at Nabble.com.
14 years, 7 months
DRL comilation: Parsing null does not work where parsing an enum literal does works.
by Geoffrey De Smet
This works in DRL:
Assignment(
(PatternEntryPropertyWildcard.ANY == $shiftTypeWildcard)
|| (shiftType == $shiftType)
...
)
But this doesn't work in DRL:
Assignment(
(null == $shiftType)
|| (shiftType == $shiftType)
...
)
It says "no viable alternative at input 'null' in rule"
Is there a specific reason why enum literals work on that spot and the
null literal doesn't?
Here's the full stacktrace:
Exception in thread "main" java.lang.IllegalStateException: There are
errors in the scoreDrl's:[536,8]: [ERR 101] Line 536:8 no viable
alternative at input ')' in rule "unwantedPatternShiftType2DaysPattern"
in pattern ShiftType2DaysPattern[542,13]: [ERR 101] Line 542:13 no
viable alternative at input 'null' in rule
"unwantedPatternShiftType2DaysPattern" in pattern Assignment[544,12]:
[ERR 102] Line 544:12 mismatched input '$employee' expecting ')' in rule
"unwantedPatternShiftType2DaysPattern" in pattern Assignment[544,32]:
[ERR 102] Line 544:32 mismatched input ',' expecting '(' in rule
"unwantedPatternShiftType2DaysPattern" in pattern employee[545,8]: [ERR
102] Line 545:8 mismatched input ')' expecting '(' in rule
"unwantedPatternShiftType2DaysPattern" in pattern employee in pattern
shiftDateDayIndex[547,13]: [ERR 101] Line 547:13 no viable alternative
at input 'null' in rule "unwantedPatternShiftType2DaysPattern" in
pattern employee in pattern Assignment
--
With kind regards,
Geoffrey De Smet
14 years, 7 months
Guvnor on trunk does not work anymore.
by Jervis Liu
Hi,
The drools-guvnor.war built from drools trunk does not work anymore. I
have tried JBoss 4.3 and JBOSS 5.1, neither work. There is no error
message or exception in log, the browser just say "The requested
resource (/drools-guvnor) is not available". Does anymore know whats
going on there? I am looking into this right now, but if you know what
may cause the problem, please also help. I am pretty sure it was working
two weeks ago. BTW, it still works in Eclipse.
Cheers,
Jervis
14 years, 7 months