To speed up finding the cause of this, would you mind sending the
complete file, or at least a minimal snippet that allows me to run this
locally? I see nothing obviously wrong, but the devil may be in the details.
Holger
On 2021-01-22 4:09 am, Christophe Debruyne wrote:
Dear all,
I tried looking at previous messages for clues but to no avail.
I was wondering whether I am forgetting something in order to support
SHACL-AF.
The following shape works with pyShacl.
<#USPHONESHAPE>
a sh:NodeShape ;
sh:target [
a sh:SPARQLTarget ;
sh:prefixes <#PREFIXESFORSPARQL> ;
sh:select """
SELECT ?this WHERE {
?this a vcard:Individual .
?this vcard:hasAddress ?address .
?address vcard:country-name "USA" .
}
""" ;
] ;
sh:property [
sh:path ( vcard:hasTelephone rdf:value ) ;
sh:pattern "^\\(\\d{3}\\)\\s\\d{3}-\\d{4}$" ;
] ;
.
Topbraid's shaclvalidate.bat doesn't pick up on that shape, however. I
am using the following command:
shaclvalidate.bat -datafile .\output.ttl -shapesfile .\output.ttl
I understood that shacl-af was supported and threads in the group do
allude to sh:SPARQLTarget and sh:select being used. Am I missing
something?
With my best regards,
Christophe Debruyne
--
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]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/topbraid-users/4fef5751-ef91-4d18-a332-3b1b6214a6f1n%40googlegroups.com
<https://groups.google.com/d/msgid/topbraid-users/4fef5751-ef91-4d18-a332-3b1b6214a6f1n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/topbraid-users/60cd749d-ef72-f7b4-02f8-9b61fb4f8713%40topquadrant.com.