SHACL under 5.2

32 views
Skip to first unread message

Jack Hodges

unread,
Sep 20, 2016, 4:09:02 PM9/20/16
to TopBraid Suite Users
I have SHACL (SPARQL) constraints that worked 'fine' under TBCME 5.1.3. In these constraints I am using some SPIN functions and Magic Properties. Under 5.2 my SPIN functions (in foo.spin.ttl) and possibly my Magic Properties (in foo.ui.ttlx), are not being found:

WARN [ModalContext] (E_Function.java:89) - URI <...> has no registered function factory

I do not get these errors when running in the SPARQL tab, only in SHACL constraints.

I have asked about this in the past and was asked to wait until 5.2 was out so now I am asking again.

Holger Knublauch

unread,
Sep 20, 2016, 6:28:12 PM9/20/16
to topbrai...@googlegroups.com
This scenario seems to work fine for me, see the attached files. I would need a copy of your files or comparable details to reproduce this.

Holger
--
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 topbrai...@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-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

testFunction.spin.ttl
testSPARQLConstraint.shapes.ttl
Message has been deleted

Jack Hodges

unread,
Sep 21, 2016, 2:53:19 PM9/21/16
to TopBraid Suite Users
I will check to make sure that my inheritance is correct. I think that what I need is better and more complete documentation of SHACL and SPARQL and SPIN interactions.

Jack Hodges

unread,
Sep 23, 2016, 10:34:58 AM9/23/16
to TopBraid Suite Users
We got it working and even in Jena. I am not sure what the problem was because I am bucking a deadline but am relieved nonetheless. The new SHACL violations have removed the subject predicate object violation parameters from the SHACL violations display. When I run the validator I am only really getting the focus node and the message. Maybe I can still access the query parameters from the violation.

Jack Hodges

Holger Knublauch

unread,
Sep 25, 2016, 11:39:39 PM9/25/16
to topbrai...@googlegroups.com
On 24/09/2016 0:34, Jack Hodges wrote:
> We got it working and even in Jena. I am not sure what the problem was
> because I am bucking a deadline but am relieved nonetheless. The new
> SHACL violations have removed the subject predicate object violation
> parameters from the SHACL violations display. When I run the validator
> I am only really getting the focus node and the message. Maybe I can
> still access the query parameters from the violation.

The names of the result variables have changed compared to the SHACL
version that was bundled with 5.1.

See

http://w3c.github.io/data-shapes/shacl/#sparql-constraints-variables

for the variable names that you need to use in the SELECT clause of
SPARQL-based constraints, and

http://w3c.github.io/data-shapes/shacl/#results

for the generally available result vocabulary.

Holger

Jack Hodges

unread,
Sep 26, 2016, 10:08:27 AM9/26/16
to TopBraid Suite Users
Thank you for the links. Very informative.
Reply all
Reply to author
Forward
0 new messages