Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Shapes : Fix recognition DRL after interface change

  • Loading branch information...
commit 317b57f4c1adbd771ad2155063b2b6674c13171e 1 parent ea55e7c
@sotty sotty authored
View
2  ...enerator/src/main/resources/org/drools/semantics/templates/model/drl/recognitionRule.drlt
@@ -137,7 +137,7 @@ accumulate ( @code{ context.push() } @includeNamed{ 'defOr'; expr=expr.filler; t
@declare{ 'oneOOf' }
- , name @foreach{ ind : expr.individuals } == "@{ ind.IRI }" @end{ '||' }
+ , get__IndividualName() @foreach{ ind : expr.individuals } == "@{ ind.IRI }" @end{ '||' }
@end{}
View
2  ...pes/drools-shapes-generator/src/test/java/org/drools/semantics/lang/dl/DL_7_RuleTest.java
@@ -61,7 +61,6 @@
protected DLFactory factory = DLFactoryBuilder.newDLFactoryInstance();
@Test
- @Ignore
public void testPizzaOntologyRecognition() {
Resource res = ResourceFactory.newClassPathResource( "ontologies/pizza.owl" );
@@ -146,7 +145,6 @@ public void testExampleDNFRecognition() {
@Test
- @Ignore
public void testOneOfWithNamedIndividuals() {
String owl = "Prefix(owl:=<http://www.w3.org/2002/07/owl#>)\n" +
"Prefix(rdf:=<http://www.w3.org/1999/02/22-rdf-syntax-ns#>)\n" +
Please sign in to comment.
Something went wrong with that request. Please try again.