@prefix ex: <http://example.com/ns#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

[] a sh:ValidationReport;
  sh:conforms false;
  <http://rdf4j.org/schema/rdf4j#truncated> false;
  sh:result [ a sh:ValidationResult;
      sh:focusNode ex:validPerson2;
      sh:value ex:validPerson2;
      sh:sourceConstraintComponent sh:NotConstraintComponent;
      sh:resultSeverity sh:Violation;
      sh:sourceShape ex:PersonShape
    ] .

ex:PersonShape a sh:NodeShape;
  sh:targetClass ex:Person, ex:SecondTarget;
  sh:not [ a sh:NodeShape;
      sh:class ex:SecondTarget
    ] .
