Administrator
|
Hi,
Associating a Python module to an OWL ontology is useful if you want to add Python methods to your OWL classes. These methods can do anything that can be done in Python. Typically, they are useful if you want to have procedural properties. For example, let us consider the length of an DNA sequence. It can be stored along with the sequence, as an integer data property. However, it is better to computer the length from the sequence, by counting the number of characters.
Of course, you can create an ontology in Python without associating it to a Python module.
Jiba
|