Hello! I try to understand how to work with owlready using
https://pypi.python.org/pypi/OwlreadyThe next text is given by that link:
Load an ontology from a local repository, or from Internet:
>>> from owlready import *
>>> onto_path.append("/path/to/your/local/ontology/repository")
>>> onto = get_ontology("
http://www.lesfleursdunormal.fr/static/_downloads/pizza_onto.owl")
>>> onto.load()
Ok. In "Python 2.7.14 Shell" i'm typing:
>>> from owlready import *
and then i get error message:
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
from owlready import *
File "C:\Python27\lib\site-packages\owlready\__init__.py", line 154
def __init__(self, *Entities, ontology = None):
^
SyntaxError: invalid syntax
Help me, please! What should I do for correct working with owlready?