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

data-shapes-test-suite.tests.core.property.qualifiedValueShape-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:APGARObservationShape
  rdf:type sh:NodeShape ;
  sh:property ex:APGARObservationShape-related ;
  sh:targetNode ex:Observation1 ;
.
ex:APGARObservationShape-related
  sh:path ex:related ;
  sh:qualifiedMaxCount 3 ;
  sh:qualifiedMinCount 3 ;
  sh:qualifiedValueShape [
      sh:property [
          sh:path ex:related_target ;
          sh:node [
              sh:property [
                  sh:path ex:reference ;
                  sh:hasValue ex:something ;
                ] ;
            ] ;
        ] ;
    ] ;
.
ex:Observation1
  rdf:type ex:Observation ;
  ex:related [
      ex:related_target [
          ex:reference ex:something ;
        ] ;
      ex:related_type "has-component"^^ex:code ;
    ] ;
  ex:related [
      ex:related_target [
          ex:reference ex:something ;
        ] ;
      ex:related_type "has-component"^^ex:code ;
    ] ;
  ex:related [
      ex:related_target [
          ex:reference ex:unrelated ;
        ] ;
      ex:related_type "has-component"^^ex:code ;
    ] ;
  sh:nodeShape ex:APGARObservationShape ;
.
<>
  rdf:type mf:Manifest ;
  mf:entries (
      
    ) ;
.

  rdf:type sht:Validate ;
  rdfs:label "Test of sh:qualifiedValueShape at property 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 ex:Observation1 ;
          sh:resultPath ex:related ;
          sh:resultSeverity sh:Violation ;
          sh:sourceConstraintComponent sh:QualifiedMinCountConstraintComponent ;
          sh:sourceShape ex:APGARObservationShape-related ;
        ] ;
    ] ;
  mf:status sht:approved ;
.




© 2015 - 2025 Weber Informatics LLC | Privacy Policy