CodeFerret

PersonShape_JS_Results.ttl

May 29th, 2020
486
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.75 KB | None | 0 0
  1. @prefix bds: <http://purl.bdrc.io/ontology/shapes/core/> .
  2. @prefix bdr: <http://purl.bdrc.io/resource/> .
  3. @prefix sh: <http://www.w3.org/ns/shacl#> .
  4. @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
  5. @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
  6. @prefix skos: <http://www.w3.org/2004/02/skos/core#> .
  7. @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
  8. @prefix bdo: <http://purl.bdrc.io/ontology/core/> .
  9.  
  10. [ a sh:ValidationReport ;
  11. sh:conforms false ;
  12. sh:result [ a sh:ValidationResult ;
  13. sh:focusNode bdr:NMC2A097019ABA499F ;
  14. sh:resultMessage "focusNode must be subClassOf* bdo:PersonName" ;
  15. sh:resultSeverity sh:Violation ;
  16. sh:sourceConstraintComponent sh:SPARQLConstraintComponent ;
  17. sh:sourceShape bds:CheckPersonNameClass ;
  18. sh:value bdr:NMC2A097019ABA499F
  19. ] ;
  20. sh:result [ a sh:ValidationResult ;
  21. sh:focusNode bdr:P707 ;
  22. sh:resultMessage "PersonName is not well-formed, wrong Class or missing rdfs:label"@en ;
  23. sh:resultPath bdo:personName ;
  24. sh:resultSeverity sh:Violation ;
  25. sh:sourceConstraintComponent sh:ClassConstraintComponent ;
  26. sh:sourceShape bds:PersonShape-personName ;
  27. sh:value bdr:NMC2A097019ABA499F
  28. ] ;
  29. sh:result [ a sh:ValidationResult ;
  30. sh:focusNode bdr:P707 ;
  31. sh:resultMessage "PersonName is not well-formed, wrong Class or missing rdfs:label"@en ;
  32. sh:resultPath bdo:personName ;
  33. sh:resultSeverity sh:Violation ;
  34. sh:sourceConstraintComponent sh:NodeConstraintComponent ;
  35. sh:sourceShape bds:PersonShape-personName ;
  36. sh:value bdr:NM0895CB6787E8AC6E
  37. ] ;
  38. sh:result [ a sh:ValidationResult ;
  39. sh:focusNode bdr:NM0895CB6787E8AC6E ;
  40. sh:resultMessage ":PersonName must have exactly one rdfs:label"@en ;
  41. sh:resultPath rdfs:label ;
  42. sh:resultSeverity sh:Violation ;
  43. sh:sourceConstraintComponent sh:MinCountConstraintComponent ;
  44. sh:sourceShape bds:PersonNameShape-personNameLabel
  45. ]
  46. ] .
Add Comment
Please, Sign In to add comment