Re: [topbraid-users] SHACL under 5.2

2016-09-26 Thread Jack Hodges
Thank you for the links. Very informative.

-- 
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 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.


Re: [topbraid-users] SHACL under 5.2

2016-09-25 Thread Holger Knublauch

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

--
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 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.


Re: [topbraid-users] SHACL under 5.2

2016-09-23 Thread Jack Hodges
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

On Wednesday, September 21, 2016 at 11:53:19 AM UTC-7, Jack Hodges wrote:
>
> 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.

-- 
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 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.


Re: [topbraid-users] SHACL under 5.2

2016-09-21 Thread Jack Hodges
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.

-- 
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 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.


Re: [topbraid-users] SHACL under 5.2

2016-09-21 Thread Jack Hodges
Holger,

Interestingly your file doesn't follow the naming conventions you suggested 
that I use when I first mentioned the:

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

error. It would be better, for me, if you could enumerate all of the 
contexts in which this error is provided. Then I could check to see which 
one it might be. Although I acknowledge that your example works, it is so 
bereft of any of the normal complexity of a real project/application it is 
difficult to take it seriously. Yes, it is a smoke test for the 
functionality.

I can (and will) send you all of the models and examples you might need to 
test this problem. I would remind you that you were the one that suggested 
that I ask SHACL-related questions on the forum.

Jack

On Tuesday, September 20, 2016 at 3:28:12 PM UTC-7, Holger Knublauch wrote:
>
> 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
>
>
>
> On 21/09/2016 6:09, Jack Hodges wrote:
>
> 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.
> -- 
> 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.
>
>
>

-- 
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 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.


Re: [topbraid-users] SHACL under 5.2

2016-09-20 Thread Holger Knublauch
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



On 21/09/2016 6:09, Jack Hodges wrote:
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.

--
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 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.


--
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 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.
# baseURI: http://example.org/testFunction
# imports: http://spinrdf.org/spl
# prefix: testFunction

@prefix arg:  .
@prefix owl:  .
@prefix rdf:  .
@prefix rdfs:  .
@prefix sp:  .
@prefix spin:  .
@prefix spl:  .
@prefix testFunction:  .
@prefix xsd:  .


  rdf:type owl:Ontology ;
  owl:imports  ;
  owl:versionInfo "Created with TopBraid Composer" ;
.
testFunction:fun
  rdf:type spin:Function ;
  spin:body [
  rdf:type sp:Select ;
  sp:resultVariables (
  [
sp:varName "result" ;
  ]
) ;
  sp:where (
  [
rdf:type sp:Bind ;
sp:expression 42 ;
sp:variable [
sp:varName "result" ;
  ] ;
  ]
) ;
] ;
  spin:returnType xsd:integer ;
  rdfs:label "fun" ;
  rdfs:subClassOf spin:Functions ;
.
# baseURI: http://example.org/testSPARQLConstraint
# imports: http://datashapes.org/dash
# prefix: testSPARQLConstraint

@prefix dash:  .
@prefix owl:  .
@prefix rdf:  .
@prefix rdfs:  .
@prefix sh:  .
@prefix testSPARQLConstraint:  .
@prefix xsd:  .


  rdf:type owl:Ontology ;
  owl:imports  ;
  owl:versionInfo "Created with TopBraid Composer" ;
.
testSPARQLConstraint:Thing_1
  rdf:type owl:Thing ;
  rdfs:label "Thing 1" ;
.
owl:Thing
  rdf:type sh:Shape ;
  sh:sparql [
  sh:message "Test message" ;
  sh:select """SELECT $this
WHERE {
FILTER (() > 40)
}""" ;
] ;
.