Open zhurui0509 opened 2 years ago
Tested it in PySHACL, same error. Check https://github.com/KnowWhereGraph/KWG-SHACL/blob/main/test/pySHACL_test.ipynb.
It means that our property shape is invalid!
Do all property shapes fail in this manner?
Yes. Tested on madeBySensor as well. Same error.
Even though we tested the property shape in https://shacl.org/playground/, when upload the property shape to GraphDB, we encounter errors:
http://stko-kwg.geog.ucsb.ed/sosa-shacl/observedPropertyRangeConstraint is a sh:PropertyShape without a sh:path!
I then tried to add
sh:path
to the shape like:And use it on sample data:
It will show that obs1 violates the shape (for both shacl playground and GraphDB), even though it should not. So I assume it means the shape is incorrect.
Any help on it would be appreciated!