Hi all,

I have an ontology with class time containing the attributes (year, month, 
week, day, hour, minute, second). Now I have set some typical constraints 
for each attribute and I am stuck with these. For example, the attribute 
'hour' can occur max 1x in time with a value between 0 and 23 (an hour 
cannot be negative and after 23 hours it should be referred to as 'day' 
(see first picture below for property shape).
These constraints are standard of type 'string', hence resulting in 
ValueErrors (see second picture), since the EDG software implements these 
values automatically as a string. 

While I have found a way to convert the elements by manually removing the 
quotation marks within the source code (see third picture), this consumes 
quite a lot of time. Therefore* I would like to know if there is an general 
build-in option to change the datatype from string to integer?*

[image: hour_properties.PNG]property characterisics 
<about:invalid#zClosurez>

[image: time_error.PNG] <about:invalid#zClosurez>ValueError



[image: adjust_sourcecode.PNG] <about:invalid#zClosurez>source code 
<about:invalid#zClosurez>

-- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/369b6925-4dcb-4563-9915-31d663a84025%40googlegroups.com.

Reply via email to