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, 9 months
boolean DRL function causes crashes in 5.[45].0
by Wolfgang Laun
This self-contained .drl runs fine with 5.3.0, crashes (with two
different exceptions) in 5.[45].0, and is back to OK with 6.0.0.
package decl
declare Cont
answer : String
end
function boolean isValid( String s ){
try {
Double.valueOf( s );
return true;
} catch( NumberFormatException nfe ){
return false;
}
}
rule isString
when
$s: Cont( $a: answer, isValid( answer ) )
then
System.out.println( "isString: " + $a );
end
rule isX
when
then
insert( new Cont( "123.456" ) );
end
10 years, 11 months
Re: [rules-dev] [droolsjbpm-knowledge] documentation: Various minor corrections and updates to KIE (#58)
by Wolfgang Laun
A few amendments...
-W
On 16/12/2013, Vinod Kiran <notifications(a)github.com> wrote:
>
> You can merge this Pull Request by running:
>
> git pull https://github.com/vinodkiran/droolsjbpm-knowledge master
>
> Or you can view, comment on it, or merge it online at:
>
> https://github.com/droolsjbpm/droolsjbpm-knowledge/pull/58
>
> -- Commit Summary --
>
> * documentation: Various minor corrections and updates.
>
> -- File Changes --
>
> M kie-docs/shared/KIE/BuildDeployUtilizeAndRun/KIEBuilding.xml (49)
380 + belonging to a KieModule programmatically instead of the
declarative defination in the
s/defination/definition/
451 + as <code>Resource</code>s. In the later case the
<code>Resource</code>s can be created by the
s/later/latter/
471 + to a<code>Resource</code> as shown below:</para>
s/to a<code>/to a <code>/
> M kie-docs/shared/KIE/BuildDeployUtilizeAndRun/KIEDeploying.xml (7)
59 + <para>The <code>KieScanner</code> allows continous monitoring
of your Maven repository
s/continous/continuous/
60 + to check for a new release of a Kie project has been
installed. A new release is deployed it in
s/to check for a new/to check whether a new/
s/is deployed it in/is deployed in/
> M kie-docs/shared/KIE/BuildDeployUtilizeAndRun/KIEExamples.xml (36)
12 + <para>The Deploy use cases shown below, all involve <code>mvn
install</code>.
s/below, all/below all/
13 + Maven is well covered is Maven literature. Ut
s/is Maven/in Maven/
307 + id, artifact id and version. It also obey's LATEST
s/obey's/obeys/
42 needed here. It will not setup a
s/setup/set up/
459 + ReleaseId and kmodule.xml, as well as add the relevant resources.
s/as well as add/and it adds/
492 + <para>Summary: Programmaticaly buid a KieModule,
s/Programmaticaly buid/Programmatically build/
> M kie-docs/shared/KIE/BuildDeployUtilizeAndRun/KIEModuleIntroduction.xml
> (20)
10 + instead of the using the programmatic builder
s/instead of the using/instead of using/
19 + plugin also pre-generates
s(pre-generates/generates/
36 + remote Maven repository. Building the Application wil pull
in the KieModule and populating the
s/Application/application/
s/wil pull/will pull/
s/and populating/and populate/
> M kie-docs/shared/KIE/BuildDeployUtilizeAndRun/KIERunning.xml (57)
307 + using the <code>CommandExecutor</code> .</para>
s/code> .</code>.</
309 <para>Set Global calls setGlobal underneath. The optional boolean
indicates on whether the
s/on whether/whether/
310 + command should return value as part
s/return value/return the global's value/
*** Example 4.21. Set Global Command
This is badly broken.
647 continue to use it after a rollback.
s/continue/to continue/
> M kie-docs/shared/KIE/Overview/KIEAnatomy.xml (2)
> M kie-docs/shared/KIE/Overview/KIEOverview.xml (2)
> M kie-docs/shared/KIE/ReleaseNotes/ReleaseNotesKIE.6.0.0.Final.xml (32)
58 +
Don't let the example split the paragraph.
>
> -- Patch Links --
>
> https://github.com/droolsjbpm/droolsjbpm-knowledge/pull/58.patch
> https://github.com/droolsjbpm/droolsjbpm-knowledge/pull/58.diff
>
10 years, 11 months
6.0 issue with remote jars and dynamic modules
by Mark Proctor
There is problem, fixed in master, for remote jars. The KieRepository currently, when using kie-ci, doesn’t obey the settings.xml active profiles. This means it is not recognising the remote configured repositories.
While this is fixed, and we’ll have binaries out in about 2 weeks, it means for now KieRepository can only resolve jars already in the local m2_repo.
Mark
10 years, 11 months