mustrd 0.3.0.0__py3-none-any.whl → 0.3.1a0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mustrd/README.md +2 -0
- mustrd/logger_setup.py +2 -0
- mustrd/model/mustrdShapes.ttl +16 -6
- mustrd/model/ontology.ttl +1 -2
- mustrd/mustrd.py +442 -227
- mustrd/mustrdRdfLib.py +8 -1
- mustrd/namespace.py +10 -1
- mustrd/spec_component.py +224 -45
- mustrd/steprunner.py +62 -14
- mustrd-0.3.1a0.dist-info/METADATA +96 -0
- {mustrd-0.3.0.0.dist-info → mustrd-0.3.1a0.dist-info}/RECORD +14 -14
- mustrd-0.3.0.0.dist-info/METADATA +0 -96
- {mustrd-0.3.0.0.dist-info → mustrd-0.3.1a0.dist-info}/LICENSE +0 -0
- {mustrd-0.3.0.0.dist-info → mustrd-0.3.1a0.dist-info}/WHEEL +0 -0
- {mustrd-0.3.0.0.dist-info → mustrd-0.3.1a0.dist-info}/entry_points.txt +0 -0
mustrd/README.md
CHANGED
@@ -27,3 +27,5 @@ As the project is actually built from the requirements.txt file at the project r
|
|
27
27
|
|
28
28
|
`poetry export -f requirements.txt --without-hashes > requirements.txt`
|
29
29
|
|
30
|
+
We also recommend pairing MustRD with the VS Code plugin [faubulous.mentor](https://marketplace.visualstudio.com/items?itemName=faubulous.mentor) to enhance your development experience and streamline working with SPARQL and RDF specifications.
|
31
|
+
|
mustrd/logger_setup.py
CHANGED
mustrd/model/mustrdShapes.ttl
CHANGED
@@ -140,10 +140,20 @@ must:OrderedTableDatasetShape
|
|
140
140
|
must:FileDatasetShape
|
141
141
|
a sh:NodeShape ;
|
142
142
|
sh:targetClass must:FileDataset ;
|
143
|
-
sh:
|
144
|
-
|
145
|
-
|
146
|
-
|
143
|
+
sh:or (
|
144
|
+
[
|
145
|
+
sh:path must:file ;
|
146
|
+
sh:datatype xsd:string ;
|
147
|
+
sh:maxCount 1 ;
|
148
|
+
]
|
149
|
+
[
|
150
|
+
sh:path must:fileurl ;
|
151
|
+
sh:nodeKind sh:IRI ;
|
152
|
+
sh:minCount 1 ;
|
153
|
+
sh:maxCount 1 ;
|
154
|
+
]
|
155
|
+
)
|
156
|
+
.
|
147
157
|
|
148
158
|
must:StatementShape
|
149
159
|
a sh:NodeShape ;
|
@@ -252,8 +262,8 @@ must:AnzoGraphmartQueryDrivenTemplatedStepSparqlSourceShape
|
|
252
262
|
must:SpadeEdnGroupSourceShape
|
253
263
|
a sh:NodeShape ;
|
254
264
|
sh:targetClass must:SpadeEdnGroupSource ;
|
255
|
-
sh:property [ sh:path must:
|
256
|
-
sh:message "A SpadeEdnGroupSource must have a
|
265
|
+
sh:property [ sh:path must:fileurl ;
|
266
|
+
sh:message "A SpadeEdnGroupSource must have a fileurl property pointing to the spade.edn config." ;
|
257
267
|
sh:minCount 1 ;
|
258
268
|
sh:maxCount 1 ; ] ;
|
259
269
|
sh:property [ sh:path must:groupId ;
|
mustrd/model/ontology.ttl
CHANGED
@@ -146,7 +146,7 @@ sh:order rdf:type owl:DatatypeProperty ;
|
|
146
146
|
|
147
147
|
### https://mustrd.com/model/file
|
148
148
|
:file rdf:type owl:DatatypeProperty ;
|
149
|
-
rdfs:comment "Relative or absolute path to local file" ;
|
149
|
+
rdfs:comment "Relative or absolute path to local file as a string, or a file:// url" ;
|
150
150
|
rdfs:label "file" .
|
151
151
|
|
152
152
|
|
@@ -158,7 +158,6 @@ sh:order rdf:type owl:DatatypeProperty ;
|
|
158
158
|
|
159
159
|
### https://mustrd.com/model/fileurl
|
160
160
|
:fileurl rdf:type owl:DatatypeProperty ;
|
161
|
-
rdfs:domain :FileSparqlSource ;
|
162
161
|
rdfs:comment "a full or relatively qualified file:// url. Relative to what? We haven't thought that through, yet." ;
|
163
162
|
rdfs:isDefinedBy : ;
|
164
163
|
rdfs:label "fileUrl" .
|