diff --git a/_modules/owlapy/static_funcs.html b/_modules/owlapy/static_funcs.html index 3e843713..3918a2af 100644 --- a/_modules/owlapy/static_funcs.html +++ b/_modules/owlapy/static_funcs.html @@ -152,6 +152,18 @@

Source code for owlapy.static_funcs

         jpype.detachThreadFromJVM()
         jpype.shutdownJVM()
+ +
+[docs] +def create_ontology(iri,with_owlapi=False): + """ A convenient function""" + if with_owlapi: + from .owl_ontology_manager import SyncOntologyManager + return SyncOntologyManager().create_ontology(iri) + else: + from .owl_ontology_manager import OntologyManager + return OntologyManager().create_ontology(iri)
+ diff --git a/_sources/autoapi/owlapy/static_funcs/index.rst.txt b/_sources/autoapi/owlapy/static_funcs/index.rst.txt index 104fcd28..d9379594 100644 --- a/_sources/autoapi/owlapy/static_funcs/index.rst.txt +++ b/_sources/autoapi/owlapy/static_funcs/index.rst.txt @@ -18,6 +18,7 @@ Functions owlapy.static_funcs.download_external_files owlapy.static_funcs.startJVM owlapy.static_funcs.stopJVM + owlapy.static_funcs.create_ontology Module Contents @@ -45,3 +46,8 @@ Module Contents Detaches the thread from Java packages and shuts down the java virtual machine hosted by jpype. +.. py:function:: create_ontology(iri, with_owlapi=False) + + A convenient function + + diff --git a/autoapi/owlapy/static_funcs/index.html b/autoapi/owlapy/static_funcs/index.html index 78dee508..e2136e7d 100644 --- a/autoapi/owlapy/static_funcs/index.html +++ b/autoapi/owlapy/static_funcs/index.html @@ -88,6 +88,7 @@
  • download_external_files()
  • startJVM()
  • stopJVM()
  • +
  • create_ontology()
  • @@ -148,6 +149,9 @@

    Functions

    stopJVM(→ None)

    Detaches the thread from Java packages and shuts down the java virtual machine hosted by jpype.

    +

    create_ontology(iri[, with_owlapi])

    +

    A convenient function

    + @@ -183,6 +187,12 @@

    Module Contents +
    +owlapy.static_funcs.create_ontology(iri, with_owlapi=False)[source]
    +

    A convenient function

    +
    + diff --git a/genindex.html b/genindex.html index ad71aac8..696c6761 100644 --- a/genindex.html +++ b/genindex.html @@ -1053,10 +1053,10 @@

    C

  • clean() (owlapy.utils.EvaluatedDescriptionSet method)
  • - - +