From 8012a3cf9387bff8f273328cca6734dc207b8d47 Mon Sep 17 00:00:00 2001 From: Tomasz Pluskiewicz Date: Thu, 7 Dec 2023 12:35:30 +0100 Subject: [PATCH] fix: shsh namespace base URL --- .changeset/olive-countries-brush.md | 5 + ontologies/shsh/meta.nt | 6 +- ontologies/shsh/package.json | 2 +- ontologies/shsh/shsh.nq | 830 ++++++++++++++-------------- packages/prefixes/prefixes.ts | 2 +- 5 files changed, 426 insertions(+), 419 deletions(-) create mode 100644 .changeset/olive-countries-brush.md diff --git a/.changeset/olive-countries-brush.md b/.changeset/olive-countries-brush.md new file mode 100644 index 0000000..132f16c --- /dev/null +++ b/.changeset/olive-countries-brush.md @@ -0,0 +1,5 @@ +--- +"@vocabulary/shsh": patch +--- + +Namespace was HTTPS instead of the correct HTTP diff --git a/ontologies/shsh/meta.nt b/ontologies/shsh/meta.nt index 3e59a81..939dd99 100644 --- a/ontologies/shsh/meta.nt +++ b/ontologies/shsh/meta.nt @@ -1,5 +1,7 @@ "@vocabulary/shsh/shsh.nq" . + "This shapes graph can be used to validate SHACL shapes graphs against a subset of the syntax rules." . + "SHACL for SHACL" . . - . + . "shsh" . - . + . diff --git a/ontologies/shsh/package.json b/ontologies/shsh/package.json index c2794c8..1a40a37 100644 --- a/ontologies/shsh/package.json +++ b/ontologies/shsh/package.json @@ -16,7 +16,7 @@ "homepage": "https://www.w3.org/TR/shacl/#shacl-shacl", "vocabulary": { "prefix": "shsh", - "namespace": "https://www.w3.org/ns/shacl-shacl#" + "namespace": "http://www.w3.org/ns/shacl-shacl#" }, "bugs": { "url": "https://github.com/zazuko/rdf-vocabularies/issues" diff --git a/ontologies/shsh/shsh.nq b/ontologies/shsh/shsh.nq index 3215f49..5425dcc 100644 --- a/ontologies/shsh/shsh.nq +++ b/ontologies/shsh/shsh.nq @@ -1,415 +1,415 @@ - "This shapes graph can be used to validate SHACL shapes graphs against a subset of the syntax rules."@en . - "SHACL for SHACL"@en . - _:c14n33 . - . - . - . - . - "Defines constraints on what it means for a node to be a node within a well-formed RDF list. Note that this does not check whether the rdf:rest items are also well-formed lists as this would lead to unsupported recursion."@en . - "List node shape"@en . - _:c14n55 . - . - "A shape describing well-formed RDF lists. Currently does not check for non-recursion. This could be expressed using SHACL-SPARQL."@en . - "List shape"@en . - . - _:c14n1 . - . - _:c14n19 . - _:c14n22 . - _:c14n39 . - _:c14n56 . - _:c14n6 . - _:c14n82 . - _:c14n91 . - . - . - . - _:c14n48 . - _:c14n43 . - . - "A shape that can be used to validate the syntax rules of well-formed SHACL paths."@en . - "Path shape"@en . - . - _:c14n29 . - . - _:c14n31 . - . - . - "A shape that can be used to validate syntax rules for other shapes."@en . - "Shape shape"@en . - _:c14n26 . - _:c14n12 . - _:c14n13 . - _:c14n15 . - _:c14n17 . - _:c14n23 . - _:c14n24 . - _:c14n30 . - _:c14n32 . - _:c14n36 . - _:c14n38 . - _:c14n41 . - _:c14n45 . - _:c14n46 . - _:c14n47 . - _:c14n5 . - _:c14n52 . - _:c14n53 . - _:c14n54 . - _:c14n63 . - _:c14n64 . - _:c14n66 . - _:c14n67 . - _:c14n68 . - _:c14n7 . - _:c14n70 . - _:c14n72 . - _:c14n75 . - _:c14n78 . - _:c14n79 . - _:c14n8 . - _:c14n81 . - _:c14n84 . - _:c14n86 . - _:c14n88 . - _:c14n9 . - _:c14n93 . - _:c14n94 . - _:c14n95 . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - . - _:c14n42 . - . - . - . - . - _:c14n80 . - . - . - . -_:c14n0 . -_:c14n0 _:c14n35 . -_:c14n1 "Each list member (including this node) must be have the shape shsh:ListNodeShape."@en . -_:c14n1 . -_:c14n1 . -_:c14n1 _:c14n77 . -_:c14n10 . -_:c14n10 _:c14n27 . -_:c14n100 . -_:c14n101 _:c14n100 . -_:c14n101 _:c14n102 . -_:c14n102 . -_:c14n102 . -_:c14n103 . -_:c14n104 _:c14n103 . -_:c14n104 _:c14n105 . -_:c14n105 . -_:c14n105 . -_:c14n106 . -_:c14n107 . -_:c14n108 . -_:c14n109 _:c14n108 . -_:c14n109 . -_:c14n11 "false"^^ . -_:c14n11 . -_:c14n110 . -_:c14n111 _:c14n85 . -_:c14n111 _:c14n112 . -_:c14n112 _:c14n113 . -_:c14n112 _:c14n114 . -_:c14n113 "true"^^ . -_:c14n113 . -_:c14n113 _:c14n65 . -_:c14n114 _:c14n115 . -_:c14n114 _:c14n116 . -_:c14n115 "true"^^ . -_:c14n115 . -_:c14n115 _:c14n96 . -_:c14n116 _:c14n117 . -_:c14n116 _:c14n118 . -_:c14n117 "true"^^ . -_:c14n117 . -_:c14n117 _:c14n87 . -_:c14n118 _:c14n119 . -_:c14n118 _:c14n120 . -_:c14n119 "true"^^ . -_:c14n119 . -_:c14n119 _:c14n76 . -_:c14n12 "1"^^ . -_:c14n12 . -_:c14n12 . -_:c14n120 _:c14n121 . -_:c14n120 . -_:c14n121 "true"^^ . -_:c14n121 . -_:c14n121 _:c14n59 . -_:c14n122 _:c14n40 . -_:c14n122 _:c14n0 . -_:c14n123 _:c14n83 . -_:c14n123 . -_:c14n124 _:c14n57 . -_:c14n124 _:c14n123 . -_:c14n125 _:c14n74 . -_:c14n125 . -_:c14n126 _:c14n90 . -_:c14n126 _:c14n125 . -_:c14n127 _:c14n51 . -_:c14n127 . -_:c14n128 . -_:c14n128 . -_:c14n129 . -_:c14n129 . -_:c14n13 "1"^^ . -_:c14n13 . -_:c14n13 . -_:c14n14 . -_:c14n14 . -_:c14n15 . -_:c14n15 "1"^^ . -_:c14n15 . -_:c14n16 . -_:c14n16 _:c14n10 . -_:c14n17 . -_:c14n17 "1"^^ . -_:c14n17 . -_:c14n18 . -_:c14n19 "0"^^ . -_:c14n19 . -_:c14n2 . -_:c14n2 _:c14n89 . -_:c14n20 _:c14n106 . -_:c14n20 _:c14n129 . -_:c14n21 "0"^^ . -_:c14n21 . -_:c14n22 "0"^^ . -_:c14n22 . -_:c14n23 . -_:c14n23 . -_:c14n24 . -_:c14n24 . -_:c14n25 _:c14n60 . -_:c14n26 _:c14n69 . -_:c14n26 _:c14n109 . -_:c14n27 . -_:c14n27 _:c14n2 . -_:c14n28 . -_:c14n28 . -_:c14n29 . -_:c14n29 _:c14n3 . -_:c14n3 _:c14n25 . -_:c14n30 _:c14n126 . -_:c14n30 . -_:c14n31 "1"^^ . -_:c14n31 "1"^^ . -_:c14n31 . -_:c14n31 . -_:c14n32 . -_:c14n32 "1"^^ . -_:c14n32 . -_:c14n33 "http://www.w3.org/ns/shacl-shacl#" . -_:c14n33 "shsh" . -_:c14n34 . -_:c14n34 _:c14n104 . -_:c14n35 . -_:c14n35 _:c14n62 . -_:c14n36 . -_:c14n36 . -_:c14n37 "1"^^ . -_:c14n37 "1"^^ . -_:c14n37 . -_:c14n38 . -_:c14n38 . -_:c14n39 "0"^^ . -_:c14n39 . -_:c14n4 _:c14n107 . -_:c14n4 _:c14n128 . -_:c14n40 . -_:c14n40 _:c14n101 . -_:c14n41 . -_:c14n41 "1"^^ . -_:c14n41 . -_:c14n42 . -_:c14n42 _:c14n73 . -_:c14n43 _:c14n110 . -_:c14n43 _:c14n111 . -_:c14n44 "1"^^ . -_:c14n44 "1"^^ . -_:c14n44 . -_:c14n45 . -_:c14n45 . -_:c14n46 "1"^^ . -_:c14n46 . -_:c14n46 . -_:c14n47 . -_:c14n47 . -_:c14n48 "2"^^ . -_:c14n48 _:c14n58 . -_:c14n49 . -_:c14n49 _:c14n98 . -_:c14n5 . -_:c14n5 . -_:c14n50 . -_:c14n50 _:c14n124 . -_:c14n51 _:c14n18 . -_:c14n51 _:c14n37 . -_:c14n51 _:c14n44 . -_:c14n52 "1"^^ . -_:c14n52 . -_:c14n52 . -_:c14n53 . -_:c14n53 . -_:c14n54 . -_:c14n54 . -_:c14n55 _:c14n71 . -_:c14n55 _:c14n127 . -_:c14n56 "0"^^ . -_:c14n56 . -_:c14n57 . -_:c14n58 . -_:c14n59 "1"^^ . -_:c14n59 "1"^^ . -_:c14n59 . -_:c14n6 "0"^^ . -_:c14n6 . -_:c14n60 _:c14n20 . -_:c14n60 _:c14n122 . -_:c14n61 "0"^^ . -_:c14n61 . -_:c14n62 . -_:c14n62 _:c14n14 . -_:c14n63 _:c14n16 . -_:c14n63 "1"^^ . -_:c14n63 . -_:c14n64 "1"^^ . -_:c14n64 . -_:c14n64 . -_:c14n65 "1"^^ . -_:c14n65 "1"^^ . -_:c14n65 . -_:c14n65 . -_:c14n66 _:c14n92 . -_:c14n66 "1"^^ . -_:c14n66 . -_:c14n67 . -_:c14n67 "1"^^ . -_:c14n67 . -_:c14n68 . -_:c14n68 "1"^^ . -_:c14n68 . -_:c14n69 _:c14n50 . -_:c14n7 . -_:c14n7 _:c14n49 . -_:c14n70 "1"^^ . -_:c14n70 . -_:c14n70 . -_:c14n71 . -_:c14n71 _:c14n21 . -_:c14n71 _:c14n61 . -_:c14n72 "1"^^ . -_:c14n72 . -_:c14n72 . -_:c14n73 . -_:c14n73 . -_:c14n74 . -_:c14n75 "1"^^ . -_:c14n75 . -_:c14n75 . -_:c14n76 "1"^^ . -_:c14n76 "1"^^ . -_:c14n76 . -_:c14n77 . -_:c14n78 . -_:c14n78 "1"^^ . -_:c14n78 . -_:c14n79 . -_:c14n79 "1"^^ . -_:c14n79 . -_:c14n8 "1"^^ . -_:c14n8 . -_:c14n8 . -_:c14n80 . -_:c14n80 _:c14n4 . -_:c14n81 . -_:c14n81 . -_:c14n82 "0"^^ . -_:c14n82 . -_:c14n83 . -_:c14n84 "1"^^ . -_:c14n84 . -_:c14n85 . -_:c14n85 . -_:c14n86 . -_:c14n86 "1"^^ . -_:c14n86 . -_:c14n87 "1"^^ . -_:c14n87 "1"^^ . -_:c14n87 . -_:c14n88 . -_:c14n88 "1"^^ . -_:c14n88 . -_:c14n89 . -_:c14n89 _:c14n28 . -_:c14n9 . -_:c14n9 . -_:c14n90 . -_:c14n91 "0"^^ . -_:c14n91 . -_:c14n92 "true"^^ . -_:c14n92 _:c14n11 . -_:c14n93 . -_:c14n93 . -_:c14n94 . -_:c14n94 "1"^^ . -_:c14n94 . -_:c14n95 . -_:c14n95 _:c14n34 . -_:c14n96 "1"^^ . -_:c14n96 "1"^^ . -_:c14n96 . -_:c14n97 . -_:c14n98 _:c14n97 . -_:c14n98 _:c14n99 . -_:c14n99 . -_:c14n99 . + "This shapes graph can be used to validate SHACL shapes graphs against a subset of the syntax rules."@en . + "SHACL for SHACL"@en . + _:c14n49 . + . + . + . + . + "Defines constraints on what it means for a node to be a node within a well-formed RDF list. Note that this does not check whether the rdf:rest items are also well-formed lists as this would lead to unsupported recursion."@en . + "List node shape"@en . + _:c14n42 . + . + "A shape describing well-formed RDF lists. Currently does not check for non-recursion. This could be expressed using SHACL-SPARQL."@en . + "List shape"@en . + . + _:c14n17 . + . + _:c14n22 . + _:c14n23 . + _:c14n37 . + _:c14n38 . + _:c14n55 . + _:c14n78 . + _:c14n89 . + . + . + . + _:c14n6 . + _:c14n83 . + . + "A shape that can be used to validate the syntax rules of well-formed SHACL paths."@en . + "Path shape"@en . + . + _:c14n85 . + . + _:c14n96 . + . + . + "A shape that can be used to validate syntax rules for other shapes."@en . + "Shape shape"@en . + _:c14n56 . + _:c14n10 . + _:c14n11 . + _:c14n12 . + _:c14n13 . + _:c14n15 . + _:c14n16 . + _:c14n18 . + _:c14n2 . + _:c14n25 . + _:c14n28 . + _:c14n31 . + _:c14n33 . + _:c14n35 . + _:c14n4 . + _:c14n40 . + _:c14n44 . + _:c14n46 . + _:c14n50 . + _:c14n53 . + _:c14n57 . + _:c14n58 . + _:c14n59 . + _:c14n60 . + _:c14n64 . + _:c14n66 . + _:c14n67 . + _:c14n69 . + _:c14n7 . + _:c14n74 . + _:c14n75 . + _:c14n77 . + _:c14n79 . + _:c14n80 . + _:c14n82 . + _:c14n88 . + _:c14n9 . + _:c14n94 . + _:c14n95 . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + . + _:c14n1 . + . + . + . + . + _:c14n81 . + . + . + . +_:c14n0 . +_:c14n0 _:c14n41 . +_:c14n1 . +_:c14n1 _:c14n61 . +_:c14n10 "1"^^ . +_:c14n10 . +_:c14n10 . +_:c14n100 . +_:c14n101 _:c14n100 . +_:c14n101 _:c14n102 . +_:c14n102 . +_:c14n102 . +_:c14n103 . +_:c14n104 _:c14n103 . +_:c14n104 _:c14n105 . +_:c14n105 . +_:c14n105 . +_:c14n106 . +_:c14n107 . +_:c14n108 . +_:c14n109 . +_:c14n11 . +_:c14n11 . +_:c14n110 _:c14n109 . +_:c14n110 . +_:c14n111 "true"^^ . +_:c14n111 . +_:c14n111 _:c14n84 . +_:c14n112 _:c14n111 . +_:c14n112 _:c14n116 . +_:c14n113 _:c14n115 . +_:c14n113 _:c14n112 . +_:c14n114 _:c14n21 . +_:c14n114 _:c14n113 . +_:c14n115 "true"^^ . +_:c14n115 . +_:c14n115 _:c14n48 . +_:c14n116 _:c14n121 . +_:c14n116 _:c14n117 . +_:c14n117 _:c14n120 . +_:c14n117 _:c14n118 . +_:c14n118 _:c14n119 . +_:c14n118 . +_:c14n119 "true"^^ . +_:c14n119 . +_:c14n119 _:c14n8 . +_:c14n12 "1"^^ . +_:c14n12 . +_:c14n12 . +_:c14n120 "true"^^ . +_:c14n120 . +_:c14n120 _:c14n29 . +_:c14n121 "true"^^ . +_:c14n121 . +_:c14n121 _:c14n45 . +_:c14n122 _:c14n3 . +_:c14n122 . +_:c14n123 _:c14n19 . +_:c14n123 _:c14n122 . +_:c14n124 _:c14n5 . +_:c14n124 . +_:c14n125 _:c14n73 . +_:c14n125 . +_:c14n126 _:c14n63 . +_:c14n126 _:c14n125 . +_:c14n127 . +_:c14n127 . +_:c14n128 . +_:c14n128 . +_:c14n129 _:c14n32 . +_:c14n129 _:c14n68 . +_:c14n13 . +_:c14n13 . +_:c14n14 _:c14n27 . +_:c14n14 _:c14n129 . +_:c14n15 . +_:c14n15 "1"^^ . +_:c14n15 . +_:c14n16 . +_:c14n16 "1"^^ . +_:c14n16 . +_:c14n17 "Each list member (including this node) must be have the shape shsh:ListNodeShape."@en . +_:c14n17 . +_:c14n17 . +_:c14n17 _:c14n47 . +_:c14n18 _:c14n92 . +_:c14n18 "1"^^ . +_:c14n18 . +_:c14n19 . +_:c14n2 "1"^^ . +_:c14n2 . +_:c14n2 . +_:c14n20 . +_:c14n20 . +_:c14n21 . +_:c14n21 . +_:c14n22 "0"^^ . +_:c14n22 . +_:c14n23 "0"^^ . +_:c14n23 . +_:c14n24 . +_:c14n24 . +_:c14n25 . +_:c14n25 . +_:c14n26 _:c14n107 . +_:c14n26 _:c14n128 . +_:c14n27 _:c14n106 . +_:c14n27 _:c14n127 . +_:c14n28 "1"^^ . +_:c14n28 . +_:c14n28 . +_:c14n29 "1"^^ . +_:c14n29 "1"^^ . +_:c14n29 . +_:c14n3 . +_:c14n30 "1"^^ . +_:c14n30 "1"^^ . +_:c14n30 . +_:c14n31 _:c14n123 . +_:c14n31 . +_:c14n32 . +_:c14n32 _:c14n101 . +_:c14n33 . +_:c14n33 . +_:c14n34 . +_:c14n34 _:c14n24 . +_:c14n35 . +_:c14n35 "1"^^ . +_:c14n35 . +_:c14n36 . +_:c14n36 _:c14n0 . +_:c14n37 "0"^^ . +_:c14n37 . +_:c14n38 "0"^^ . +_:c14n38 . +_:c14n39 "true"^^ . +_:c14n39 _:c14n72 . +_:c14n4 . +_:c14n4 . +_:c14n40 . +_:c14n40 "1"^^ . +_:c14n40 . +_:c14n41 . +_:c14n41 _:c14n34 . +_:c14n42 _:c14n93 . +_:c14n42 _:c14n124 . +_:c14n43 . +_:c14n43 _:c14n126 . +_:c14n44 . +_:c14n44 "1"^^ . +_:c14n44 . +_:c14n45 "1"^^ . +_:c14n45 "1"^^ . +_:c14n45 . +_:c14n46 . +_:c14n46 "1"^^ . +_:c14n46 . +_:c14n47 . +_:c14n48 "1"^^ . +_:c14n48 "1"^^ . +_:c14n48 . +_:c14n48 . +_:c14n49 "http://www.w3.org/ns/shacl-shacl#" . +_:c14n49 "shsh" . +_:c14n5 _:c14n54 . +_:c14n5 _:c14n30 . +_:c14n5 _:c14n71 . +_:c14n50 _:c14n39 . +_:c14n50 "1"^^ . +_:c14n50 . +_:c14n51 _:c14n91 . +_:c14n52 . +_:c14n53 "1"^^ . +_:c14n53 . +_:c14n53 . +_:c14n54 . +_:c14n55 "0"^^ . +_:c14n55 . +_:c14n56 _:c14n62 . +_:c14n56 _:c14n110 . +_:c14n57 . +_:c14n57 "1"^^ . +_:c14n57 . +_:c14n58 "1"^^ . +_:c14n58 . +_:c14n58 . +_:c14n59 . +_:c14n59 _:c14n70 . +_:c14n6 "2"^^ . +_:c14n6 _:c14n52 . +_:c14n60 "1"^^ . +_:c14n60 . +_:c14n60 . +_:c14n61 . +_:c14n61 . +_:c14n62 _:c14n43 . +_:c14n63 . +_:c14n64 . +_:c14n64 . +_:c14n65 "0"^^ . +_:c14n65 . +_:c14n66 . +_:c14n66 "1"^^ . +_:c14n66 . +_:c14n67 . +_:c14n67 . +_:c14n68 . +_:c14n68 _:c14n90 . +_:c14n69 "1"^^ . +_:c14n69 . +_:c14n7 . +_:c14n7 . +_:c14n70 . +_:c14n70 _:c14n98 . +_:c14n71 "1"^^ . +_:c14n71 "1"^^ . +_:c14n71 . +_:c14n72 "false"^^ . +_:c14n72 . +_:c14n73 . +_:c14n74 "1"^^ . +_:c14n74 . +_:c14n74 . +_:c14n75 . +_:c14n75 . +_:c14n76 . +_:c14n76 _:c14n20 . +_:c14n77 . +_:c14n77 . +_:c14n78 "0"^^ . +_:c14n78 . +_:c14n79 . +_:c14n79 "1"^^ . +_:c14n79 . +_:c14n8 "1"^^ . +_:c14n8 "1"^^ . +_:c14n8 . +_:c14n80 . +_:c14n80 "1"^^ . +_:c14n80 . +_:c14n81 . +_:c14n81 _:c14n26 . +_:c14n82 . +_:c14n82 . +_:c14n83 _:c14n108 . +_:c14n83 _:c14n114 . +_:c14n84 "1"^^ . +_:c14n84 "1"^^ . +_:c14n84 . +_:c14n85 . +_:c14n85 _:c14n51 . +_:c14n86 . +_:c14n86 _:c14n104 . +_:c14n87 "0"^^ . +_:c14n87 . +_:c14n88 . +_:c14n88 _:c14n86 . +_:c14n89 "0"^^ . +_:c14n89 . +_:c14n9 . +_:c14n9 . +_:c14n90 . +_:c14n90 _:c14n76 . +_:c14n91 _:c14n14 . +_:c14n92 . +_:c14n92 _:c14n36 . +_:c14n93 . +_:c14n93 _:c14n65 . +_:c14n93 _:c14n87 . +_:c14n94 "1"^^ . +_:c14n94 . +_:c14n94 . +_:c14n95 . +_:c14n95 "1"^^ . +_:c14n95 . +_:c14n96 "1"^^ . +_:c14n96 "1"^^ . +_:c14n96 . +_:c14n96 . +_:c14n97 . +_:c14n98 _:c14n97 . +_:c14n98 _:c14n99 . +_:c14n99 . +_:c14n99 . diff --git a/packages/prefixes/prefixes.ts b/packages/prefixes/prefixes.ts index e222a20..c3ddc7f 100644 --- a/packages/prefixes/prefixes.ts +++ b/packages/prefixes/prefixes.ts @@ -81,7 +81,7 @@ const packagedPrefixes = { sf: 'http://www.opengis.net/ont/sf#', sh: 'http://www.w3.org/ns/shacl#', shex: 'http://www.w3.org/ns/shex#', - shsh: 'https://www.w3.org/ns/shacl-shacl#', + shsh: 'http://www.w3.org/ns/shacl-shacl#', sioc: 'http://rdfs.org/sioc/ns#', skos: 'http://www.w3.org/2004/02/skos/core#', skosxl: 'http://www.w3.org/2008/05/skos-xl#',