Hi, ValidateUtil has the following API. And, when I send the dataModel and shapesModel seperately with validateShapes=true, it always return validation as successful even when the dataModel is invalid per defined shapes in the shapesModel. (I basically split the shacl example file: personshape.test.ttl file into two ttl files one with data and the other with shapes) public static Resource validateModel(Model dataModel, Model shapesModel, boolean validateShapes)
However, if I merge dataModel and shapesModel(example: personshape.test.ttl) and pass them to the above method it works correctly. But it seems redundant to pass the same parameter(dataModel) twice to the method call. I looked at the implementation of the above method and see that the unionGraph is being built using dataModel. Should this be a shapesModel? If not, can you please provide example for validation with seperate ttl files? Thanks Ravi Vangala -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include the TopBraid Suite family of products and its base technologies such as SPARQLMotion, SPARQL Web Pages and SPIN. To post to this group, send email to [email protected] --- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
