Skip to content

fix pyest

fix pyest #36

GitHub Actions / JUnit Test Report failed Dec 1, 2023 in 0s

11 tests run, 10 passed, 0 skipped, 1 failed.

Annotations

Check failure on line 58 in .mypy_cache/3.11/tests/test_pyshacl.data.json

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

test_pyshacl.test_workflow_execution

pyshacl.errors.ReportableRuntimeError: SHACL File does not validate against the SHACL Shapes SHACL (MetaSHACL) file.
Validation Report
Conforms: False
Results (12):
Constraint Violation in OrConstraintComponent (http://www.w3.org/ns/shacl#OrConstraintComponent):
	Severity: sh:Violation
	Source Shape: [ sh:maxCount Literal("1", datatype=xsd:integer) ; sh:minCount Literal("1", datatype=xsd:integer) ; sh:or ( shsh:PathShape [ sh:nodeKind sh:IRI ] ) ; sh:path sh:path ]
	Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:datatype xsd:string ; sh:path ( sh:languageIn [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
	Value Node: ( sh:languageIn [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first )
	Result Path: sh:path
	Message: Node ( sh:languageIn [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) does not conform to one or more shapes in shsh:PathShape , [ sh:nodeKind sh:IRI ]
Constraint Violation in OrConstraintComponent (http://www.w3.org/ns/shacl#OrConstraintComponent):
	Severity: sh:Violation
	Source Shape: [ sh:maxCount Literal("1", datatype=xsd:integer) ; sh:minCount Literal("1", datatype=xsd:integer) ; sh:or ( shsh:PathShape [ sh:nodeKind sh:IRI ] ) ; sh:path sh:path ]
	Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:minCount Literal("2", datatype=xsd:integer) ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:oneOrMorePath rdf:rest ] ]
	Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:oneOrMorePath rdf:rest ]
	Result Path: sh:path
	Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:oneOrMorePath rdf:rest ] does not conform to one or more shapes in shsh:PathShape , [ sh:nodeKind sh:IRI ]
Constraint Violation in OrConstraintComponent (http://www.w3.org/ns/shacl#OrConstraintComponent):
	Severity: sh:Violation
	Source Shape: [ sh:maxCount Literal("1", datatype=xsd:integer) ; sh:minCount Literal("1", datatype=xsd:integer) ; sh:or ( shsh:PathShape [ sh:nodeKind sh:IRI ] ) ; sh:path sh:path ]
	Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:node <http://www.w3.org/ns/shacl-shacl#PathNodeShape> ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:alternativePath ( ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ( sh:alternativePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) sh:inversePath sh:zeroOrMorePath sh:oneOrMorePath sh:zeroOrOnePath ) ] ] ]
	Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:alternativePath ( ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ( sh:alternativePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) sh:inversePath sh:zeroOrMorePath sh:oneOrMorePath sh:zeroOrOnePath ) ] ]
	Result Path: sh:path
	Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:alternativePath ( ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ( sh:alternativePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) sh:inversePath sh:zeroOrMorePath sh:oneOrMorePath sh:zeroOrOnePath ) ] ] does not conform to one or more shapes in shsh:PathShape , [ sh:nodeKind sh:IRI ]
Constraint Violation in OrConstraintComponent (http://www.w3.org/ns/shacl#OrConstraintComponent):
	Severity: sh:Violation
	Source Shape: [ sh:maxCount Literal("1", datatype=xsd:integer) ; sh:minCount Literal("1", datatype=xsd:integer) ; sh:or ( shsh:PathShape [ sh:nodeKind sh:IRI ] ) ; sh:path sh:path ]
	Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:node <http://www.w3.org/ns/shacl-shacl#ShapeShape> ; sh:path ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
	Value Node: ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first )
	Result Path: sh:path
	Message: Node ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) does not conform to one or more shapes in shsh:PathShape , [ sh:nodeKind sh:IRI ]
Constraint Violation in OrConstraintComponent (http://www.w3.org/ns/shacl#OrConstraintComponent):
	Severity: sh:Violation
	Source Shape: [ sh:maxCount Literal("1", datatype=xsd:integer) ; sh:minCount Literal("1", datatype=xsd:integer) ; sh:or ( shsh:PathShape [ sh:nodeKind sh:IRI ] ) ; sh:path sh:path ]
	Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:nodeKind sh:IRI ; sh:path ( sh:ignoredProperties [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
	Value Node: ( sh:ignoredProperties [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first )
	Result Path: sh:path
	Message: Node ( sh:ignoredProperties [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) does not conform to one or more shapes in shsh:PathShape , [ sh:nodeKind sh:IRI ]
Constraint Violation in OrConstraintComponent (http://www.w3.org/ns/shacl#OrConstraintComponent):
	Severity: sh:Violation
	Source Shape: [ sh:maxCount Literal("1", datatype=xsd:integer) ; sh:minCount Literal("1", datatype=xsd:integer) ; sh:or ( shsh:PathShape [ sh:nodeKind sh:IRI ] ) ; sh:path sh:path ]
	Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; rdfs:comment Literal("Each list member (including this node) must be have the shape shsh:ListNodeShape.", lang=en) ; sh:hasValue rdf:nil ; sh:node <http://www.w3.org/ns/shacl-shacl#ListNodeShape> ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] ]
	Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ]
	Result Path: sh:path
	Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] does not conform to one or more shapes in shsh:PathShape , [ sh:nodeKind sh:IRI ]
Constraint Violation in XoneConstraintComponent (http://www.w3.org/ns/shacl#XoneConstraintComponent):
	Severity: sh:Violation
	Source Shape: shsh:ShapeShape
	Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:datatype xsd:string ; sh:path ( sh:languageIn [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
	Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:datatype xsd:string ; sh:path ( sh:languageIn [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
	Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:datatype xsd:string ; sh:path ( sh:languageIn [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ] does not conform to exactly one shape in shsh:NodeShapeShape , shsh:PropertyShapeShape
Constraint Violation in XoneConstraintComponent (http://www.w3.org/ns/shacl#XoneConstraintComponent):
	Severity: sh:Violation
	Source Shape: shsh:ShapeShape
	Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:nodeKind sh:IRI ; sh:path ( sh:ignoredProperties [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
	Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:nodeKind sh:IRI ; sh:path ( sh:ignoredProperties [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
	Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:nodeKind sh:IRI ; sh:path ( sh:ignoredProperties [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ] does not conform to exactly one shape in shsh:NodeShapeShape , shsh:PropertyShapeShape
Constraint Violation in XoneConstraintComponent (http://www.w3.org/ns/shacl#XoneConstraintComponent):
	Severity: sh:Violation
	Source Shape: shsh:ShapeShape
	Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; rdfs:comment Literal("Each list member (including this node) must be have the shape shsh:ListNodeShape.", lang=en) ; sh:hasValue rdf:nil ; sh:node <http://www.w3.org/ns/shacl-shacl#ListNodeShape> ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] ]
	Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; rdfs:comment Literal("Each list member (including this node) must be have the shape shsh:ListNodeShape.", lang=en) ; sh:hasValue rdf:nil ; sh:node <http://www.w3.org/ns/shacl-shacl#ListNodeShape> ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] ]
	Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; rdfs:comment Literal("Each list member (including this node) must be have the shape shsh:ListNodeShape.", lang=en) ; sh:hasValue rdf:nil ; sh:node <http://www.w3.org/ns/shacl-shacl#ListNodeShape> ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] ] does not conform to exactly one shape in shsh:NodeShapeShape , shsh:PropertyShapeShape
Constraint Violation in XoneConstraintComponent (http://www.w3.org/ns/shacl#XoneConstraintComponent):
	Severity: sh:Violation
	Source Shape: shsh:ShapeShape
	Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:minCount Literal("2", datatype=xsd:integer) ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:oneOrMorePath rdf:rest ] ]
	Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:minCount Literal("2", datatype=xsd:integer) ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:oneOrMorePath rdf:rest ] ]
	Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:minCount Literal("2", datatype=xsd:integer) ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:oneOrMorePath rdf:rest ] ] does not conform to exactly one shape in shsh:NodeShapeShape , shsh:PropertyShapeShape
Constraint Violation in XoneConstraintComponent (http://www.w3.org/ns/shacl#XoneConstraintComponent):
	Severity: sh:Violation
	Source Shape: shsh:ShapeShape
	Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:node <http://www.w3.org/ns/shacl-shacl#PathNodeShape> ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:alternativePath ( ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ( sh:alternativePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) sh:inversePath sh:zeroOrMorePath sh:oneOrMorePath sh:zeroOrOnePath ) ] ] ]
	Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:node <http://www.w3.org/ns/shacl-shacl#PathNodeShape> ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:alternativePath ( ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ( sh:alternativePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) sh:inversePath sh:zeroOrMorePath sh:oneOrMorePath sh:zeroOrOnePath ) ] ] ]
	Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:node <http://www.w3.org/ns/shacl-shacl#PathNodeShape> ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:alternativePath ( ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ( sh:alternativePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) sh:inversePath sh:zeroOrMorePath sh:oneOrMorePath sh:zeroOrOnePath ) ] ] ] does not conform to exactly one shape in shsh:NodeShapeShape , shsh:PropertyShapeShape
Constraint Violation in XoneConstraintComponent (http://www.w3.org/ns/shacl#XoneConstraintComponent):
	Severity: sh:Violation
	Source Shape: shsh:ShapeShape
	Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:node <http://www.w3.org/ns/shacl-shacl#ShapeShape> ; sh:path ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
	Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:node <http://www.w3.org/ns/shacl-shacl#ShapeShape> ; sh:path ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
	Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:node <http://www.w3.org/ns/shacl-shacl#ShapeShape> ; sh:path ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ] does not conform to exactly one shape in shsh:NodeShapeShape , shsh:PropertyShapeShape
Raw output
def test_workflow_execution():
        """Test plugin execution"""
        shacl_graph_uri = f"https://example.org/pyshacl-plugin-test/{uuid4()}"
        validation_graph_uri = f"https://example.org/pyshacl-plugin-test/{uuid4()}"
        post_shacl_shacl(shacl_graph_uri)
        plugin = ShaclValidation(
            data_graph_uri="https://vocab.eccenca.com/shacl/",
            shacl_graph_uri=shacl_graph_uri,
            validation_graph_uri=validation_graph_uri,
            ontology_graph_uri="",
            generate_graph=True,
            output_entities=True,
            clear_validation_graph=True,
            owl_imports=True,
            skolemize=True,
            add_labels=True,
            include_graphs_labels=True,
            add_shui_conforms=True,
            meta_shacl=True,
            inference="both",
            advanced=True,
            remove_dataset_graph_type=True,
            remove_thesaurus_graph_type=True,
            remove_shape_catalog_graph_type=True,
        )
>       plugin.execute(inputs=(), context=TestExecutionContext())

tests/test_pyshacl.py:58: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
cmem_plugin_pyshacl/plugin_pyshacl.py:732: in execute
    _conforms, validation_graph, _results_text = validate(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

data_graph = <Graph identifier=N9c08620bc00c42bf97d379e19ebeb99a (<class 'rdflib.graph.Graph'>)>
shacl_graph = <Graph identifier=Nc860b351d1ea4b38b12bda3cc54904be (<class 'rdflib.graph.Graph'>)>
ont_graph = None, advanced = True, inference = 'both', inplace = True
abort_on_first = False, allow_infos = False, allow_warnings = False, args = ()
kwargs = {'meta_shacl': True}, do_debug = False, do_check_dash_result = False

    def validate(
        data_graph: Union[GraphLike, str, bytes],
        *args,
        shacl_graph: Optional[Union[GraphLike, str, bytes]] = None,
        ont_graph: Optional[Union[GraphLike, str, bytes]] = None,
        advanced: Optional[bool] = False,
        inference: Optional[str] = None,
        inplace: Optional[bool] = False,
        abort_on_first: Optional[bool] = False,
        allow_infos: Optional[bool] = False,
        allow_warnings: Optional[bool] = False,
        **kwargs,
    ):
        """
        :param data_graph: rdflib.Graph or file path or web url of the data to validate
        :type data_graph: rdflib.Graph | str | bytes
        :param args:
        :type args: list
        :param shacl_graph: rdflib.Graph or file path or web url of the SHACL Shapes graph to use to
        validate the data graph
        :type shacl_graph: rdflib.Graph | str | bytes
        :param ont_graph: rdflib.Graph or file path or web url of an extra ontology document to mix into the data graph
        :type ont_graph: rdflib.Graph | str | bytes
        :param advanced: Enable advanced SHACL features, default=False
        :type advanced: bool | None
        :param inference: One of "rdfs", "owlrl", "both", "none", or None
        :type inference: str | None
        :param inplace: If this is enabled, do not clone the datagraph, manipulate it inplace
        :type inplace: bool
        :param abort_on_first: Stop evaluating constraints after first violation is found
        :type abort_on_first: bool | None
        :param allow_infos: Shapes marked with severity of sh:Info will not cause result to be invalid.
        :type allow_infos: bool | None
        :param allow_warnings: Shapes marked with severity of sh:Warning or sh:Info will not cause result to be invalid.
        :type allow_warnings: bool | None
        :param kwargs:
        :return:
        """
    
        do_debug = kwargs.get('debug', False)
        if do_debug:
            log_handler.setLevel(logging.DEBUG)
            log.setLevel(logging.DEBUG)
        apply_patches()
        assign_baked_in()
        do_check_dash_result = kwargs.pop('check_dash_result', False)  # type: bool
        do_check_sht_result = kwargs.pop('check_sht_result', False)  # type: bool
        if kwargs.get('meta_shacl', False):
            to_meta_val = shacl_graph or data_graph
            conforms, v_r, v_t = meta_validate(to_meta_val, inference=inference, **kwargs)
            if not conforms:
                msg = f"SHACL File does not validate against the SHACL Shapes SHACL (MetaSHACL) file.\n{v_t}"
                log.error(msg)
>               raise ReportableRuntimeError(msg)
E               pyshacl.errors.ReportableRuntimeError: SHACL File does not validate against the SHACL Shapes SHACL (MetaSHACL) file.
E               Validation Report
E               Conforms: False
E               Results (12):
E               Constraint Violation in OrConstraintComponent (http://www.w3.org/ns/shacl#OrConstraintComponent):
E               	Severity: sh:Violation
E               	Source Shape: [ sh:maxCount Literal("1", datatype=xsd:integer) ; sh:minCount Literal("1", datatype=xsd:integer) ; sh:or ( shsh:PathShape [ sh:nodeKind sh:IRI ] ) ; sh:path sh:path ]
E               	Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:datatype xsd:string ; sh:path ( sh:languageIn [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
E               	Value Node: ( sh:languageIn [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first )
E               	Result Path: sh:path
E               	Message: Node ( sh:languageIn [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) does not conform to one or more shapes in shsh:PathShape , [ sh:nodeKind sh:IRI ]
E               Constraint Violation in OrConstraintComponent (http://www.w3.org/ns/shacl#OrConstraintComponent):
E               	Severity: sh:Violation
E               	Source Shape: [ sh:maxCount Literal("1", datatype=xsd:integer) ; sh:minCount Literal("1", datatype=xsd:integer) ; sh:or ( shsh:PathShape [ sh:nodeKind sh:IRI ] ) ; sh:path sh:path ]
E               	Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:minCount Literal("2", datatype=xsd:integer) ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:oneOrMorePath rdf:rest ] ]
E               	Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:oneOrMorePath rdf:rest ]
E               	Result Path: sh:path
E               	Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:oneOrMorePath rdf:rest ] does not conform to one or more shapes in shsh:PathShape , [ sh:nodeKind sh:IRI ]
E               Constraint Violation in OrConstraintComponent (http://www.w3.org/ns/shacl#OrConstraintComponent):
E               	Severity: sh:Violation
E               	Source Shape: [ sh:maxCount Literal("1", datatype=xsd:integer) ; sh:minCount Literal("1", datatype=xsd:integer) ; sh:or ( shsh:PathShape [ sh:nodeKind sh:IRI ] ) ; sh:path sh:path ]
E               	Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:node <http://www.w3.org/ns/shacl-shacl#PathNodeShape> ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:alternativePath ( ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ( sh:alternativePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) sh:inversePath sh:zeroOrMorePath sh:oneOrMorePath sh:zeroOrOnePath ) ] ] ]
E               	Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:alternativePath ( ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ( sh:alternativePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) sh:inversePath sh:zeroOrMorePath sh:oneOrMorePath sh:zeroOrOnePath ) ] ]
E               	Result Path: sh:path
E               	Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:alternativePath ( ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ( sh:alternativePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) sh:inversePath sh:zeroOrMorePath sh:oneOrMorePath sh:zeroOrOnePath ) ] ] does not conform to one or more shapes in shsh:PathShape , [ sh:nodeKind sh:IRI ]
E               Constraint Violation in OrConstraintComponent (http://www.w3.org/ns/shacl#OrConstraintComponent):
E               	Severity: sh:Violation
E               	Source Shape: [ sh:maxCount Literal("1", datatype=xsd:integer) ; sh:minCount Literal("1", datatype=xsd:integer) ; sh:or ( shsh:PathShape [ sh:nodeKind sh:IRI ] ) ; sh:path sh:path ]
E               	Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:node <http://www.w3.org/ns/shacl-shacl#ShapeShape> ; sh:path ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
E               	Value Node: ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first )
E               	Result Path: sh:path
E               	Message: Node ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) does not conform to one or more shapes in shsh:PathShape , [ sh:nodeKind sh:IRI ]
E               Constraint Violation in OrConstraintComponent (http://www.w3.org/ns/shacl#OrConstraintComponent):
E               	Severity: sh:Violation
E               	Source Shape: [ sh:maxCount Literal("1", datatype=xsd:integer) ; sh:minCount Literal("1", datatype=xsd:integer) ; sh:or ( shsh:PathShape [ sh:nodeKind sh:IRI ] ) ; sh:path sh:path ]
E               	Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:nodeKind sh:IRI ; sh:path ( sh:ignoredProperties [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
E               	Value Node: ( sh:ignoredProperties [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first )
E               	Result Path: sh:path
E               	Message: Node ( sh:ignoredProperties [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) does not conform to one or more shapes in shsh:PathShape , [ sh:nodeKind sh:IRI ]
E               Constraint Violation in OrConstraintComponent (http://www.w3.org/ns/shacl#OrConstraintComponent):
E               	Severity: sh:Violation
E               	Source Shape: [ sh:maxCount Literal("1", datatype=xsd:integer) ; sh:minCount Literal("1", datatype=xsd:integer) ; sh:or ( shsh:PathShape [ sh:nodeKind sh:IRI ] ) ; sh:path sh:path ]
E               	Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; rdfs:comment Literal("Each list member (including this node) must be have the shape shsh:ListNodeShape.", lang=en) ; sh:hasValue rdf:nil ; sh:node <http://www.w3.org/ns/shacl-shacl#ListNodeShape> ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] ]
E               	Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ]
E               	Result Path: sh:path
E               	Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] does not conform to one or more shapes in shsh:PathShape , [ sh:nodeKind sh:IRI ]
E               Constraint Violation in XoneConstraintComponent (http://www.w3.org/ns/shacl#XoneConstraintComponent):
E               	Severity: sh:Violation
E               	Source Shape: shsh:ShapeShape
E               	Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:datatype xsd:string ; sh:path ( sh:languageIn [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
E               	Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:datatype xsd:string ; sh:path ( sh:languageIn [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
E               	Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:datatype xsd:string ; sh:path ( sh:languageIn [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ] does not conform to exactly one shape in shsh:NodeShapeShape , shsh:PropertyShapeShape
E               Constraint Violation in XoneConstraintComponent (http://www.w3.org/ns/shacl#XoneConstraintComponent):
E               	Severity: sh:Violation
E               	Source Shape: shsh:ShapeShape
E               	Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:nodeKind sh:IRI ; sh:path ( sh:ignoredProperties [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
E               	Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:nodeKind sh:IRI ; sh:path ( sh:ignoredProperties [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
E               	Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:nodeKind sh:IRI ; sh:path ( sh:ignoredProperties [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ] does not conform to exactly one shape in shsh:NodeShapeShape , shsh:PropertyShapeShape
E               Constraint Violation in XoneConstraintComponent (http://www.w3.org/ns/shacl#XoneConstraintComponent):
E               	Severity: sh:Violation
E               	Source Shape: shsh:ShapeShape
E               	Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; rdfs:comment Literal("Each list member (including this node) must be have the shape shsh:ListNodeShape.", lang=en) ; sh:hasValue rdf:nil ; sh:node <http://www.w3.org/ns/shacl-shacl#ListNodeShape> ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] ]
E               	Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; rdfs:comment Literal("Each list member (including this node) must be have the shape shsh:ListNodeShape.", lang=en) ; sh:hasValue rdf:nil ; sh:node <http://www.w3.org/ns/shacl-shacl#ListNodeShape> ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] ]
E               	Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; rdfs:comment Literal("Each list member (including this node) must be have the shape shsh:ListNodeShape.", lang=en) ; sh:hasValue rdf:nil ; sh:node <http://www.w3.org/ns/shacl-shacl#ListNodeShape> ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] ] does not conform to exactly one shape in shsh:NodeShapeShape , shsh:PropertyShapeShape
E               Constraint Violation in XoneConstraintComponent (http://www.w3.org/ns/shacl#XoneConstraintComponent):
E               	Severity: sh:Violation
E               	Source Shape: shsh:ShapeShape
E               	Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:minCount Literal("2", datatype=xsd:integer) ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:oneOrMorePath rdf:rest ] ]
E               	Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:minCount Literal("2", datatype=xsd:integer) ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:oneOrMorePath rdf:rest ] ]
E               	Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:minCount Literal("2", datatype=xsd:integer) ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:oneOrMorePath rdf:rest ] ] does not conform to exactly one shape in shsh:NodeShapeShape , shsh:PropertyShapeShape
E               Constraint Violation in XoneConstraintComponent (http://www.w3.org/ns/shacl#XoneConstraintComponent):
E               	Severity: sh:Violation
E               	Source Shape: shsh:ShapeShape
E               	Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:node <http://www.w3.org/ns/shacl-shacl#PathNodeShape> ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:alternativePath ( ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ( sh:alternativePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) sh:inversePath sh:zeroOrMorePath sh:oneOrMorePath sh:zeroOrOnePath ) ] ] ]
E               	Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:node <http://www.w3.org/ns/shacl-shacl#PathNodeShape> ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:alternativePath ( ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ( sh:alternativePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) sh:inversePath sh:zeroOrMorePath sh:oneOrMorePath sh:zeroOrOnePath ) ] ] ]
E               	Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:node <http://www.w3.org/ns/shacl-shacl#PathNodeShape> ; sh:path [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:alternativePath ( ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ( sh:alternativePath [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) sh:inversePath sh:zeroOrMorePath sh:oneOrMorePath sh:zeroOrOnePath ) ] ] ] does not conform to exactly one shape in shsh:NodeShapeShape , shsh:PropertyShapeShape
E               Constraint Violation in XoneConstraintComponent (http://www.w3.org/ns/shacl#XoneConstraintComponent):
E               	Severity: sh:Violation
E               	Source Shape: shsh:ShapeShape
E               	Focus Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:node <http://www.w3.org/ns/shacl-shacl#ShapeShape> ; sh:path ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
E               	Value Node: [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:node <http://www.w3.org/ns/shacl-shacl#ShapeShape> ; sh:path ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ]
E               	Message: Node [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:node <http://www.w3.org/ns/shacl-shacl#ShapeShape> ; sh:path ( [ owl:sameAs <self> ; rdf:type owl:Thing, rdfs:Resource ; sh:zeroOrMorePath rdf:rest ] rdf:first ) ] does not conform to exactly one shape in shsh:NodeShapeShape , shsh:PropertyShapeShape

.venv/lib/python3.11/site-packages/pyshacl/validate.py:424: ReportableRuntimeError