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

data-shapes-test-suite.tests.core.property.lessThan-002.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:InvalidInstance1
  ex:first 1 ;
  ex:first 2 ;
  ex:second "a" ;
  ex:second "b" ;
.
ex:TestShape
  rdf:type sh:NodeShape ;
  rdfs:label "Test shape" ;
  sh:property ex:TestShape-first ;
  sh:targetNode ex:InvalidInstance1 ;
.
ex:TestShape-first
  sh:path ex:first ;
  sh:lessThan ex:second ;
.
<>
  rdf:type mf:Manifest ;
  mf:entries (
      
    ) ;
.

  rdf:type sht:Validate ;
  rdfs:label "Test of sh:lessThan at property shape 002" ;
  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 ex:InvalidInstance1 ;
          sh:resultPath ex:first ;
          sh:resultSeverity sh:Violation ;
          sh:sourceConstraintComponent sh:LessThanConstraintComponent ;
          sh:sourceShape ex:TestShape-first ;
          sh:value 1 ;
        ] ;
      sh:result [
          rdf:type sh:ValidationResult ;
          sh:focusNode ex:InvalidInstance1 ;
          sh:resultPath ex:first ;
          sh:resultSeverity sh:Violation ;
          sh:sourceConstraintComponent sh:LessThanConstraintComponent ;
          sh:sourceShape ex:TestShape-first ;
          sh:value 1 ;
        ] ;
      sh:result [
          rdf:type sh:ValidationResult ;
          sh:focusNode ex:InvalidInstance1 ;
          sh:resultPath ex:first ;
          sh:resultSeverity sh:Violation ;
          sh:sourceConstraintComponent sh:LessThanConstraintComponent ;
          sh:sourceShape ex:TestShape-first ;
          sh:value 2 ;
        ] ;
      sh:result [
          rdf:type sh:ValidationResult ;
          sh:focusNode ex:InvalidInstance1 ;
          sh:resultPath ex:first ;
          sh:resultSeverity sh:Violation ;
          sh:sourceConstraintComponent sh:LessThanConstraintComponent ;
          sh:sourceShape ex:TestShape-first ;
          sh:value 2 ;
        ] ;
    ] ;
  mf:status sht:approved ;
.




© 2015 - 2024 Weber Informatics LLC | Privacy Policy