...
Code Block | ||
---|---|---|
| ||
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
INSERT {
GRAPH ?g {
?s dct:identifier "DEFAULT-IDENTIFIER"
}
} WHERE {
GRAPH ?g {
?s a foaf:Agent
FILTER NOT EXISTS { ?s dct:identifier ?id }
}
} |
If you do not have access to the underlying triplestore, the known workaround is to manually disable the sh:minCount
constraints on both the Agent
definitions; one in Dataset (https://github.com/Health-RI/health-ri-metadata/blob/v1.0.0/Formalisation(shacl)/Core/PiecesShape/Dataset.ttl#L144) and one in Catalog (https://github.com/Health-RI/health-ri-metadata/blob/v1.0.0/Formalisation(shacl)/Core/PiecesShape/Catalog.ttl#L76).
...