# baseURI: http://datashapes.org/sh/tests/core/property/lessThan-002.test
# imports: http://datashapes.org/dash
# prefix: ex

@prefix dash: <http://datashapes.org/dash#> . 
@prefix ex: <http://datashapes.org/sh/tests/core/property/lessThan-002.test#> . 
@prefix owl: <http://www.w3.org/2002/07/owl#> . 
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 
@prefix sh: <http://www.w3.org/ns/shacl#> . 
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . 

<http://datashapes.org/sh/tests/core/property/lessThan-002.test>
  rdf:type owl:Ontology ;
  rdfs:label "Test of sh:lessThan at property shape 002" ;
  owl:imports <http://datashapes.org/dash> ;
  owl:versionInfo "Created with TopBraid Composer" ;
. 
ex:GraphValidationTestCase
  rdf:type dash:GraphValidationTestCase ;
  dash:expectedResult [
      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 ;
        ] ;
    ] ;
. 
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 ;
.