Yes, everything is identical except the SPIN versions in POM -- yet the 
behaviour is different. I just double-checked.

In one instance, with 1.3.1, SPINConstraints.check() returns 2 
ConstraintViolation objects while with 1.4.0 it returns 0.

The constrains are mostly very simple and look like this:

    spin:constraint [ a dqc:MissingProperties ;
        sp:arg1 <#TemplateItem> ;
        sp:arg2 gp:slug
    ] ;

This is the main ontology:
https://github.com/Graphity/graphity-client/blob/master/src/main/resources/org/graphity/client/vocabulary/gcs.ttl

It imports the DQC ontology:
https://github.com/Graphity/graphity-client/blob/master/src/main/resources/org/graphity/processor/vocabulary/dq-constraints.rdf

On Tuesday, March 17, 2015 at 12:45:27 AM UTC+1, Holger Knublauch wrote:
>
>  I am not aware of such changes, but I will need more details to verify. 
> Did you use exactly the same RDF files? How do the constraints look like?
>
> Thanks,
> Holger
>
>
> On 3/17/2015 9:44, Martynas Jusevicius wrote:
>  
> Hello,
>
> I have a simple piece code that validates an RDF model against SPIN 
> constraints:
>
>         OntModel tempModel = 
> ModelFactory.createOntologyModel(OntModelSpec.OWL_MEM);
>         tempModel.add(ontModel).add(model);
>         SPINModuleRegistry.get().registerAll(tempModel, null);
>         List<ConstraintViolation> cvs = SPINConstraints.check(tempModel, 
> null);
>
> After upgrade from 1.3.1 to 1.4.0, this code stopped working -- meaning 
> that no violations are returned where they were returned before.
>
> Any clues? I was hoping the API behaviour wouldn't change.
>
> Martynas
>  -- 
> You received this message because you are subscribed to the Google Group 
> "TopBraid Suite Users", the topics of which include Enterprise Vocabulary 
> Network (EVN), Reference Data Manager (RDM), TopBraid Composer, TopBraid 
> Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
> To post to this group, send email to topbrai...@googlegroups.com 
> <javascript:>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "TopBraid Suite Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to topbraid-user...@googlegroups.com <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>
>  

-- 
You received this message because you are subscribed to the Google Group 
"TopBraid Suite Users", the topics of which include Enterprise Vocabulary 
Network (EVN), Reference Data Manager (RDM), TopBraid Composer, TopBraid Live, 
TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to topbraid-users@googlegroups.com
--- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to topbraid-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to