All Downloads are FREE. Search and download functionalities are using the official Maven repository.

data-shapes-test-suite.tests.core.node.minLength-001.ttl Maven / Gradle / Ivy

The newest version!
@prefix dash:  .
@prefix ex:  .
@prefix mf:  .
@prefix owl:  .
@prefix rdf:  .
@prefix rdfs:  .
@prefix sh:  .
@prefix sht:  .
@prefix xsd:  .

ex:TestShape
  rdf:type sh:NodeShape ;
  sh:minLength 4 ;
  sh:targetClass ex:TestClass ;
  sh:targetNode  ;
  sh:targetNode ex:John ;
  sh:targetNode 123 ;
  sh:targetNode 1234 ;
  sh:targetNode 12345 ;
  sh:targetNode "2017-03-29"^^xsd:date ;
  sh:targetNode "Hel" ;
  sh:targetNode "Hell" ;
  sh:targetNode "Hell"@en ;
  sh:targetNode "Hello" ;
.
<>
  rdf:type mf:Manifest ;
  mf:entries (
      
    ) ;
.

  rdf:type sht:Validate ;
  rdfs:label "Test of sh:minLength at node shape 001" ;
  mf:action [
      sht:dataGraph <> ;
      sht:shapesGraph <> ;
    ] ;
  mf:result [
      rdf:type sh:ValidationReport ;
      sh:conforms "false"^^xsd:boolean ;
      sh:result [
          rdf:type sh:ValidationResult ;
          sh:focusNode  ;
          sh:resultSeverity sh:Violation ;
          sh:sourceConstraintComponent sh:MinLengthConstraintComponent ;
          sh:sourceShape ex:TestShape ;
          sh:value  ;
        ] ;
      sh:result [
          rdf:type sh:ValidationResult ;
          sh:focusNode 123 ;
          sh:resultSeverity sh:Violation ;
          sh:sourceConstraintComponent sh:MinLengthConstraintComponent ;
          sh:sourceShape ex:TestShape ;
          sh:value 123 ;
        ] ;
      sh:result [
          rdf:type sh:ValidationResult ;
          sh:focusNode "Hel" ;
          sh:resultSeverity sh:Violation ;
          sh:sourceConstraintComponent sh:MinLengthConstraintComponent ;
          sh:sourceShape ex:TestShape ;
          sh:value "Hel" ;
        ] ;
      sh:result [
          rdf:type sh:ValidationResult ;
          sh:focusNode _:b19019 ;
          sh:resultSeverity sh:Violation ;
          sh:sourceConstraintComponent sh:MinLengthConstraintComponent ;
          sh:sourceShape ex:TestShape ;
          sh:value _:b19019 ;
        ] ;
    ] ;
  mf:status sht:approved ;
.
_:b19019
  rdf:type ex:TestClass ;
.




© 2015 - 2025 Weber Informatics LLC | Privacy Policy