Re: How to create Object and Data Properties dynamically ?

Posted by Avraheem on
URL: http://owlready.306.s1.nabble.com/How-to-create-Object-and-Data-Properties-dynamically-tp244p2023.html

Thank you! The other part of the question, can I connect one individual to multiple individuals via multiple object properties at the same time dynamically?

For example, the following will associate newJob individual, named "job1", to a new company newCompanyName via object property hasCompany:

newJob= NewJob(name = "job1", hasCompany=newCompanyName)

Can I add more object properties at the same time like hasAddress, hasNumber, etc.?