Reply – Re: Data Property of datatype 'float' being created as 'decimal'
Your Name
Subject
Message
or Cancel
In Reply To
Re: Data Property of datatype 'float' being created as 'decimal'
— by gbaesso gbaesso
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