Re: Data Property of datatype 'float' being created as 'decimal'
Posted by gbaesso on
URL: http://owlready.306.s1.nabble.com/Data-Property-of-datatype-float-being-created-as-decimal-tp87p91.html
As I am creating classes and Properties in a dynamic way, through a recursive loop, I was looking for a way to "modify" some of the "automatically" created entities.
I just found out that I can do the following to turn an already created DataProperty into a Functional DataProperty....
with onto:
class incident_id(DataProperty, FunctionalProperty): pass
I am messing around a lot with owlready2. Count on me if you need any help updating the documentation anytime after I finish my masters essay (1-2 months).
Salutations,
Guilherme