I am trying the sh:values feature
https://www.topquadrant.com/graphql/values.html
with the shacl api
https://github.com/TopQuadrant/shacl
using the example attached. 

Doing an inference, I get the triples generated as expected:

<http://example.com/instancedata/JohnKennedy> <http://schema.org/children>  
<http://example.com/instancedata/CarolineKennedy> , 
<http://example.com/instancedata/PatrickBKennedy> , 
<http://example.com/instancedata/JohnKennedyJr> . 

Trying validation, I get an error message for JohnKennedy:
 sh:result    [ a                             sh:ValidationResult ;
                 sh:focusNode                  kennedys:JohnKennedy ;
                 sh:resultMessage              "Property needs to have at 
least 3 values, but found 0" ;
                 sh:resultPath                 schema:children ;
                 sh:resultSeverity             sh:Violation ;
                 sh:sourceConstraintComponent  
sh:MinCountConstraintComponent ;
                 sh:sourceShape                _:b0               ] ;


I would have expected that the validation takes the triples into account 
that have been generated via sh:values. Is this wrong, or is there an issue 
with my SHACL example?

Best

Felix

-- 
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/13168e8c-035f-4098-b572-3faa651a8a04n%40googlegroups.com.

Attachment: sh-values-input-data.ttl
Description: Binary data

Reply via email to