Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 OWL 格式的人体解剖本体,我想在 python 3 中使用 owlready 导入它。我想检索本体中器官的标签和描述,以便将它们与不同本体的标签和描述进行比较。我试过这个:
for c in onto.classes(): print(ANNOTATIONS[c]["label"])
但它说:
name 'ANNOTATIONS' is not defined.
任何帮助将非常感激。
事实证明 owlready 不识别 OWL/RDF 格式,只识别 OWL/XML。打算改用 onspy