prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
prefix sh: <http://www.w3.org/ns/shacl#>
prefix : <http://example.org/>
prefix xsd: <http://www.w3.org/2001/XMLSchema#>

:LessThan a sh:NodeShape ;
  sh:targetClass :Node ;
  sh:property :start_end .

:start_end a sh:PropertyShape ;
    sh:path :startDate ;
    sh:lessThan :endDate .

:ok1 a :Node; :startDate "2025-04-01"^^xsd:date; :endDate "2025-05-02"^^xsd:date .
:ko1 a :Node;
     :startDate "2025-02-01"^^xsd:date;
     :endDate "2019-05-02"^^xsd:date .
:ko2 a :Node ;
     :startDate 3, 4 ;
     :endDate 1, 2 .
