Thanks, Holger. Yes, that's really helpful to have that confirmation.
On Wednesday, November 9, 2016 at 11:06:37 PM UTC, Holger Knublauch wrote: > > Hi Tony, > > see http://w3c.github.io/data-shapes/shacl/ > > Each value of sh:property must be an IRI > <http://w3c.github.io/data-shapes/shacl/#dfn-iri> or a blank node > <http://w3c.github.io/data-shapes/shacl/#dfn-blank-node> that is the > subject <http://w3c.github.io/data-shapes/shacl/#dfn-subject> of > precisely one triple > <http://w3c.github.io/data-shapes/shacl/#dfn-rdf-triple> with either > predicate <http://w3c.github.io/data-shapes/shacl/#dfn-predicate> > sh:predicate or sh:path. > > In other words, you need individual sh:property nodes for each predicate. > TopBraid API would pick a "random" one of these if you have multiple, but > it's in fact an invalid shapes graph. > > HTH > Holger > > > On 10/11/2016 0:48, Tony Hammond wrote: > > Hi: > > We just encountered a problem with object lists in using the SHACL API. > (We're actually using our own fork but this is only in order to add a > helper method to make launching easier for us.) > > We had been using constraint patterns with sh:predicate using object lists > as follows: > > sh:property [ > > sh:predicate skos:historyNote , skos:note ; > > sh:datatype rdf:langString ; > > ] ; > > > but it seems that only the last value in the comma-separated list is > processed. > > > Is that the expected behaviour? Does that mean we need t reframe the > constraints to operate on one property at a time, e.g. > > > sh:property [ > > sh:predicate skos:historyNote ; > > sh:datatype rdf:langString ; > > ] ; > > sh:property [ > > sh:predicate skos:note ; > > sh:datatype rdf:langString ; > > ] ; > > Thanks for any help, > > Tony > > -- > 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] > <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 [email protected] <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 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.
