Skip to content

Commit 867fe53

Browse files
committed
fix(ro-crate): 🩹 refine file descriptor selector
1 parent 4b45368 commit 867fe53

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

rocrate_validator/profiles/ro-crate/must/1_file-descriptor_metadata.ttl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ ro-crate:FindROCrateMetadataFileDescriptorEntity a sh:NodeShape, validator:Hidde
3232
sh:select """
3333
SELECT ?this
3434
WHERE {
35-
?this a schema:CreativeWork ;
35+
?crate a schema:Dataset .
36+
?this schema:about ?crate .
3637
FILTER(contains(str(?this), "ro-crate-metadata.json"))
3738
}
3839
"""

0 commit comments

Comments
 (0)