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 topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/4fef5751-ef91-4d18-a332-3b1b6214a6f1n%40googlegroups.com.

Reply via email to