| sh:sparql | rdf:type sh:SPARQLConstraint;
sh:message "An ArtifactManifestation and its LocatedFile MUST NOT declare different content digests for the same method.";
sh:select "PREFIX sflo: <https://semantic-flow.github.io/sflo/ontology/>\nSELECT $this WHERE {\n $this sflo:hasContentDigest ?manifestationDigest ;\n sflo:locatedFileForManifestation ?file .\n ?file sflo:hasContentDigest ?fileDigest .\n FILTER(STRBEFORE(STR(?manifestationDigest), ':') = STRBEFORE(STR(?fileDigest), ':'))\n FILTER(STR(?manifestationDigest) != STR(?fileDigest))\n}";
sh:severity sh:Violation.
|