I have some object restrictions like
hasVendor some Vendor
hasYear some integer[minLength 2, maxLength 4, >=1995, <=2012]
hasPrice only string[pattern "/^[0-9]+(\.[0-9]{2})?$/"]
where Vendor is a Class. I followed the instructions from this link : https://stackoverflow.com/a/7805455/1138148 to read the restrictions. I need to get the constraint values from each of these restrictions using Jena. I was able to get 'Vendor'
as the constraint in the first case, but for 2nd and 3rd I am getting some garbage like values like :
7cbf42c2:137784f42b4:-7d1f
and
7cbf42c2:137784f42b4:-7d29
resp. What are these values? How can I retrieve the pattern as such and the values minLength, 1995 etc.