HW-SWeL / ShEx-validator

ShEx-validator parses a ShEx schema and RDF data file and validates the resources in the data against the shapes in the schema
MIT License
3 stars 1 forks source link

Name Stem not accetped #21

Closed AlasdairGray closed 9 years ago

AlasdairGray commented 9 years ago

ShEx parser does not accept the pattern :chemb dct:accrualPeriodicity freq:~?.

tar672 commented 9 years ago

There seems to be a number of issues currently with both name and value stems.

As far as I can tell the parser does not like the use of value stems with cardinality modifiers.

Also currently RDF.js throws an error when either stem is used. This is a trivial fix though.

Should get both fixed soon.

tar672 commented 9 years ago

Name stems fixed by 660186d5dcb967c0c2403e91a91df79ec2897aed

Value stems throw parse error. @jacobbaungard could you have a look?

tar672 commented 9 years ago

Added failing test for data stem cfdf60bbb9d33

jacobbaungard commented 9 years ago

Support for parsing value stems has been added in the value_stems branch. It does not look like RDF.js currently supports this in the validation phase.

jacobbaungard commented 9 years ago

Value stems fixed, and pull request made.