Skip to content

Commit 987230f

Browse files
committed
Fix Turtle syntax error in SHACL shapes file
Fixed invalid Turtle syntax in prefix declarations: - Lines 5-7 were missing space before final period - This caused 'Error: Unexpected literal on line 2' when parsing Turtle syntax requires: @Prefix name: <URI> . (note the space before the period) This was preventing the SHACL form from rendering in the CDI previewer.
1 parent 952867b commit 987230f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

previewers/betatest/shapes/CDIF-Discovery-Core-Shapes.ttl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
@prefix schema: <http://schema.org/> .
33
@prefix cdifd: <https://cdif.org/validation/0.1/shacl#> .
44
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
5-
@prefix dcterms: <http://purl.org/dc/terms/>.
6-
@prefix time: <http://www.w3.org/2006/time#>.
7-
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
8-
@prefix spdx: <http://spdx.org/rdf/terms#>.
5+
@prefix dcterms: <http://purl.org/dc/terms/> .
6+
@prefix time: <http://www.w3.org/2006/time#> .
7+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
8+
@prefix spdx: <http://spdx.org/rdf/terms#> .
99

1010
cdifd:CDIFDatasetRecommendedShape a sh:NodeShape ;
1111
# only apply to elements that are child of root dataset

0 commit comments

Comments
 (0)