1

enter image description hereI'm using owlready2. I loaded a local .owl file( .owl file I'm using) , it has a class Radiometry. I did the following:

 from owlready2 import *
 onto=get_ontology("file:///Users/adarshkumar/Downloads/ontology.owl").load()
 print(onto.Radiometry)

The output was None

Why am I getting None when I print an already present class in the ontology?

To debug I tried:

>>> list(onto.classes())

Then I got:

[owl.Thing, untitled-ontology-17.Radiometry, untitled-ontology-17.Astrophysics,........]

What does untitled-ontology mean, is this the problem?

Full description below: enter image description here

I'm new to this and would highly appreciate any help.

0 Answers0