shexSpec / shexspec.github.io

shexspec.github.io web site
1 stars 2 forks source link

added initial version of the shex.shexc generator #4

Closed jessevdam closed 7 years ago

jessevdam commented 7 years ago

I added stuff so that we also have definition of the shex json-ld in shexc. shex.shexc not complete but its a initial setup. We need to add a test in which we go from vocab.csv -> ShExC -> ShexJSONLD -> and then validate it using its own definition. And a second test that does ShexJSONLD -> ShExC ->ShexJSONLD -> ShExC and validates that conversion back and forward is working and conserving all information.

added initial version of the shex.shexc generator added forward and reverse multiplicity columns fixed few records in vocab.csv -Removed duplicated maxexclusive and minexclusive properties -Changed rdfs:Datetype to xsd:Datetype -Reordered the properties on domain added install.sh script for installing needed dependencies

gkellogg commented 7 years ago

Changes in ordering make comparisons difficult. I'm merging locally and will resolve this in a new commit.

gkellogg commented 7 years ago

For some reason, you had re-ordered the properties in the CSV, which made reconciliation more difficult. I put back to original order, but I also updated the script to re-order output so we're less sensitive to these changes.

Also, making max xsd:integer might have some repercussions for max: "*", so we may want to think about that.

And, the property type for datatype is rdfs:Datatype, not xsd:Datatype; XSD doesn't define classes. (see RDF 1.1 Schema).

rdfs:Datatype is the class of datatypes.