lambdamusic / Ontospy

Python library and command-line interface for inspecting and visualizing RDF models aka ontologies.
http://lambdamusic.github.io/Ontospy/
MIT License
218 stars 52 forks source link

model.classes does not retrieve the full list of annotated classes in the redf file. #36

Open corinabioinformatic opened 6 years ago

corinabioinformatic commented 6 years ago

Once I download the model in Ontospy: url = "http://purl.obolibrary.org/obo/go.owl" model = ontospy.Ontospy(url) I extract only the GO_xxxxxxx anotated numbers from the classes, and write them down in a file. But it does not retrieve all the classes. I found this issue comparing the query with ontospy with another one using regular expressions. I cannot figure out what's the problem. Many thanks,

Corina

lambdamusic commented 5 years ago

What classes are missing?