diff --git a/README.md b/README.md index 29ebe26..a17e7f8 100644 --- a/README.md +++ b/README.md @@ -18,51 +18,45 @@

-The OntoUML JSON2Graph (ontouml-json2graph) decodes a JSON file that complies with the [ontouml-schema](https://w3id.org/ontouml/schema) (e.g., the ones -exported by the [ontouml-vp-plugin](https://github.com/OntoUML/ontouml-vp-plugin)) to a graph file that complies with the [ontouml-vocabulary](https://github.com/OntoUML/ontouml-vocabulary). +The OntoUML JSON2Graph (ontouml-json2graph) decodes a JSON file that complies with the [ontouml-schema](https://w3id.org/ontouml/schema) (e.g., the ones exported by the [ontouml-vp-plugin](https://github.com/OntoUML/ontouml-vp-plugin)) to a graph file that complies with the [ontouml-vocabulary](https://github.com/OntoUML/ontouml-vocabulary). -When transforming a model, you can choose to represent only the core concepts of the model or include all of its information, including diagrammatic -elements, as part of the knowledge graph. Additionally, users have the choice to enable basic semantic and syntactical verifications, ensuring enhanced and -accurate transformation results. +When transforming a model, you can choose to represent only the core concepts of the model or include all of its information, including diagrammatic elements, as part of the knowledge graph. Additionally, users have the choice to enable basic semantic and syntactical verifications, ensuring enhanced and accurate transformation results. -This application was developed using the [RDFLib](https://rdflib.readthedocs.io/en/stable/) and Python 3.11. The generated graph file can be serialized in -the diverse [formats supported by the RDFLib](https://rdflib.readthedocs.io/en/stable/intro_to_parsing.html#saving-rdf), which are Turtle, RDF/XML, JSON-LD, -N-Triples, Notation-3, Trig, Trix, and N-Quads. +This application was developed using the [RDFLib](https://rdflib.readthedocs.io/en/stable/) and Python 3.11. The generated graph file can be serialized in the diverse [formats supported by the RDFLib](https://rdflib.readthedocs.io/en/stable/intro_to_parsing.html#saving-rdf), which are Turtle, RDF/XML, JSON-LD, N-Triples, Notation-3, Trig, Trix, and N-Quads. **📦 PyPI Package:** -The transformation is conveniently [available as a PyPI package](https://pypi.org/project/ontouml-json2graph/), which allows users to use it as an -executable script or import it as a library into other Python projects. +The transformation is conveniently [available as a PyPI package](https://pypi.org/project/ontouml-json2graph/), which allows users to use it as an executable script or import it as a library into other Python projects. **📚 Code Documentation:** -For inquiries and further information, please refer to the [comprehensive docstring-generated documentation](https://w3id.org/ontouml/json2graph/docs) -available for this project. +For inquiries and further information, please refer to the [comprehensive docstring-generated documentation](https://w3id.org/ontouml/json2graph/docs) available for this project. ## Contents + * [The OntoUML JSON2Graph Transformation](#the-ontouml-json2graph-transformation) - * [Contents](#contents) - * [Installation](#installation) - * [Usage](#usage) - * [Executing as a Script](#executing-as-a-script) - * [Arguments](#arguments) - * [Importing as a Library](#importing-as-a-library) - * [decode_json_project](#decodejsonproject) - * [decode_json_model](#decodejsonmodel) - * [save_graph_file](#savegraphfile) - * [Input and Output](#input-and-output) - * [OntoUML Vocabulary and gUFO](#ontouml-vocabulary-and-gufo) - * [Basic Syntactical and Sematic Validation](#basic-syntactical-and-sematic-validation) - * [Permanent URLs and Identifiers](#permanent-urls-and-identifiers) - * [Related Projects](#related-projects) - * [Development Contribution](#development-contribution) - * [Author](#author) + * [Contents](#contents) + * [Installation](#installation) + * [Usage](#usage) + * [Executing as a Script](#executing-as-a-script) + * [Arguments](#arguments) + * [Importing as a Library](#importing-as-a-library) + * [decode_json_project](#decodejsonproject) + * [decode_json_model](#decodejsonmodel) + * [save_graph_file](#savegraphfile) + * [Input and Output](#input-and-output) + * [OntoUML Vocabulary and gUFO](#ontouml-vocabulary-and-gufo) + * [Basic Syntactical and Sematic Validation](#basic-syntactical-and-sematic-validation) + * [Permanent URLs and Identifiers](#permanent-urls-and-identifiers) + * [Related Projects](#related-projects) + * [Development Contribution](#development-contribution) + * [Author](#author) + ## Installation -Before using the OntoUML JSON2Graph Decoder, you need to [download and install Python](https://www.python.org/downloads/). To install the application you -simply need to perform the following command: +Before using the OntoUML JSON2Graph Decoder, you need to [download and install Python](https://www.python.org/downloads/). To install the application you simply need to perform the following command: ```text pip install ontouml-json2graph @@ -106,7 +100,7 @@ Optional arguments provide additional features. All available ontouml-json2graph usage: ontouml-json2graph [-h] -i INPUT_PATH [-o OUTPUT_PATH] [-a] [-f {turtle,ttl,turtle2,xml,pretty-xml,json-ld,ntriples,nt,nt11,n3,trig,trix,nquads}] [-l LANGUAGE] [-c] [-s] [-u BASE_URI] [-m] [-v] -OntoUML JSON2Graph Decoder. Version: 1.3.0 +OntoUML JSON2Graph Decoder. Version: 1.3.1 options: -h, --help show this help message and exit @@ -131,19 +125,13 @@ More information at: https://w3id.org/ontouml/json2graph ### Importing as a Library -The `library.py` -module ([full documentation](https://dev.ontouml.org/ontouml-json2graph/autoapi/json2graph/library/index.html)) is a user-friendly component of the -`ontouml-json2graph` package. By encapsulating complex functionalities, this library empowers users to seamlessly integrate OntoUML JSON conversion -capabilities into their projects. In addition to conversion functions, the library provides a utility function for safely saving OntoUML graphs to files in -the desired syntax. +The `library.py` module ([full documentation](https://dev.ontouml.org/ontouml-json2graph/autoapi/json2graph/library/index.html)) is a user-friendly component of the `ontouml-json2graph` package. By encapsulating complex functionalities, this library empowers users to seamlessly integrate OntoUML JSON conversion capabilities into their projects. In addition to conversion functions, the library provides a utility function for safely saving OntoUML graphs to files in the desired syntax. The library provides the following functions for decoding OntoUML JSON data and saving OntoUML graphs to files: #### decode_json_project -The `decode_json_project` function allows you to decode the complete OntoUML JSON data (including elements from OntoUML's abstract and concrete syntax) into -a knowledge graph that conforms to the OntoUML Vocabulary. This function provides customization options, such as specifying the base URI for ontology -concepts, adding language tags, and enabling error correction. With this function domain-level and diagrammatic data are converted to Knowledge Graph. +The `decode_json_project` function allows you to decode the complete OntoUML JSON data (including elements from OntoUML's abstract and concrete syntax) into a knowledge graph that conforms to the OntoUML Vocabulary. This function provides customization options, such as specifying the base URI for ontology concepts, adding language tags, and enabling error correction. With this function domain-level and diagrammatic data are converted to Knowledge Graph. ```python from json2graph.library import decode_json_project @@ -156,8 +144,7 @@ decoded_graph_project = decode_json_project(json_file_path="path/to/input.json", The `decode_json_model` function decodes OntoUML JSON data representing a model-level view into a knowledge graph that adheres to the OntoUML Vocabulary. -Differently from the `decode_json_model`, this function decodes only elements from the OntoUML's abstract syntax. I.e., only domain-level (and not -diagrammatic) data is converted to knowledge graph. It offers options for base URI, language tags, and error correction. +Differently from the `decode_json_model`, this function decodes only elements from the OntoUML's abstract syntax. I.e., only domain-level (and not diagrammatic) data is converted to knowledge graph. It offers options for base URI, language tags, and error correction. ```python from json2graph.library import decode_json_model @@ -179,43 +166,31 @@ syntax = "ttl" # Choose the desired syntax: "xml", "n3", "nt", etc. save_graph_file(ontouml_graph, output_file_path, syntax) ``` -The valid syntax options are the ones that [can be parsed by the RDFLib](https://rdflib.readthedocs.io/en/stable/intro_to_parsing.html#saving-rdf): turtle, -ttl, turtle2, xml, pretty-xml, json-ld, ntriples, nt, nt11, n3, trig, trix, and nquads. +The valid syntax options are the ones that [can be parsed by the RDFLib](https://rdflib.readthedocs.io/en/stable/intro_to_parsing.html#saving-rdf): turtle, ttl, turtle2, xml, pretty-xml, json-ld, ntriples, nt, nt11, n3, trig, trix, and nquads. ### Input and Output -This software's **input** is a JSON file that complies with the [OntoUML Schema](https://w3id.org/ontouml/schema). This JSON file can be obtained from the -[ontouml-vp-plugin](https://w3id.org/ontouml/vp-plugin)'s export feature. The JSON2Graph Decoder was tested to guarantee its compatibility with the JSON -generated by the plugin's [version 0.5.3](https://w3id.org/ontouml/vp-plugin/v0.5.3). +This software's **input +** is a JSON file that complies with the [OntoUML Schema](https://w3id.org/ontouml/schema). This JSON file can be obtained from the [ontouml-vp-plugin](https://w3id.org/ontouml/vp-plugin)'s export feature. The JSON2Graph Decoder was tested to guarantee its compatibility with the JSON generated by the plugin's [version 0.5.3](https://w3id.org/ontouml/vp-plugin/v0.5.3). -The transformation's **output** corresponds to the OntoUML Model serialized as a graph. The saved file information is described by the -[OntoUML Vocabulary](https://w3id.org/ontouml/vocabulary) and can be saved in the -[different formats that are supported by the RDFLib](https://rdflib.readthedocs.io/en/stable/intro_to_parsing.html#saving-rdf). +The transformation's **output +** corresponds to the OntoUML Model serialized as a graph. The saved file information is described by the [OntoUML Vocabulary](https://w3id.org/ontouml/vocabulary) and can be saved in the [different formats that are supported by the RDFLib](https://rdflib.readthedocs.io/en/stable/intro_to_parsing.html#saving-rdf). This output graph may contain the model's diagrammatic information or not, depending on the user's provided arguments. -The [OntoUML Vocabulary documentation](https://dev.ontouml.org/ontouml-vocabulary/#mozTocId376551) contains a usage overview, presenting information about all -available elements, and about how to use them, including examples of SPARQL queries. +The [OntoUML Vocabulary documentation](https://dev.ontouml.org/ontouml-vocabulary/#mozTocId376551) contains a usage overview, presenting information about all available elements, and about how to use them, including examples of SPARQL queries. -Both the input and output of the software are built upon the same metamodel, the [OntoUML Metamodel](https://w3id.org/ontouml/metamodel), which facilitates -the conversion between different representations. +Both the input and output of the software are built upon the same metamodel, the [OntoUML Metamodel](https://w3id.org/ontouml/metamodel), which facilitates the conversion between different representations. ### OntoUML Vocabulary and gUFO -The ontouml-vp-plugin has a feature that enables an ontology to be transformed from OntoUML to a graph format. This feature is called the [Model -Transformation to OWL with gUFO](https://github.com/OntoUML/ontouml-vp-plugin/#model-transformation-to-owl-with-gufo). **[gUFO](https://nemo-ufes.github. -io/gufo/)** is a lightweight implementation of the OntoUML's underlying foundational ontology, the Unified Foundational Ontology (UFO). +The ontouml-vp-plugin has a feature that enables an ontology to be transformed from OntoUML to a graph format. This feature is called the [Model Transformation to OWL with gUFO](https://github.com/OntoUML/ontouml-vp-plugin/#model-transformation-to-owl-with-gufo). +**[gUFO](https://nemo-ufes.github.io/gufo/)** is a lightweight implementation of the OntoUML's underlying foundational ontology, the Unified Foundational +Ontology (UFO). -Even though an ontology represented in gUFO and in the OntoUML Vocabulary are both suitable for Semantic Web OWL 2 DL applications, these two -representations are different and were created with different purposes. +Even though an ontology represented in gUFO and in the OntoUML Vocabulary are both suitable for Semantic Web OWL 2 DL applications, these two representations are different and were created with different purposes. -gUFO is intended for reuse in the definition of UFO-based lightweight ontologies. Reuse of gUFO consists in instantiating and/or specializing the various -entities defined in the ontology, inheriting from it the domain-independent distinctions of UFO. A key feature of UFO (and hence, gUFO) is that it includes -two taxonomies: one with classes whose instances are individuals (classes in this taxonomy include gufo:Object, gufo:Event) and another with -classes whose instances are types (classes in this taxonomy include gufo:Kind, gufo:Phase, gufo:Category). +gUFO is intended for reuse in the definition of UFO-based lightweight ontologies. Reuse of gUFO consists in instantiating and/or specializing the various entities defined in the ontology, inheriting from it the domain-independent distinctions of UFO. A key feature of UFO (and hence, gUFO) is that it includes two taxonomies: one with classes whose instances are individuals (classes in this taxonomy include gufo:Object, gufo:Event) and another with classes whose instances are types (classes in this taxonomy include gufo:Kind, gufo:Phase, gufo:Category). -Differently, the OntoUML Vocabulary was created to support the serialization, exchange, publishing of OntoUML as linked data, and to be used in Semantic Web -applications. Models in this format are machine-readable resources intended to support the needs of tool developers and researchers, enabling the -performance of complex analysis using the SPARQL querying language with no need for additional software. In addition, as it contains the concrete elements -(i.e., diagrammatic data such as diagrams and diagram elements) of OntoUML projects, it can also be used to fully reconstruct the original models. +Differently, the OntoUML Vocabulary was created to support the serialization, exchange, publishing of OntoUML as linked data, and to be used in Semantic Web applications. Models in this format are machine-readable resources intended to support the needs of tool developers and researchers, enabling the performance of complex analysis using the SPARQL querying language with no need for additional software. In addition, as it contains the concrete elements (i.e., diagrammatic data such as diagrams and diagram elements) of OntoUML projects, it can also be used to fully reconstruct the original models. ## Basic Syntactical and Sematic Validation @@ -248,29 +223,27 @@ performance of complex analysis using the SPARQL querying language with no need ## Related Projects -- **[OntoUML Metamodel](https://w3id.org/ontouml/metamodel) - **: Implementation-independent OntoUML Metamodel. Unlike the UML profile, this version is independent of UML and presents only the -- concepts officially supported in the language. This metamodel covers the abstract and concrete syntaxes of the language and serves as the reference for - all projects in the [OntoUML as a Service (OaaS)](https://ceur-ws.org/Vol-2969/paper29-FOMI.pdf) ecosystem, including its different model serializations. +- **[OntoUML Metamodel](https://w3id.org/ontouml/metamodel)**: + Implementation-independent OntoUML Metamodel. Unlike the UML profile, this version is independent of UML and presents only the concepts officially supported in the language. This metamodel covers the abstract and concrete syntaxes of the language and serves as the reference for all projects in the [OntoUML as a Service (OaaS)](https://ceur-ws.org/Vol-2969/paper29-FOMI.pdf) ecosystem, including its different model serializations. + + +- **[OntoUML Vocabulary](https://w3id.org/ontouml/vocabulary)**: + An OntoUML Metamodel's serialization in Turtle (ttl) format. This vocabulary supports the serialization, exchange, and publishing of OntoUML models as graphs that can be used for Semantic Web and Linked Data applications. + -- **[OntoUML Vocabulary](https://w3id.org/ontouml/vocabulary) - **: An OntoUML Metamodel's serialization in Turtle (ttl) format. This vocabulary supports the serialization, exchange, and -- publishing of OntoUML models as graphs that can be used for Semantic Web and Linked Data applications. +- **[OntoUML Schema](https://w3id.org/ontouml/schema)**: + An OntoUML Metamodel's serialization in JSON format. The JSON is a format better suited for manipulation within software code. It supports the exchange of models between modeling tools and the OntoUML server, providing model intelligent services. -- **[OntoUML Schema](https://w3id.org/ontouml/schema)**: An OntoUML Metamodel's serialization in JSON format. The JSON is a format better suited for - manipulation within software code. It supports the exchange of models between modeling tools and the OntoUML server, providing model intelligent services. -- **[ontouml-vp-plugin](https://w3id.org/ontouml/vp-plugin) - **: The OntoUML Plugin for Visual Paradigm adds features designed for OntoUML modelers to any version of the Visual Paradigm - -- a modeling editor that provides a [free for non-commercial version](https://www.visual-paradigm.com/download/community.jsp). These features range from - enabling OntoUML stereotypes in class diagrams to model verification and transformation. +- **[ontouml-vp-plugin](https://w3id.org/ontouml/vp-plugin)**: + The OntoUML Plugin for Visual Paradigm adds features designed for OntoUML modelers to any version of the Visual Paradigm - a modeling editor that provides a [free for non-commercial version](https://www.visual-paradigm.com/download/community.jsp). + These features range from enabling OntoUML stereotypes in class diagrams to model verification and transformation. ## Development Contribution We encourage you to contribute to the development of this software. -The dependencies to develop this software are not the same as the ones to execute it. Hence, it is necessary run the following command on the terminal -inside the project's folder to install all necessary dependencies: +The dependencies to develop this software are not the same as the ones to execute it. Hence, it is necessary run the following command on the terminal inside the project's folder to install all necessary dependencies: ```text pip install -r requirements.txt @@ -278,8 +251,7 @@ pip install -r requirements.txt You also need run `pre-commit install` to set up the git hook scripts. -The ontouml-json2graph package was developed using test-driven-based development. Multiple tests are available inside -the following folder: `ontouml-json2graph/json2graph/tests`. To execute the tests, run the following command from inside the project's root folder: +The ontouml-json2graph package was developed using test-driven-based development. Multiple tests are available inside the following folder: `ontouml-json2graph/json2graph/tests`. To execute the tests, run the following command from inside the project's root folder: ```text pytest .\json2graph\tests\test_main.py @@ -289,10 +261,8 @@ The tests' code documentation [is also available](https://dev.ontouml.org/ontoum ## Author -This project is maintained by the [Semantics, Cybersecurity & Services (SCS) Group](https://www.utwente.nl/en/eemcs/scs/) of the -[University of Twente](https://www.utwente.nl/), The Netherlands. Its developer is: +This project is maintained by the [Semantics, Cybersecurity & Services (SCS) Group](https://www.utwente.nl/en/eemcs/scs/) of the [University of Twente](https://www.utwente.nl/), The Netherlands. Its developer is: - [Pedro Paulo Favato Barcelos](https://orcid.org/0000-0003-2736-7817) [[GitHub](https://github.com/pedropaulofb)] [[LinkedIn](https://www.linkedin.com/in/pedro-paulo-favato-barcelos/)] -Feel free to get in touch using the provided links. For questions, contributions, or to report any problem, you can **[open an issue](https://github.com/OntoUML/ontouml-json2graph/issues)** -at this repository. +Feel free to get in touch using the provided links. For questions, contributions, or to report any problem, you can **[open an issue](https://github.com/OntoUML/ontouml-json2graph/issues)** at this repository. diff --git a/docs/README.html b/docs/README.html index 3c93423..5b472cd 100644 --- a/docs/README.html +++ b/docs/README.html @@ -117,20 +117,13 @@

The OntoUML JSON2Graph Transformation

-

The OntoUML JSON2Graph (ontouml-json2graph) decodes a JSON file that complies with the ontouml-schema (e.g., the ones -exported by the ontouml-vp-plugin) to a graph file that complies with the ontouml-vocabulary.

-

When transforming a model, you can choose to represent only the core concepts of the model or include all of its information, including diagrammatic -elements, as part of the knowledge graph. Additionally, users have the choice to enable basic semantic and syntactical verifications, ensuring enhanced and -accurate transformation results.

-

This application was developed using the RDFLib and Python 3.11. The generated graph file can be serialized in -the diverse formats supported by the RDFLib, which are Turtle, RDF/XML, JSON-LD, -N-Triples, Notation-3, Trig, Trix, and N-Quads.

+

The OntoUML JSON2Graph (ontouml-json2graph) decodes a JSON file that complies with the ontouml-schema (e.g., the ones exported by the ontouml-vp-plugin) to a graph file that complies with the ontouml-vocabulary.

+

When transforming a model, you can choose to represent only the core concepts of the model or include all of its information, including diagrammatic elements, as part of the knowledge graph. Additionally, users have the choice to enable basic semantic and syntactical verifications, ensuring enhanced and accurate transformation results.

+

This application was developed using the RDFLib and Python 3.11. The generated graph file can be serialized in the diverse formats supported by the RDFLib, which are Turtle, RDF/XML, JSON-LD, N-Triples, Notation-3, Trig, Trix, and N-Quads.

📦 PyPI Package: -The transformation is conveniently available as a PyPI package, which allows users to use it as an -executable script or import it as a library into other Python projects.

+The transformation is conveniently available as a PyPI package, which allows users to use it as an executable script or import it as a library into other Python projects.

📚 Code Documentation: -For inquiries and further information, please refer to the comprehensive docstring-generated documentation -available for this project.

+For inquiries and further information, please refer to the comprehensive docstring-generated documentation available for this project.

Contents

@@ -169,8 +162,7 @@

Contents

Installation

-

Before using the OntoUML JSON2Graph Decoder, you need to download and install Python. To install the application you -simply need to perform the following command:

+

Before using the OntoUML JSON2Graph Decoder, you need to download and install Python. To install the application you simply need to perform the following command:

pip install ontouml-json2graph
 
@@ -202,7 +194,7 @@

Arguments
usage: ontouml-json2graph [-h] -i INPUT_PATH [-o OUTPUT_PATH] [-a] [-f {turtle,ttl,turtle2,xml,pretty-xml,json-ld,ntriples,nt,nt11,n3,trig,trix,nquads}]
                           [-l LANGUAGE] [-c] [-s] [-u BASE_URI] [-m] [-v]
 
-OntoUML JSON2Graph Decoder. Version: 1.3.0
+OntoUML JSON2Graph Decoder. Version: 1.3.1
 
 options:
   -h, --help            show this help message and exit
@@ -229,17 +221,11 @@ 

Arguments

Importing as a Library

-

The library.py -module (full documentation) is a user-friendly component of the -ontouml-json2graph package. By encapsulating complex functionalities, this library empowers users to seamlessly integrate OntoUML JSON conversion -capabilities into their projects. In addition to conversion functions, the library provides a utility function for safely saving OntoUML graphs to files in -the desired syntax.

+

The library.py module (full documentation) is a user-friendly component of the ontouml-json2graph package. By encapsulating complex functionalities, this library empowers users to seamlessly integrate OntoUML JSON conversion capabilities into their projects. In addition to conversion functions, the library provides a utility function for safely saving OntoUML graphs to files in the desired syntax.

The library provides the following functions for decoding OntoUML JSON data and saving OntoUML graphs to files:

decode_json_project

-

The decode_json_project function allows you to decode the complete OntoUML JSON data (including elements from OntoUML’s abstract and concrete syntax) into -a knowledge graph that conforms to the OntoUML Vocabulary. This function provides customization options, such as specifying the base URI for ontology -concepts, adding language tags, and enabling error correction. With this function domain-level and diagrammatic data are converted to Knowledge Graph.

+

The decode_json_project function allows you to decode the complete OntoUML JSON data (including elements from OntoUML’s abstract and concrete syntax) into a knowledge graph that conforms to the OntoUML Vocabulary. This function provides customization options, such as specifying the base URI for ontology concepts, adding language tags, and enabling error correction. With this function domain-level and diagrammatic data are converted to Knowledge Graph.

from json2graph.library import decode_json_project
 
 decoded_graph_project = decode_json_project(json_file_path="path/to/input.json", base_uri="https://myuri.org#",
@@ -250,8 +236,7 @@ 

decode_json_project

decode_json_model

The decode_json_model function decodes OntoUML JSON data representing a model-level view into a knowledge graph that adheres to the OntoUML Vocabulary.

-

Differently from the decode_json_model, this function decodes only elements from the OntoUML’s abstract syntax. I.e., only domain-level (and not -diagrammatic) data is converted to knowledge graph. It offers options for base URI, language tags, and error correction.

+

Differently from the decode_json_model, this function decodes only elements from the OntoUML’s abstract syntax. I.e., only domain-level (and not diagrammatic) data is converted to knowledge graph. It offers options for base URI, language tags, and error correction.

from json2graph.library import decode_json_model
 
 decoded_graph_model = decode_json_model(json_file_path="path/to/input.json", base_uri="https://myuri.org#",
@@ -270,39 +255,27 @@ 

save_graph_filesave_graph_file(ontouml_graph, output_file_path, syntax)

-

The valid syntax options are the ones that can be parsed by the RDFLib: turtle, -ttl, turtle2, xml, pretty-xml, json-ld, ntriples, nt, nt11, n3, trig, trix, and nquads.

+

The valid syntax options are the ones that can be parsed by the RDFLib: turtle, ttl, turtle2, xml, pretty-xml, json-ld, ntriples, nt, nt11, n3, trig, trix, and nquads.

Input and Output

-

This software’s input is a JSON file that complies with the OntoUML Schema. This JSON file can be obtained from the -ontouml-vp-plugin’s export feature. The JSON2Graph Decoder was tested to guarantee its compatibility with the JSON -generated by the plugin’s version 0.5.3.

-

The transformation’s output corresponds to the OntoUML Model serialized as a graph. The saved file information is described by the -OntoUML Vocabulary and can be saved in the -different formats that are supported by the RDFLib. +

This software’s **input +** is a JSON file that complies with the OntoUML Schema. This JSON file can be obtained from the ontouml-vp-plugin’s export feature. The JSON2Graph Decoder was tested to guarantee its compatibility with the JSON generated by the plugin’s version 0.5.3.

+

The transformation’s **output +** corresponds to the OntoUML Model serialized as a graph. The saved file information is described by the OntoUML Vocabulary and can be saved in the different formats that are supported by the RDFLib. This output graph may contain the model’s diagrammatic information or not, depending on the user’s provided arguments. -The OntoUML Vocabulary documentation contains a usage overview, presenting information about all -available elements, and about how to use them, including examples of SPARQL queries.

-

Both the input and output of the software are built upon the same metamodel, the OntoUML Metamodel, which facilitates -the conversion between different representations.

+The OntoUML Vocabulary documentation contains a usage overview, presenting information about all available elements, and about how to use them, including examples of SPARQL queries.

+

Both the input and output of the software are built upon the same metamodel, the OntoUML Metamodel, which facilitates the conversion between different representations.

OntoUML Vocabulary and gUFO

-

The ontouml-vp-plugin has a feature that enables an ontology to be transformed from OntoUML to a graph format. This feature is called the Model -Transformation to OWL with gUFO. [gUFO](https://nemo-ufes.github. -io/gufo/) is a lightweight implementation of the OntoUML’s underlying foundational ontology, the Unified Foundational Ontology (UFO).

-

Even though an ontology represented in gUFO and in the OntoUML Vocabulary are both suitable for Semantic Web OWL 2 DL applications, these two -representations are different and were created with different purposes.

-

gUFO is intended for reuse in the definition of UFO-based lightweight ontologies. Reuse of gUFO consists in instantiating and/or specializing the various -entities defined in the ontology, inheriting from it the domain-independent distinctions of UFO. A key feature of UFO (and hence, gUFO) is that it includes -two taxonomies: one with classes whose instances are individuals (classes in this taxonomy include gufo:Object, gufo:Event) and another with -classes whose instances are types (classes in this taxonomy include gufo:Kind, gufo:Phase, gufo:Category).

-

Differently, the OntoUML Vocabulary was created to support the serialization, exchange, publishing of OntoUML as linked data, and to be used in Semantic Web -applications. Models in this format are machine-readable resources intended to support the needs of tool developers and researchers, enabling the -performance of complex analysis using the SPARQL querying language with no need for additional software. In addition, as it contains the concrete elements -(i.e., diagrammatic data such as diagrams and diagram elements) of OntoUML projects, it can also be used to fully reconstruct the original models.

+

The ontouml-vp-plugin has a feature that enables an ontology to be transformed from OntoUML to a graph format. This feature is called the Model Transformation to OWL with gUFO. +gUFO is a lightweight implementation of the OntoUML’s underlying foundational ontology, the Unified Foundational +Ontology (UFO).

+

Even though an ontology represented in gUFO and in the OntoUML Vocabulary are both suitable for Semantic Web OWL 2 DL applications, these two representations are different and were created with different purposes.

+

gUFO is intended for reuse in the definition of UFO-based lightweight ontologies. Reuse of gUFO consists in instantiating and/or specializing the various entities defined in the ontology, inheriting from it the domain-independent distinctions of UFO. A key feature of UFO (and hence, gUFO) is that it includes two taxonomies: one with classes whose instances are individuals (classes in this taxonomy include gufo:Object, gufo:Event) and another with classes whose instances are types (classes in this taxonomy include gufo:Kind, gufo:Phase, gufo:Category).

+

Differently, the OntoUML Vocabulary was created to support the serialization, exchange, publishing of OntoUML as linked data, and to be used in Semantic Web applications. Models in this format are machine-readable resources intended to support the needs of tool developers and researchers, enabling the performance of complex analysis using the SPARQL querying language with no need for additional software. In addition, as it contains the concrete elements (i.e., diagrammatic data such as diagrams and diagram elements) of OntoUML projects, it can also be used to fully reconstruct the original models.

@@ -353,32 +326,26 @@

Permanent URLs and Identifiers

Related Projects

Development Contribution

We encourage you to contribute to the development of this software.

-

The dependencies to develop this software are not the same as the ones to execute it. Hence, it is necessary run the following command on the terminal -inside the project’s folder to install all necessary dependencies:

+

The dependencies to develop this software are not the same as the ones to execute it. Hence, it is necessary run the following command on the terminal inside the project’s folder to install all necessary dependencies:

pip install -r requirements.txt
 

You also need run pre-commit install to set up the git hook scripts.

-

The ontouml-json2graph package was developed using test-driven-based development. Multiple tests are available inside -the following folder: ontouml-json2graph/json2graph/tests. To execute the tests, run the following command from inside the project’s root folder:

+

The ontouml-json2graph package was developed using test-driven-based development. Multiple tests are available inside the following folder: ontouml-json2graph/json2graph/tests. To execute the tests, run the following command from inside the project’s root folder:

pytest .\json2graph\tests\test_main.py
 
@@ -386,13 +353,11 @@

Development Contribution

Author

-

This project is maintained by the Semantics, Cybersecurity & Services (SCS) Group of the -University of Twente, The Netherlands. Its developer is:

+

This project is maintained by the Semantics, Cybersecurity & Services (SCS) Group of the University of Twente, The Netherlands. Its developer is:

-

Feel free to get in touch using the provided links. For questions, contributions, or to report any problem, you can open an issue -at this repository.

+

Feel free to get in touch using the provided links. For questions, contributions, or to report any problem, you can open an issue at this repository.

diff --git a/docs/searchindex.js b/docs/searchindex.js index 4c24215..8b788ad 100644 --- a/docs/searchindex.js +++ b/docs/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["README", "autoapi/index", "autoapi/json2graph/decode/index", "autoapi/json2graph/decoder/decode_general/index", "autoapi/json2graph/decoder/decode_main/index", "autoapi/json2graph/decoder/decode_obj_class/index", "autoapi/json2graph/decoder/decode_obj_diagram/index", "autoapi/json2graph/decoder/decode_obj_elementview/index", "autoapi/json2graph/decoder/decode_obj_generalization/index", "autoapi/json2graph/decoder/decode_obj_generalizationset/index", "autoapi/json2graph/decoder/decode_obj_package/index", "autoapi/json2graph/decoder/decode_obj_path/index", "autoapi/json2graph/decoder/decode_obj_project/index", "autoapi/json2graph/decoder/decode_obj_property/index", "autoapi/json2graph/decoder/decode_obj_rectangularshape/index", "autoapi/json2graph/decoder/decode_obj_relation/index", "autoapi/json2graph/decoder/index", "autoapi/json2graph/index", "autoapi/json2graph/library/index", "autoapi/json2graph/modules/arguments/index", "autoapi/json2graph/modules/errors/index", "autoapi/json2graph/modules/index", "autoapi/json2graph/modules/input_output/index", "autoapi/json2graph/modules/logger/index", "autoapi/json2graph/modules/messages/index", "autoapi/json2graph/modules/metadata/index", "autoapi/json2graph/modules/sparql_queries/index", "autoapi/json2graph/modules/utils_general/index", "autoapi/json2graph/modules/utils_graph/index", "autoapi/json2graph/modules/utils_validations/index", "autoapi/json2graph/tests/index", "autoapi/json2graph/tests/test_aux/index", "autoapi/json2graph/tests/test_main/index", "index", "json2graph", "modules"], "filenames": ["README.md", "autoapi/index.rst", "autoapi/json2graph/decode/index.rst", "autoapi/json2graph/decoder/decode_general/index.rst", "autoapi/json2graph/decoder/decode_main/index.rst", "autoapi/json2graph/decoder/decode_obj_class/index.rst", "autoapi/json2graph/decoder/decode_obj_diagram/index.rst", "autoapi/json2graph/decoder/decode_obj_elementview/index.rst", "autoapi/json2graph/decoder/decode_obj_generalization/index.rst", "autoapi/json2graph/decoder/decode_obj_generalizationset/index.rst", "autoapi/json2graph/decoder/decode_obj_package/index.rst", "autoapi/json2graph/decoder/decode_obj_path/index.rst", "autoapi/json2graph/decoder/decode_obj_project/index.rst", "autoapi/json2graph/decoder/decode_obj_property/index.rst", "autoapi/json2graph/decoder/decode_obj_rectangularshape/index.rst", "autoapi/json2graph/decoder/decode_obj_relation/index.rst", "autoapi/json2graph/decoder/index.rst", "autoapi/json2graph/index.rst", "autoapi/json2graph/library/index.rst", "autoapi/json2graph/modules/arguments/index.rst", "autoapi/json2graph/modules/errors/index.rst", "autoapi/json2graph/modules/index.rst", "autoapi/json2graph/modules/input_output/index.rst", "autoapi/json2graph/modules/logger/index.rst", "autoapi/json2graph/modules/messages/index.rst", "autoapi/json2graph/modules/metadata/index.rst", "autoapi/json2graph/modules/sparql_queries/index.rst", "autoapi/json2graph/modules/utils_general/index.rst", "autoapi/json2graph/modules/utils_graph/index.rst", "autoapi/json2graph/modules/utils_validations/index.rst", "autoapi/json2graph/tests/index.rst", "autoapi/json2graph/tests/test_aux/index.rst", "autoapi/json2graph/tests/test_main/index.rst", "index.rst", "json2graph.rst", "modules.rst"], "titles": ["The OntoUML JSON2Graph Transformation", "API Reference", "json2graph.decode", "json2graph.decoder.decode_general", "json2graph.decoder.decode_main", "json2graph.decoder.decode_obj_class", "json2graph.decoder.decode_obj_diagram", "json2graph.decoder.decode_obj_elementview", "json2graph.decoder.decode_obj_generalization", "json2graph.decoder.decode_obj_generalizationset", "json2graph.decoder.decode_obj_package", "json2graph.decoder.decode_obj_path", "json2graph.decoder.decode_obj_project", "json2graph.decoder.decode_obj_property", "json2graph.decoder.decode_obj_rectangularshape", "json2graph.decoder.decode_obj_relation", "json2graph.decoder", "json2graph", "json2graph.library", "json2graph.modules.arguments", "json2graph.modules.errors", "json2graph.modules", "json2graph.modules.input_output", "json2graph.modules.logger", "json2graph.modules.messages", "json2graph.modules.metadata", "json2graph.modules.sparql_queries", "json2graph.modules.utils_general", "json2graph.modules.utils_graph", "json2graph.modules.utils_validations", "json2graph.tests", "json2graph.tests.test_aux", "json2graph.tests.test_main", "Welcome to ontouml-json2graph\u2019s documentation!", "json2graph package", "json2graph"], "terms": {"decod": [0, 1, 17, 18, 19, 24, 26, 29], "json": [0, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 22, 24, 26, 31, 32], "file": [0, 2, 12, 16, 17, 18, 19, 20, 21, 22, 25, 28, 29, 30, 31, 32, 34], "compli": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "schema": 0, "e": [0, 3, 13, 18, 20, 28], "g": [0, 20], "ones": [0, 4], "export": 0, "vp": 0, "plugin": 0, "graph": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 22, 28, 31, 32], "when": [0, 2, 3, 4, 5, 12, 13, 19, 20], "model": [0, 2, 12, 18, 19, 32], "you": [0, 23], "can": [0, 14, 20, 23, 28], "choos": 0, "repres": [0, 2, 5, 15, 18, 32], "onli": [0, 2, 3, 18, 19, 20, 31], "core": 0, "concept": [0, 2, 4, 18, 19], "includ": [0, 3, 18, 22], "all": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 26, 29, 31], "its": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 28], "inform": [0, 2, 4, 18, 19, 22, 23, 24, 28], "diagrammat": [0, 2, 18, 19], "element": [0, 3, 13, 18], "part": 0, "knowledg": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19], "addition": 0, "user": [0, 2, 4, 18, 19, 20, 22, 24, 28], "have": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 28], "choic": 0, "enabl": [0, 18, 28], "semant": [0, 13], "verif": 0, "ensur": [0, 29, 32], "enhanc": 0, "accur": 0, "result": [0, 2, 5, 7, 8, 9, 15, 18, 19, 31, 32], "thi": [0, 1, 2, 3, 4, 5, 12, 13, 14, 18, 19, 20, 23, 24, 29, 32], "applic": 0, "wa": [0, 5, 10, 20], "us": [0, 2, 3, 5, 10, 13, 18, 19, 20, 22, 24, 26, 28, 29, 31, 32], "rdflib": [0, 2, 18, 28], "python": [0, 27], "3": [0, 20, 27], "11": [0, 27], "gener": [0, 1, 2, 3, 4, 8, 9, 14, 18, 19, 20, 31, 32], "serial": 0, "divers": [0, 22, 27], "format": [0, 13, 18, 19, 27, 28, 32], "support": 0, "which": [0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20, 28, 32], "ar": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 20, 23, 28, 31, 32], "turtl": [0, 19, 32], "rdf": [0, 4, 18, 26], "xml": 0, "ld": 0, "n": 0, "tripl": 0, "notat": 0, "trig": 0, "trix": 0, "quad": 0, "pypi": 0, "packag": [0, 6, 10, 12, 18, 35], "i": [0, 2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20, 25, 28, 29, 31, 32], "conveni": 0, "avail": [0, 4, 32], "allow": [0, 4, 18, 23], "an": [0, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 20, 22, 24, 29, 32], "other": [0, 13], "code": [0, 3, 5, 24, 27], "document": [0, 1], "For": [0, 3, 27], "inquiri": 0, "further": 0, "pleas": 0, "refer": [0, 5, 33], "comprehens": 0, "docstr": 0, "befor": 0, "need": 0, "download": 0, "To": 0, "simpli": 0, "perform": [0, 13, 19, 28, 29], "follow": [0, 2, 15], "command": [0, 19], "pip": 0, "depend": 0, "automat": [0, 25], "readi": 0, "after": [0, 5], "being": [0, 13], "anoth": [0, 3], "save": [0, 2, 18, 19, 20, 22], "directori": [0, 2, 19, 20, 22, 29], "name": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 20, 22, 23, 26, 28, 31], "same": 0, "path": [0, 2, 11, 18, 19, 22, 28, 29, 31, 32], "softwar": [0, 19, 20, 25, 28, 29, 32], "run": [0, 2, 32], "termin": 0, "insid": [0, 2], "": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20, 22, 24, 28], "folder": [0, 2, 31, 32], "m": 0, "path_to_json": 0, "option": [0, 2, 3, 10, 18, 19, 24, 28], "exampl": [0, 2, 18, 19], "my_ontologi": 0, "would": 0, "also": [0, 3, 19, 32], "multipl": [0, 2, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "do": [0, 5, 13, 22], "decode_al": [0, 29], "my_data": 0, "mandatori": [0, 5], "must": [0, 5, 18, 19, 20, 24], "substitut": 0, "locat": 0, "your": 0, "comput": 0, "provid": [0, 2, 18, 19, 20, 23, 28, 29, 32], "addit": [0, 18], "featur": 0, "observ": 0, "below": 0, "h": 0, "input_path": [0, 19, 29], "o": [0, 19], "output_path": [0, 19], "f": 0, "ttl": [0, 19, 28, 31, 32], "turtle2": 0, "pretti": 0, "ntripl": 0, "nt": 0, "nt11": 0, "n3": 0, "nquad": 0, "l": 0, "languag": [0, 2, 4, 18, 19], "c": [0, 5], "u": 0, "base_uri": [0, 2, 18, 19], "v": 0, "version": [0, 28], "1": [0, 1, 5, 20], "0": [0, 5, 20], "help": 0, "show": [0, 26], "messag": [0, 1, 2, 5, 15, 17, 19, 20, 21, 23], "exit": [0, 10], "default": [0, 2, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 28], "work": [0, 28], "convert": [0, 2, 5, 18], "tag": [0, 2, 4, 18, 19], "ontologi": [0, 2, 4, 18, 19, 22, 28], "none": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20, 22, 24, 29, 32], "correct": [0, 2, 18, 19, 24, 32], "silent": [0, 2, 19, 24], "mode": [0, 2, 4, 19, 23, 24, 29], "doe": [0, 22, 32], "present": [0, 3, 5, 6, 12, 13, 31], "warn": [0, 5, 13, 15, 24], "error": [0, 1, 2, 3, 5, 17, 18, 19, 21, 23, 28, 29, 32], "base": [0, 2, 5, 18, 19, 23, 32], "uri": [0, 2, 18, 19], "http": [0, 2, 18, 19, 26, 27], "org": [0, 2, 18, 19, 26, 27], "model_onli": [0, 2, 19], "keep": 0, "elimin": 0, "data": [0, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 22, 24], "from": [0, 3, 5, 13, 18, 20, 25, 28, 32], "print": [0, 20, 24, 31], "more": 0, "w3id": [0, 26], "py": [0, 18], "modul": [0, 1, 17, 33, 35], "full": [0, 4, 13], "friendli": [0, 18], "compon": 0, "By": [0, 18], "encapsul": [0, 18], "complex": 0, "function": 0, "empow": [0, 18], "seamlessli": 0, "integr": [0, 18], "convers": [0, 2, 18, 19], "capabl": [0, 18], "In": [0, 18], "util": [0, 18, 27, 28], "safe": [0, 18, 22, 28], "desir": [0, 3, 10, 18, 20, 22], "syntax": [0, 2, 18, 19, 22], "complet": [0, 18, 22, 31], "abstract": [0, 12, 18], "concret": [0, 18], "conform": 0, "custom": [0, 2, 18, 23], "specifi": [0, 2, 18, 27], "ad": [0, 2, 4, 18, 19], "With": 0, "domain": [0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18], "level": [0, 18, 23], "decoded_graph_project": 0, "json_file_path": [0, 2, 18], "myuri": 0, "en": 0, "true": [0, 2, 5, 18, 19, 28], "view": [0, 18], "adher": [0, 18], "differ": [0, 2, 5, 13, 23, 29], "It": [0, 18, 19, 29], "offer": [0, 18], "decoded_graph_model": 0, "wai": [0, 18, 25], "output_file_path": [0, 18, 22], "output_graph": 0, "etc": 0, "ontouml_graph": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 22], "pars": [0, 19], "obtain": [0, 13, 14, 20], "test": [0, 1, 2, 4, 17, 19, 23, 29], "guarante": [0, 28], "compat": 0, "5": 0, "correspond": [0, 2, 28, 31], "describ": 0, "mai": [0, 5, 12], "contain": [0, 1, 3, 5, 10, 13, 19, 24, 31, 32], "overview": 0, "about": [0, 2, 4, 23, 24, 25], "how": 0, "them": [0, 5, 13], "sparql": [0, 26], "queri": [0, 26], "both": [0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 28, 31], "built": 0, "upon": 0, "metamodel": 0, "facilit": 0, "between": [0, 5, 6, 10, 12, 13, 15], "represent": [0, 5], "ha": [0, 3, 5, 13, 15, 22], "call": [0, 5, 23, 28], "owl": [0, 4], "nemo": 0, "uf": 0, "github": 0, "io": [0, 20, 22], "lightweight": 0, "implement": 0, "underli": [0, 18], "foundat": 0, "unifi": 0, "ufo": 0, "even": 0, "though": 0, "suitabl": 0, "web": [0, 28], "2": [0, 5, 20], "dl": 0, "two": [0, 25], "were": [0, 5], "creat": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 22, 23], "purpos": 0, "intend": 0, "reus": 0, "definit": 0, "consist": 0, "instanti": 0, "special": 0, "variou": [0, 20], "entiti": [0, 12, 28], "defin": [0, 2, 5, 10, 23, 32], "inherit": 0, "independ": 0, "distinct": [0, 26], "A": [0, 5, 18, 29], "kei": [0, 3], "henc": [0, 5], "taxonomi": 0, "one": [0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 25, 29], "class": [0, 5, 9, 12, 13, 26, 28], "whose": 0, "instanc": [0, 3, 4, 5, 11, 13, 14, 15], "individu": [0, 5, 28], "object": [0, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 24, 28], "event": [0, 13], "type": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20, 22, 23, 24, 26, 27, 28, 29, 31, 32], "kind": 0, "phase": 0, "categori": 0, "exchang": 0, "publish": 0, "link": 0, "machin": 0, "readabl": 0, "resourc": [0, 28], "tool": 0, "research": 0, "analysi": 0, "diagram": [0, 6, 12], "fulli": 0, "reconstruct": 0, "origin": 0, "report": [0, 5, 13, 20, 28], "incompat": 0, "attribut": [0, 5, 15], "isextension": [0, 5], "null": [0, 3, 5, 9], "ispowertyp": [0, 5], "set": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "stereotyp": [0, 3, 5, 13, 15, 24, 26], "collect": [0, 5, 20], "remov": [0, 3, 5], "fals": [0, 2, 5, 9, 13, 15, 18, 19, 28], "order": [0, 5], "miss": 0, "invalid": [0, 5, 13, 15, 20, 29], "assign": [0, 5, 13, 14], "enumer": 0, "classstereotyp": [0, 5], "relationstereotyp": [0, 15], "properti": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 24, 26, 28], "propertystereotyp": [0, 13], "assert": [0, 32], "known": [0, 4, 13], "repositori": 0, "doc": [0, 27], "releas": 0, "latest": 0, "specif": [0, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "where": [0, 26], "number": [0, 24], "unlik": 0, "uml": 0, "profil": 0, "offici": 0, "cover": 0, "serv": [0, 18], "servic": 0, "oaa": 0, "ecosystem": 0, "better": 0, "suit": 0, "manipul": [0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "within": [0, 18], "server": 0, "intellig": 0, "visual": 0, "paradigm": 0, "add": [0, 3, 4], "design": [0, 18, 20], "ani": 0, "editor": 0, "free": 0, "non": [0, 5], "commerci": 0, "These": [0, 5, 20], "rang": [0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "we": 0, "encourag": 0, "necessari": [0, 3, 5, 13, 19, 20], "r": 0, "requir": [0, 20], "txt": 0, "pre": 0, "commit": 0, "up": 0, "git": 0, "hook": 0, "driven": 0, "root": 0, "pytest": 0, "test_main": [0, 1, 17, 30], "maintain": 0, "cybersecur": 0, "sc": 0, "group": 0, "univers": 0, "twent": 0, "netherland": 0, "Its": 0, "pedro": 0, "paulo": 0, "favato": 0, "barcelo": 0, "linkedin": 0, "feel": 0, "get": [0, 24, 28], "touch": 0, "question": 0, "problem": [0, 5], "open": 0, "issu": 0, "page": [1, 33], "auto": 1, "json2graph": 1, "decode_gener": [1, 16, 17], "decode_main": [1, 16, 17], "decode_obj_class": [1, 16, 17], "decode_obj_diagram": [1, 16, 17], "decode_obj_elementview": [1, 16, 17], "decode_obj_gener": [1, 16, 17], "decode_obj_generalizationset": [1, 16, 17], "decode_obj_packag": [1, 16, 17], "decode_obj_path": [1, 16, 17], "decode_obj_project": [1, 16, 17], "decode_obj_properti": [1, 16, 17], "decode_obj_rectangularshap": [1, 16, 17], "decode_obj_rel": [1, 16, 17], "argument": [1, 2, 4, 17, 21, 22, 27, 28, 29], "input_output": [1, 17, 21], "logger": [1, 3, 4, 13, 17, 19, 20, 21, 22, 24, 25, 28], "metadata": [1, 4, 17, 21], "sparql_queri": [1, 17, 21], "utils_gener": [1, 17, 21], "utils_graph": [1, 17, 21], "utils_valid": [1, 17, 21], "test_aux": [1, 17, 30], "librari": [1, 17, 19, 27], "sphinx": 1, "autoapi": 1, "main": [2, 3, 32], "script": [2, 4, 19, 23, 29], "ontouml": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 22, 25, 26, 28, 32], "flexibl": 2, "output": [2, 18, 22, 23], "control": [2, 23, 28], "execut": [2, 4, 19, 20, 23, 29], "case": [2, 12, 13, 20], "decode_ontouml_json2graph": 2, "execution_mod": [2, 4, 23, 29], "import": [2, 4, 23, 29], "take": 2, "paramet": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20, 22, 23, 24, 27, 28, 29, 31, 32], "str": [2, 3, 4, 10, 13, 18, 19, 20, 22, 23, 24, 27, 28, 29, 31, 32], "bool": [2, 18, 19, 28, 29, 31], "If": [2, 3, 5, 9, 18, 19, 22, 28], "extract": [2, 19], "without": [2, 3, 19], "suppress": [2, 19], "intermedi": [2, 19], "commun": [2, 19], "log": [2, 19, 23, 24], "dure": [2, 18, 19, 20], "attempt": [2, 18, 19], "potenti": [2, 18, 19], "process": [2, 18, 19], "valid": [2, 4, 13, 19, 20, 23, 27, 29, 32, 33], "valu": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 19, 20, 23, 26, 29, 31], "return": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20, 22, 23, 24, 27, 28, 29, 31, 32], "compliant": [2, 18, 22], "vocabulari": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 22, 28], "write_graph_fil": 2, "receiv": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20, 22, 24, 27, 28, 29], "decode_all_ontouml_json2graph": 2, "each": [2, 23, 32], "The": [2, 4, 5, 13, 14, 15, 18, 19, 23, 28, 29, 32, 33], "chosen": 2, "decoded_graph": 2, "create_point": 3, "point_id": 3, "x_coord": 3, "y_coord": 3, "new": 3, "point": [3, 11, 14], "xcoordin": [3, 14], "ycoordin": [3, 14], "id": [3, 5, 10, 13], "int": 3, "horizont": 3, "coordin": 3, "vertic": 3, "count_elements_graph": 3, "dictionari": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 19, 22, 24], "respect": [3, 5, 6, 12], "quantiti": [3, 5, 6, 12], "load": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20, 22, 24, 25, 28], "dict": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 22, 24], "get_stereotyp": 3, "object_dict": [3, 24], "reason": 3, "index": [3, 33], "check": [3, 5, 13, 22], "evalu": [3, 4, 20, 31], "absent": 3, "get_list_subdictionaries_for_specific_typ": 3, "dictionary_data": [3, 4], "wanted_typ": 3, "return_list": 3, "recurs": [3, 4, 10], "access": [3, 13, 19], "until": 3, "find": 3, "found": [3, 10], "copi": 3, "list": [3, 4, 10, 20, 29, 31, 32], "sub": 3, "field": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "search": [3, 33], "get_subdictionary_for_specific_id": 3, "wanted_id": 3, "return_dict": 3, "get_all_ids_of_specific_typ": 3, "list_ids_for_typ": 3, "given": [3, 10, 29], "identifi": [3, 5, 10, 20, 33], "clean_null_data": 3, "empti": [3, 16, 17, 21, 30, 34], "associ": [3, 5, 13, 15, 24], "verifi": [3, 5, 31, 32], "compos": 3, "clean": 3, "add_metadata": 4, "basic": [4, 33], "dct": 4, "conformsto": 4, "conformstobas": 4, "creation": 4, "date": [4, 27], "comment": 4, "seealso": 4, "decode_dictionari": 4, "possibl": [4, 5, 19, 24], "directli": [4, 5, 14], "descript": [4, 18, 20], "height": [4, 14], "isabstract": [4, 5, 15], "iscomplet": [4, 9], "isderiv": [4, 5, 13, 15], "isdisjoint": [4, 9], "isord": [4, 13], "isreadonli": [4, 13], "text": 4, "width": [4, 14], "restrict": 4, "restricted_field": 4, "treat": [4, 5, 13], "decode_json_to_graph": 4, "json_data": [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "input": [4, 22, 29], "nomenclatur": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "set_": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "subject": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "_": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "predic": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "_relat": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "_attribut": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "_properti": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "validate_class_attribute_constraint": 5, "class_dict": 5, "constraint": 5, "relat": [5, 6, 12, 13, 15, 28, 33], "correctli": 5, "consid": [5, 12], "fix": [5, 13], "thei": [5, 14], "pair": 5, "vca1": 5, "noth": [5, 22], "vca2a": 5, "vca2b": 5, "vca3a": 5, "vca3b": 5, "validate_class_order_constraint": 5, "vco1": 5, "greater": 5, "than": 5, "vco2": 5, "abov": 5, "displai": [5, 13, 24], "set_defaults_class_attribut": 5, "nullabl": 5, "dca1": 5, "dca2": 5, "dca3": 5, "dca4": 5, "set_defaults_class_ord": 5, "dco1": 5, "dco2": 5, "set_class_stereotyp": 5, "vcs1": 5, "vcs2": 5, "set_class_order_nonnegativeinteg": 5, "integ": [5, 14], "b": 5, "posit": 5, "orderless": 5, "set_class_restrictedto_ontologicalnatur": 5, "restrictedto": 5, "ontologicalnatur": 5, "set_class_attribut": 5, "set_class_default": 5, "chang": 5, "becaus": [5, 13], "set_class_attribute_properti": 5, "set_class_literal_liter": 5, "liter": 5, "create_class_properti": 5, "element_count": [5, 6, 12], "whole": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "xsd": [5, 13, 14, 15], "nonnegativeinteg": [5, 13], "boolean": [5, 13, 15, 31], "One": 5, "characterist": 5, "here": 5, "_default": [6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "set_diagram_owner_modelel": 6, "diagram_dict": 6, "owner": 6, "set_diagram_containsview_elementview": 6, "containsview": 6, "elementview": [6, 7], "create_diagram_properti": 6, "modelel": [6, 7, 10], "element_view_typ": 7, "classview": 7, "packageview": 7, "generalizationsetview": 7, "relationview": 7, "generalizationview": 7, "noteview": 7, "set_elementview_rel": 7, "elementview_dict": 7, "shape": 7, "isviewof": 7, "create_elementview_properti": 7, "sourceview": 7, "connectorview": 7, "targetview": 7, "set_generalization_rel": 8, "generalization_dict": 8, "create_generalization_properti": 8, "classifi": [8, 13], "generalizationset": 9, "set_generalizationset_default": 9, "generalizationset_dict": 9, "set_generalizationset_rel": 9, "categor": 9, "create_generalizationset_properti": 9, "get_package_cont": 10, "package_dict": 10, "package_id": 10, "list_cont": 10, "alreadi": 10, "set_package_containsmodelelement_modelel": 10, "containsmodelel": 10, "create_package_properti": 10, "set_path_path_point": 11, "path_dict": 11, "create_path_properti": 11, "project": [12, 18, 33], "set_ontoumlelement_project_project": 12, "project_dict": 12, "obj": 12, "subj": 12, "set_project_model_packag": 12, "set_project_diagram_diagram": 12, "create_project_properti": 12, "everi": [12, 19], "ontoumlel": [12, 26], "validate_property_stereotyp": 13, "syntact": [13, 33], "what": 13, "itself": 13, "much": 13, "straightforward": 13, "vps1": 13, "begin": [13, 26], "end": [13, 26], "vps2": 13, "vps3": 13, "set_property_default": 13, "property_dict": 13, "dpa1": 13, "dpa2": 13, "dpa3": 13, "set_property_rel": 13, "aggregationkind": 13, "propertytyp": [13, 26], "determine_cardinality_bound": 13, "cardin": 13, "property_id": [13, 26], "string": [13, 20, 26, 27, 28], "cardinalityvalu": 13, "decoupl": 13, "lowerbound": 13, "upperbound": 13, "lower": 13, "upper": 13, "bound": 13, "own": 13, "tupl": 13, "three": [13, 31], "set_cardinality_rel": 13, "create_property_properti": 13, "subsetsproperti": 13, "redefinesproperti": 13, "rectangularshar": 14, "set_rectangularshape_coordin": 14, "rectangularshape_dict": 14, "topleftposit": 14, "rectangularshap": 14, "create_rectangularshape_properti": 14, "set_relation_default": 15, "relation_dict": 15, "dra1": 15, "dra2": 15, "set_relation_stereotyp": 15, "vrs1": 15, "set_relation_rel": 15, "relationend": 15, "sourceend": 15, "targetend": 15, "create_relation_properti": 15, "__init__": [16, 17, 21, 30, 34], "versatil": 18, "broader": 18, "streamlin": 18, "effortlessli": 18, "save_graph_fil": 18, "decode_json_project": 18, "label": 18, "decode_json_model": 18, "secur": 18, "destin": [18, 22], "while": 18, "extens": [18, 22], "treatment": 19, "start": 19, "make": 19, "variabl": 19, "global": 19, "initialize_args_script": 19, "line": 19, "initi": [19, 23], "initialize_args_import": 19, "not_initi": 19, "getcwd": 19, "graph_format": 19, "initialize_args_test": 19, "scenario": 20, "occur": 20, "improv": 20, "robust": 20, "reliabl": 20, "program": 20, "clear": 20, "rais": [20, 29, 32], "appropri": 20, "except": 20, "report_error_requirement_not_met": 20, "error_messag": 20, "caus": 20, "met": 20, "As": 20, "indic": [20, 29, 31], "detect": 20, "valueerror": 20, "alwai": [20, 28, 32], "report_error_invalid_paramet": 20, "invalid_paramet": 20, "list_valid_paramet": 20, "caller_function_nam": 20, "pass": 20, "accept": [20, 27, 29], "alfa": 20, "beta": 20, "gama": 20, "note": 20, "current_funct": 20, "inspect": 20, "stack": 20, "report_error_end_of_switch": 20, "switch": 20, "els": 20, "statement": [20, 31], "report_error_io_read": 20, "desired_cont": 20, "file_descript": [20, 22], "cannot": 20, "read": [20, 25], "test_fil": [20, 31], "oper": 20, "oserror": 20, "report_error_io_writ": 20, "write": 20, "occas": 22, "create_directory_if_not_exist": 22, "directory_path": 22, "exist": 22, "safe_load_json_fil": 22, "json_path": 22, "safe_write_graph_fil": 22, "configur": 23, "consol": 23, "initialize_logg": 23, "trigger": 23, "info": 23, "concentr": 24, "whenev": 24, "get_decode_log_messag": 24, "warning_cod": 24, "property_nam": 24, "att_valid_stereotyp": 24, "mount": 24, "accord": [24, 27], "select": [24, 26], "modif": 24, "made": 24, "print_decode_log_messag": 24, "predefin": [24, 29], "pyproject": 25, "toml": 25, "manual": 25, "insert": 25, "get_element_and_typ": 26, "multilin": 26, "prefix": 26, "inst_typ": 26, "subclassof": 26, "inst_id": 26, "get_class_stereotype_attribute_stereotyp": 26, "class_id": 26, "class_stereotyp": 26, "class_nam": 26, "property_stereotyp": 26, "auxiliari": [27, 31], "get_date_tim": 27, "date_time_format": 27, "time": 27, "datetim": 27, "html": 27, "strftime": 27, "strptime": 27, "current": 27, "ontouml_ref": 28, "uriref": 28, "load_ontouml_vocabulari": 28, "enable_remot": 28, "memori": 28, "equal": [28, 31], "first": 28, "tri": 28, "fail": 28, "form": 28, "local": 28, "disabl": 28, "significantli": 28, "decreas": 28, "howev": 28, "most": 28, "recent": 28, "try": 28, "remot": 28, "sourc": 28, "load_graph_saf": 28, "ontology_fil": 28, "not_provid": 28, "validate_arg_input": 29, "flag": 29, "whether": 29, "validate_execution_mod": 29, "against": 29, "get_test_list": [31, 32], "print_graphs_differ": 31, "iso_result_graph": 31, "iso_expected_graph": 31, "test_nam": 31, "_both": 31, "expect": [31, 32], "_or": 31, "_oe": 31, "isomorph": 31, "comparison": [31, 32], "neg": 31, "compare_graph": [31, 32], "resulting_graph_path": 31, "expected_graph_path": 31, "store": 32, "list_of_test": 32, "retriev": 32, "done": 32, "should": 32, "successfulli": 32, "match": 32, "test_ontouml_json2graph": 32, "input_fil": 32, "transform": 33, "instal": 33, "usag": 33, "semat": 33, "perman": 33, "url": 33, "develop": 33, "contribut": 33, "author": 33, "api": 33, "subpackag": 35, "submodul": 35, "main_decod": 35, "content": 35}, "objects": {"": [[34, 0, 0, "-", "json2graph"]], "json2graph": [[2, 0, 0, "-", "decode"], [16, 0, 0, "-", "decoder"], [18, 0, 0, "-", "library"], [21, 0, 0, "-", "modules"], [30, 0, 0, "-", "tests"]], "json2graph.decode": [[2, 1, 1, "", "decode_all_ontouml_json2graph"], [2, 1, 1, "", "decode_ontouml_json2graph"], [2, 2, 1, "", "decoded_graph"], [2, 1, 1, "", "write_graph_file"]], "json2graph.decoder": [[3, 0, 0, "-", "decode_general"], [4, 0, 0, "-", "decode_main"], [5, 0, 0, "-", "decode_obj_class"], [6, 0, 0, "-", "decode_obj_diagram"], [7, 0, 0, "-", "decode_obj_elementview"], [8, 0, 0, "-", "decode_obj_generalization"], [9, 0, 0, "-", "decode_obj_generalizationset"], [10, 0, 0, "-", "decode_obj_package"], [11, 0, 0, "-", "decode_obj_path"], [12, 0, 0, "-", "decode_obj_project"], [13, 0, 0, "-", "decode_obj_property"], [14, 0, 0, "-", "decode_obj_rectangularshape"], [15, 0, 0, "-", "decode_obj_relation"]], "json2graph.decoder.decode_general": [[3, 2, 1, "", "LOGGER"], [3, 1, 1, "", "clean_null_data"], [3, 1, 1, "", "count_elements_graph"], [3, 1, 1, "", "create_point"], [3, 1, 1, "", "get_all_ids_of_specific_type"], [3, 1, 1, "", "get_list_subdictionaries_for_specific_type"], [3, 1, 1, "", "get_stereotype"], [3, 1, 1, "", "get_subdictionary_for_specific_id"]], "json2graph.decoder.decode_main": [[4, 2, 1, "", "LOGGER"], [4, 1, 1, "", "add_metadata"], [4, 1, 1, "", "decode_dictionary"], [4, 1, 1, "", "decode_json_to_graph"]], "json2graph.decoder.decode_obj_class": [[5, 1, 1, "", "create_class_properties"], [5, 1, 1, "", "set_class_attribute_property"], [5, 1, 1, "", "set_class_attributes"], [5, 1, 1, "", "set_class_literal_literal"], [5, 1, 1, "", "set_class_order_nonnegativeinteger"], [5, 1, 1, "", "set_class_restrictedto_ontologicalnature"], [5, 1, 1, "", "set_class_stereotype"], [5, 1, 1, "", "set_defaults_class_attribute"], [5, 1, 1, "", "set_defaults_class_order"], [5, 1, 1, "", "validate_class_attribute_constraints"], [5, 1, 1, "", "validate_class_order_constraints"]], "json2graph.decoder.decode_obj_diagram": [[6, 1, 1, "", "create_diagram_properties"], [6, 1, 1, "", "set_diagram_containsview_elementview"], [6, 1, 1, "", "set_diagram_owner_modelelement"]], "json2graph.decoder.decode_obj_elementview": [[7, 2, 1, "", "ELEMENT_VIEW_TYPES"], [7, 1, 1, "", "create_elementview_properties"], [7, 1, 1, "", "set_elementview_relations"]], "json2graph.decoder.decode_obj_generalization": [[8, 1, 1, "", "create_generalization_properties"], [8, 1, 1, "", "set_generalization_relations"]], "json2graph.decoder.decode_obj_generalizationset": [[9, 1, 1, "", "create_generalizationset_properties"], [9, 1, 1, "", "set_generalizationset_defaults"], [9, 1, 1, "", "set_generalizationset_relations"]], "json2graph.decoder.decode_obj_package": [[10, 1, 1, "", "create_package_properties"], [10, 1, 1, "", "get_package_contents"], [10, 1, 1, "", "set_package_containsmodelelement_modelelement"]], "json2graph.decoder.decode_obj_path": [[11, 1, 1, "", "create_path_properties"], [11, 1, 1, "", "set_path_path_point"]], "json2graph.decoder.decode_obj_project": [[12, 1, 1, "", "create_project_properties"], [12, 1, 1, "", "set_ontoumlelement_project_project"], [12, 1, 1, "", "set_project_diagram_diagram"], [12, 1, 1, "", "set_project_model_package"]], "json2graph.decoder.decode_obj_property": [[13, 2, 1, "", "LOGGER"], [13, 1, 1, "", "create_property_properties"], [13, 1, 1, "", "determine_cardinality_bounds"], [13, 1, 1, "", "set_cardinality_relations"], [13, 1, 1, "", "set_property_defaults"], [13, 1, 1, "", "set_property_relations"], [13, 1, 1, "", "validate_property_stereotype"]], "json2graph.decoder.decode_obj_rectangularshape": [[14, 1, 1, "", "create_rectangularshape_properties"], [14, 1, 1, "", "set_rectangularshape_coordinates"]], "json2graph.decoder.decode_obj_relation": [[15, 1, 1, "", "create_relation_properties"], [15, 1, 1, "", "set_relation_defaults"], [15, 1, 1, "", "set_relation_relations"], [15, 1, 1, "", "set_relation_stereotype"]], "json2graph.library": [[18, 1, 1, "", "decode_json_model"], [18, 1, 1, "", "decode_json_project"], [18, 1, 1, "", "save_graph_file"]], "json2graph.modules": [[19, 0, 0, "-", "arguments"], [20, 0, 0, "-", "errors"], [22, 0, 0, "-", "input_output"], [23, 0, 0, "-", "logger"], [24, 0, 0, "-", "messages"], [25, 0, 0, "-", "metadata"], [26, 0, 0, "-", "sparql_queries"], [27, 0, 0, "-", "utils_general"], [28, 0, 0, "-", "utils_graph"], [29, 0, 0, "-", "utils_validations"]], "json2graph.modules.arguments": [[19, 2, 1, "", "ARGUMENTS"], [19, 2, 1, "", "LOGGER"], [19, 1, 1, "", "initialize_args_import"], [19, 1, 1, "", "initialize_args_script"], [19, 1, 1, "", "initialize_args_test"]], "json2graph.modules.errors": [[20, 2, 1, "", "LOGGER"], [20, 1, 1, "", "report_error_end_of_switch"], [20, 1, 1, "", "report_error_invalid_parameter"], [20, 1, 1, "", "report_error_io_read"], [20, 1, 1, "", "report_error_io_write"], [20, 1, 1, "", "report_error_requirement_not_met"]], "json2graph.modules.input_output": [[22, 2, 1, "", "LOGGER"], [22, 1, 1, "", "create_directory_if_not_exists"], [22, 1, 1, "", "safe_load_json_file"], [22, 1, 1, "", "safe_write_graph_file"]], "json2graph.modules.logger": [[23, 1, 1, "", "initialize_logger"]], "json2graph.modules.messages": [[24, 2, 1, "", "LOGGER"], [24, 1, 1, "", "get_decode_log_message"], [24, 1, 1, "", "print_decode_log_message"]], "json2graph.modules.metadata": [[25, 2, 1, "", "LOGGER"], [25, 2, 1, "", "METADATA"]], "json2graph.modules.sparql_queries": [[26, 2, 1, "", "GET_CLASS_STEREOTYPE_ATTRIBUTE_STEREOTYPE"], [26, 2, 1, "", "GET_ELEMENT_AND_TYPE"]], "json2graph.modules.utils_general": [[27, 1, 1, "", "get_date_time"]], "json2graph.modules.utils_graph": [[28, 2, 1, "", "LOGGER"], [28, 1, 1, "", "load_graph_safely"], [28, 1, 1, "", "load_ontouml_vocabulary"], [28, 1, 1, "", "ontouml_ref"]], "json2graph.modules.utils_validations": [[29, 1, 1, "", "validate_arg_input"], [29, 1, 1, "", "validate_execution_mode"]], "json2graph.tests": [[31, 0, 0, "-", "test_aux"], [32, 0, 0, "-", "test_main"]], "json2graph.tests.test_aux": [[31, 1, 1, "", "compare_graphs"], [31, 1, 1, "", "get_test_list"], [31, 1, 1, "", "print_graphs_differences"]], "json2graph.tests.test_main": [[32, 2, 1, "", "LIST_OF_TESTS"], [32, 1, 1, "", "test_ontouml_json2graph"]]}, "objtypes": {"0": "py:module", "1": "py:function", "2": "py:data"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "function", "Python function"], "2": ["py", "data", "Python data"]}, "titleterms": {"The": 0, "ontouml": [0, 33], "json2graph": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35], "transform": 0, "content": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20, 22, 23, 24, 25, 26, 27, 28, 29, 31, 32, 33, 34], "instal": 0, "usag": 0, "execut": 0, "script": 0, "argument": [0, 19], "import": 0, "librari": [0, 18], "decode_json_project": 0, "decode_json_model": 0, "save_graph_fil": 0, "input": 0, "output": 0, "vocabulari": 0, "gufo": 0, "basic": 0, "syntact": 0, "semat": 0, "valid": 0, "perman": 0, "url": 0, "identifi": 0, "relat": 0, "project": 0, "develop": 0, "contribut": 0, "author": 0, "api": 1, "refer": 1, "decod": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], "modul": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 31, 32, 34], "function": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20, 22, 23, 24, 27, 28, 29, 31, 32], "attribut": [2, 3, 4, 7, 13, 19, 20, 22, 24, 28, 32], "decode_gener": 3, "decode_main": 4, "decode_obj_class": 5, "decode_obj_diagram": 6, "decode_obj_elementview": 7, "decode_obj_gener": 8, "decode_obj_generalizationset": 9, "decode_obj_packag": 10, "decode_obj_path": 11, "decode_obj_project": 12, "decode_obj_properti": 13, "decode_obj_rectangularshap": 14, "decode_obj_rel": 15, "submodul": [16, 17, 21, 30, 34], "subpackag": [17, 34], "error": 20, "input_output": 22, "logger": 23, "messag": 24, "metadata": 25, "sparql_queri": 26, "utils_gener": 27, "utils_graph": 28, "utils_valid": 29, "test": [30, 31, 32], "test_aux": 31, "test_main": 32, "welcom": 33, "": 33, "document": 33, "indic": 33, "tabl": 33, "packag": 34, "main_decod": 34}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 60}, "alltitles": {"The OntoUML JSON2Graph Transformation": [[0, "the-ontouml-json2graph-transformation"]], "Contents": [[0, "contents"]], "Installation": [[0, "installation"]], "Usage": [[0, "usage"]], "Executing as a Script": [[0, "executing-as-a-script"]], "Arguments": [[0, "arguments"]], "Importing as a Library": [[0, "importing-as-a-library"]], "decode_json_project": [[0, "decode-json-project"]], "decode_json_model": [[0, "decode-json-model"]], "save_graph_file": [[0, "save-graph-file"]], "Input and Output": [[0, "input-and-output"]], "OntoUML Vocabulary and gUFO": [[0, "ontouml-vocabulary-and-gufo"]], "Basic Syntactical and Sematic Validation": [[0, "basic-syntactical-and-sematic-validation"]], "Permanent URLs and Identifiers": [[0, "permanent-urls-and-identifiers"]], "Related Projects": [[0, "related-projects"]], "Development Contribution": [[0, "development-contribution"]], "Author": [[0, "author"]], "API Reference": [[1, "api-reference"]], "json2graph.decode": [[2, "module-json2graph.decode"]], "Module Contents": [[2, "module-contents"], [3, "module-contents"], [4, "module-contents"], [5, "module-contents"], [6, "module-contents"], [7, "module-contents"], [8, "module-contents"], [9, "module-contents"], [10, "module-contents"], [11, "module-contents"], [12, "module-contents"], [13, "module-contents"], [14, "module-contents"], [15, "module-contents"], [18, "module-contents"], [19, "module-contents"], [20, "module-contents"], [22, "module-contents"], [23, "module-contents"], [24, "module-contents"], [25, "module-contents"], [26, "module-contents"], [27, "module-contents"], [28, "module-contents"], [29, "module-contents"], [31, "module-contents"], [32, "module-contents"]], "Functions": [[2, "functions"], [3, "functions"], [4, "functions"], [5, "functions"], [6, "functions"], [7, "functions"], [8, "functions"], [9, "functions"], [10, "functions"], [11, "functions"], [12, "functions"], [13, "functions"], [14, "functions"], [15, "functions"], [18, "functions"], [19, "functions"], [20, "functions"], [22, "functions"], [23, "functions"], [24, "functions"], [27, "functions"], [28, "functions"], [29, "functions"], [31, "functions"], [32, "functions"]], "Attributes": [[2, "attributes"], [3, "attributes"], [4, "attributes"], [7, "attributes"], [13, "attributes"], [19, "attributes"], [20, "attributes"], [22, "attributes"], [24, "attributes"], [28, "attributes"], [32, "attributes"]], "json2graph.decoder.decode_general": [[3, "module-json2graph.decoder.decode_general"]], "json2graph.decoder.decode_main": [[4, "module-json2graph.decoder.decode_main"]], "json2graph.decoder.decode_obj_class": [[5, "module-json2graph.decoder.decode_obj_class"]], "json2graph.decoder.decode_obj_diagram": [[6, "module-json2graph.decoder.decode_obj_diagram"]], "json2graph.decoder.decode_obj_elementview": [[7, "module-json2graph.decoder.decode_obj_elementview"]], "json2graph.decoder.decode_obj_generalization": [[8, "module-json2graph.decoder.decode_obj_generalization"]], "json2graph.decoder.decode_obj_generalizationset": [[9, "module-json2graph.decoder.decode_obj_generalizationset"]], "json2graph.decoder.decode_obj_package": [[10, "module-json2graph.decoder.decode_obj_package"]], "json2graph.decoder.decode_obj_path": [[11, "module-json2graph.decoder.decode_obj_path"]], "json2graph.decoder.decode_obj_project": [[12, "module-json2graph.decoder.decode_obj_project"]], "json2graph.decoder.decode_obj_property": [[13, "module-json2graph.decoder.decode_obj_property"]], "json2graph.decoder.decode_obj_rectangularshape": [[14, "module-json2graph.decoder.decode_obj_rectangularshape"]], "json2graph.decoder.decode_obj_relation": [[15, "module-json2graph.decoder.decode_obj_relation"]], "json2graph.decoder": [[16, "module-json2graph.decoder"]], "Submodules": [[16, "submodules"], [17, "submodules"], [21, "submodules"], [30, "submodules"], [34, "submodules"]], "json2graph": [[17, "module-json2graph"], [35, "json2graph"]], "Subpackages": [[17, "subpackages"], [34, "subpackages"]], "json2graph.library": [[18, "module-json2graph.library"]], "json2graph.modules.arguments": [[19, "module-json2graph.modules.arguments"]], "json2graph.modules.errors": [[20, "module-json2graph.modules.errors"]], "json2graph.modules": [[21, "module-json2graph.modules"]], "json2graph.modules.input_output": [[22, "module-json2graph.modules.input_output"]], "json2graph.modules.logger": [[23, "module-json2graph.modules.logger"]], "json2graph.modules.messages": [[24, "module-json2graph.modules.messages"]], "json2graph.modules.metadata": [[25, "module-json2graph.modules.metadata"]], "json2graph.modules.sparql_queries": [[26, "module-json2graph.modules.sparql_queries"]], "json2graph.modules.utils_general": [[27, "module-json2graph.modules.utils_general"]], "json2graph.modules.utils_graph": [[28, "module-json2graph.modules.utils_graph"]], "json2graph.modules.utils_validations": [[29, "module-json2graph.modules.utils_validations"]], "json2graph.tests": [[30, "module-json2graph.tests"]], "json2graph.tests.test_aux": [[31, "module-json2graph.tests.test_aux"]], "json2graph.tests.test_main": [[32, "module-json2graph.tests.test_main"]], "Welcome to ontouml-json2graph\u2019s documentation!": [[33, "welcome-to-ontouml-json2graph-s-documentation"]], "Contents:": [[33, null]], "Indices and tables": [[33, "indices-and-tables"]], "json2graph package": [[34, "json2graph-package"]], "json2graph.main_decode module": [[34, "json2graph-main-decode-module"]], "Module contents": [[34, "module-json2graph"]]}, "indexentries": {"decode_all_ontouml_json2graph() (in module json2graph.decode)": [[2, "json2graph.decode.decode_all_ontouml_json2graph"]], "decode_ontouml_json2graph() (in module json2graph.decode)": [[2, "json2graph.decode.decode_ontouml_json2graph"]], "decoded_graph (in module json2graph.decode)": [[2, "json2graph.decode.decoded_graph"]], "json2graph.decode": [[2, "module-json2graph.decode"]], "module": [[2, "module-json2graph.decode"], [3, "module-json2graph.decoder.decode_general"], [4, "module-json2graph.decoder.decode_main"], [5, "module-json2graph.decoder.decode_obj_class"], [6, "module-json2graph.decoder.decode_obj_diagram"], [7, "module-json2graph.decoder.decode_obj_elementview"], [8, "module-json2graph.decoder.decode_obj_generalization"], [9, "module-json2graph.decoder.decode_obj_generalizationset"], [10, "module-json2graph.decoder.decode_obj_package"], [11, "module-json2graph.decoder.decode_obj_path"], [12, "module-json2graph.decoder.decode_obj_project"], [13, "module-json2graph.decoder.decode_obj_property"], [14, "module-json2graph.decoder.decode_obj_rectangularshape"], [15, "module-json2graph.decoder.decode_obj_relation"], [16, "module-json2graph.decoder"], [17, "module-json2graph"], [18, "module-json2graph.library"], [19, "module-json2graph.modules.arguments"], [20, "module-json2graph.modules.errors"], [21, "module-json2graph.modules"], [22, "module-json2graph.modules.input_output"], [23, "module-json2graph.modules.logger"], [24, "module-json2graph.modules.messages"], [25, "module-json2graph.modules.metadata"], [26, "module-json2graph.modules.sparql_queries"], [27, "module-json2graph.modules.utils_general"], [28, "module-json2graph.modules.utils_graph"], [29, "module-json2graph.modules.utils_validations"], [30, "module-json2graph.tests"], [31, "module-json2graph.tests.test_aux"], [32, "module-json2graph.tests.test_main"], [34, "module-json2graph"]], "write_graph_file() (in module json2graph.decode)": [[2, "json2graph.decode.write_graph_file"]], "logger (in module json2graph.decoder.decode_general)": [[3, "json2graph.decoder.decode_general.LOGGER"]], "clean_null_data() (in module json2graph.decoder.decode_general)": [[3, "json2graph.decoder.decode_general.clean_null_data"]], "count_elements_graph() (in module json2graph.decoder.decode_general)": [[3, "json2graph.decoder.decode_general.count_elements_graph"]], "create_point() (in module json2graph.decoder.decode_general)": [[3, "json2graph.decoder.decode_general.create_point"]], "get_all_ids_of_specific_type() (in module json2graph.decoder.decode_general)": [[3, "json2graph.decoder.decode_general.get_all_ids_of_specific_type"]], "get_list_subdictionaries_for_specific_type() (in module json2graph.decoder.decode_general)": [[3, "json2graph.decoder.decode_general.get_list_subdictionaries_for_specific_type"]], "get_stereotype() (in module json2graph.decoder.decode_general)": [[3, "json2graph.decoder.decode_general.get_stereotype"]], "get_subdictionary_for_specific_id() (in module json2graph.decoder.decode_general)": [[3, "json2graph.decoder.decode_general.get_subdictionary_for_specific_id"]], "json2graph.decoder.decode_general": [[3, "module-json2graph.decoder.decode_general"]], "logger (in module json2graph.decoder.decode_main)": [[4, "json2graph.decoder.decode_main.LOGGER"]], "add_metadata() (in module json2graph.decoder.decode_main)": [[4, "json2graph.decoder.decode_main.add_metadata"]], "decode_dictionary() (in module json2graph.decoder.decode_main)": [[4, "json2graph.decoder.decode_main.decode_dictionary"]], "decode_json_to_graph() (in module json2graph.decoder.decode_main)": [[4, "json2graph.decoder.decode_main.decode_json_to_graph"]], "json2graph.decoder.decode_main": [[4, "module-json2graph.decoder.decode_main"]], "create_class_properties() (in module json2graph.decoder.decode_obj_class)": [[5, "json2graph.decoder.decode_obj_class.create_class_properties"]], "json2graph.decoder.decode_obj_class": [[5, "module-json2graph.decoder.decode_obj_class"]], "set_class_attribute_property() (in module json2graph.decoder.decode_obj_class)": [[5, "json2graph.decoder.decode_obj_class.set_class_attribute_property"]], "set_class_attributes() (in module json2graph.decoder.decode_obj_class)": [[5, "json2graph.decoder.decode_obj_class.set_class_attributes"]], "set_class_literal_literal() (in module json2graph.decoder.decode_obj_class)": [[5, "json2graph.decoder.decode_obj_class.set_class_literal_literal"]], "set_class_order_nonnegativeinteger() (in module json2graph.decoder.decode_obj_class)": [[5, "json2graph.decoder.decode_obj_class.set_class_order_nonnegativeinteger"]], "set_class_restrictedto_ontologicalnature() (in module json2graph.decoder.decode_obj_class)": [[5, "json2graph.decoder.decode_obj_class.set_class_restrictedto_ontologicalnature"]], "set_class_stereotype() (in module json2graph.decoder.decode_obj_class)": [[5, "json2graph.decoder.decode_obj_class.set_class_stereotype"]], "set_defaults_class_attribute() (in module json2graph.decoder.decode_obj_class)": [[5, "json2graph.decoder.decode_obj_class.set_defaults_class_attribute"]], "set_defaults_class_order() (in module json2graph.decoder.decode_obj_class)": [[5, "json2graph.decoder.decode_obj_class.set_defaults_class_order"]], "validate_class_attribute_constraints() (in module json2graph.decoder.decode_obj_class)": [[5, "json2graph.decoder.decode_obj_class.validate_class_attribute_constraints"]], "validate_class_order_constraints() (in module json2graph.decoder.decode_obj_class)": [[5, "json2graph.decoder.decode_obj_class.validate_class_order_constraints"]], "create_diagram_properties() (in module json2graph.decoder.decode_obj_diagram)": [[6, "json2graph.decoder.decode_obj_diagram.create_diagram_properties"]], "json2graph.decoder.decode_obj_diagram": [[6, "module-json2graph.decoder.decode_obj_diagram"]], "set_diagram_containsview_elementview() (in module json2graph.decoder.decode_obj_diagram)": [[6, "json2graph.decoder.decode_obj_diagram.set_diagram_containsview_elementview"]], "set_diagram_owner_modelelement() (in module json2graph.decoder.decode_obj_diagram)": [[6, "json2graph.decoder.decode_obj_diagram.set_diagram_owner_modelelement"]], "element_view_types (in module json2graph.decoder.decode_obj_elementview)": [[7, "json2graph.decoder.decode_obj_elementview.ELEMENT_VIEW_TYPES"]], "create_elementview_properties() (in module json2graph.decoder.decode_obj_elementview)": [[7, "json2graph.decoder.decode_obj_elementview.create_elementview_properties"]], "json2graph.decoder.decode_obj_elementview": [[7, "module-json2graph.decoder.decode_obj_elementview"]], "set_elementview_relations() (in module json2graph.decoder.decode_obj_elementview)": [[7, "json2graph.decoder.decode_obj_elementview.set_elementview_relations"]], "create_generalization_properties() (in module json2graph.decoder.decode_obj_generalization)": [[8, "json2graph.decoder.decode_obj_generalization.create_generalization_properties"]], "json2graph.decoder.decode_obj_generalization": [[8, "module-json2graph.decoder.decode_obj_generalization"]], "set_generalization_relations() (in module json2graph.decoder.decode_obj_generalization)": [[8, "json2graph.decoder.decode_obj_generalization.set_generalization_relations"]], "create_generalizationset_properties() (in module json2graph.decoder.decode_obj_generalizationset)": [[9, "json2graph.decoder.decode_obj_generalizationset.create_generalizationset_properties"]], "json2graph.decoder.decode_obj_generalizationset": [[9, "module-json2graph.decoder.decode_obj_generalizationset"]], "set_generalizationset_defaults() (in module json2graph.decoder.decode_obj_generalizationset)": [[9, "json2graph.decoder.decode_obj_generalizationset.set_generalizationset_defaults"]], "set_generalizationset_relations() (in module json2graph.decoder.decode_obj_generalizationset)": [[9, "json2graph.decoder.decode_obj_generalizationset.set_generalizationset_relations"]], "create_package_properties() (in module json2graph.decoder.decode_obj_package)": [[10, "json2graph.decoder.decode_obj_package.create_package_properties"]], "get_package_contents() (in module json2graph.decoder.decode_obj_package)": [[10, "json2graph.decoder.decode_obj_package.get_package_contents"]], "json2graph.decoder.decode_obj_package": [[10, "module-json2graph.decoder.decode_obj_package"]], "set_package_containsmodelelement_modelelement() (in module json2graph.decoder.decode_obj_package)": [[10, "json2graph.decoder.decode_obj_package.set_package_containsmodelelement_modelelement"]], "create_path_properties() (in module json2graph.decoder.decode_obj_path)": [[11, "json2graph.decoder.decode_obj_path.create_path_properties"]], "json2graph.decoder.decode_obj_path": [[11, "module-json2graph.decoder.decode_obj_path"]], "set_path_path_point() (in module json2graph.decoder.decode_obj_path)": [[11, "json2graph.decoder.decode_obj_path.set_path_path_point"]], "create_project_properties() (in module json2graph.decoder.decode_obj_project)": [[12, "json2graph.decoder.decode_obj_project.create_project_properties"]], "json2graph.decoder.decode_obj_project": [[12, "module-json2graph.decoder.decode_obj_project"]], "set_ontoumlelement_project_project() (in module json2graph.decoder.decode_obj_project)": [[12, "json2graph.decoder.decode_obj_project.set_ontoumlelement_project_project"]], "set_project_diagram_diagram() (in module json2graph.decoder.decode_obj_project)": [[12, "json2graph.decoder.decode_obj_project.set_project_diagram_diagram"]], "set_project_model_package() (in module json2graph.decoder.decode_obj_project)": [[12, "json2graph.decoder.decode_obj_project.set_project_model_package"]], "logger (in module json2graph.decoder.decode_obj_property)": [[13, "json2graph.decoder.decode_obj_property.LOGGER"]], "create_property_properties() (in module json2graph.decoder.decode_obj_property)": [[13, "json2graph.decoder.decode_obj_property.create_property_properties"]], "determine_cardinality_bounds() (in module json2graph.decoder.decode_obj_property)": [[13, "json2graph.decoder.decode_obj_property.determine_cardinality_bounds"]], "json2graph.decoder.decode_obj_property": [[13, "module-json2graph.decoder.decode_obj_property"]], "set_cardinality_relations() (in module json2graph.decoder.decode_obj_property)": [[13, "json2graph.decoder.decode_obj_property.set_cardinality_relations"]], "set_property_defaults() (in module json2graph.decoder.decode_obj_property)": [[13, "json2graph.decoder.decode_obj_property.set_property_defaults"]], "set_property_relations() (in module json2graph.decoder.decode_obj_property)": [[13, "json2graph.decoder.decode_obj_property.set_property_relations"]], "validate_property_stereotype() (in module json2graph.decoder.decode_obj_property)": [[13, "json2graph.decoder.decode_obj_property.validate_property_stereotype"]], "create_rectangularshape_properties() (in module json2graph.decoder.decode_obj_rectangularshape)": [[14, "json2graph.decoder.decode_obj_rectangularshape.create_rectangularshape_properties"]], "json2graph.decoder.decode_obj_rectangularshape": [[14, "module-json2graph.decoder.decode_obj_rectangularshape"]], "set_rectangularshape_coordinates() (in module json2graph.decoder.decode_obj_rectangularshape)": [[14, "json2graph.decoder.decode_obj_rectangularshape.set_rectangularshape_coordinates"]], "create_relation_properties() (in module json2graph.decoder.decode_obj_relation)": [[15, "json2graph.decoder.decode_obj_relation.create_relation_properties"]], "json2graph.decoder.decode_obj_relation": [[15, "module-json2graph.decoder.decode_obj_relation"]], "set_relation_defaults() (in module json2graph.decoder.decode_obj_relation)": [[15, "json2graph.decoder.decode_obj_relation.set_relation_defaults"]], "set_relation_relations() (in module json2graph.decoder.decode_obj_relation)": [[15, "json2graph.decoder.decode_obj_relation.set_relation_relations"]], "set_relation_stereotype() (in module json2graph.decoder.decode_obj_relation)": [[15, "json2graph.decoder.decode_obj_relation.set_relation_stereotype"]], "json2graph.decoder": [[16, "module-json2graph.decoder"]], "json2graph": [[17, "module-json2graph"], [34, "module-json2graph"]], "decode_json_model() (in module json2graph.library)": [[18, "json2graph.library.decode_json_model"]], "decode_json_project() (in module json2graph.library)": [[18, "json2graph.library.decode_json_project"]], "json2graph.library": [[18, "module-json2graph.library"]], "save_graph_file() (in module json2graph.library)": [[18, "json2graph.library.save_graph_file"]], "arguments (in module json2graph.modules.arguments)": [[19, "json2graph.modules.arguments.ARGUMENTS"]], "logger (in module json2graph.modules.arguments)": [[19, "json2graph.modules.arguments.LOGGER"]], "initialize_args_import() (in module json2graph.modules.arguments)": [[19, "json2graph.modules.arguments.initialize_args_import"]], "initialize_args_script() (in module json2graph.modules.arguments)": [[19, "json2graph.modules.arguments.initialize_args_script"]], "initialize_args_test() (in module json2graph.modules.arguments)": [[19, "json2graph.modules.arguments.initialize_args_test"]], "json2graph.modules.arguments": [[19, "module-json2graph.modules.arguments"]], "logger (in module json2graph.modules.errors)": [[20, "json2graph.modules.errors.LOGGER"]], "json2graph.modules.errors": [[20, "module-json2graph.modules.errors"]], "report_error_end_of_switch() (in module json2graph.modules.errors)": [[20, "json2graph.modules.errors.report_error_end_of_switch"]], "report_error_invalid_parameter() (in module json2graph.modules.errors)": [[20, "json2graph.modules.errors.report_error_invalid_parameter"]], "report_error_io_read() (in module json2graph.modules.errors)": [[20, "json2graph.modules.errors.report_error_io_read"]], "report_error_io_write() (in module json2graph.modules.errors)": [[20, "json2graph.modules.errors.report_error_io_write"]], "report_error_requirement_not_met() (in module json2graph.modules.errors)": [[20, "json2graph.modules.errors.report_error_requirement_not_met"]], "json2graph.modules": [[21, "module-json2graph.modules"]], "logger (in module json2graph.modules.input_output)": [[22, "json2graph.modules.input_output.LOGGER"]], "create_directory_if_not_exists() (in module json2graph.modules.input_output)": [[22, "json2graph.modules.input_output.create_directory_if_not_exists"]], "json2graph.modules.input_output": [[22, "module-json2graph.modules.input_output"]], "safe_load_json_file() (in module json2graph.modules.input_output)": [[22, "json2graph.modules.input_output.safe_load_json_file"]], "safe_write_graph_file() (in module json2graph.modules.input_output)": [[22, "json2graph.modules.input_output.safe_write_graph_file"]], "initialize_logger() (in module json2graph.modules.logger)": [[23, "json2graph.modules.logger.initialize_logger"]], "json2graph.modules.logger": [[23, "module-json2graph.modules.logger"]], "logger (in module json2graph.modules.messages)": [[24, "json2graph.modules.messages.LOGGER"]], "get_decode_log_message() (in module json2graph.modules.messages)": [[24, "json2graph.modules.messages.get_decode_log_message"]], "json2graph.modules.messages": [[24, "module-json2graph.modules.messages"]], "print_decode_log_message() (in module json2graph.modules.messages)": [[24, "json2graph.modules.messages.print_decode_log_message"]], "logger (in module json2graph.modules.metadata)": [[25, "json2graph.modules.metadata.LOGGER"]], "metadata (in module json2graph.modules.metadata)": [[25, "json2graph.modules.metadata.METADATA"]], "json2graph.modules.metadata": [[25, "module-json2graph.modules.metadata"]], "get_class_stereotype_attribute_stereotype (in module json2graph.modules.sparql_queries)": [[26, "json2graph.modules.sparql_queries.GET_CLASS_STEREOTYPE_ATTRIBUTE_STEREOTYPE"]], "get_element_and_type (in module json2graph.modules.sparql_queries)": [[26, "json2graph.modules.sparql_queries.GET_ELEMENT_AND_TYPE"]], "json2graph.modules.sparql_queries": [[26, "module-json2graph.modules.sparql_queries"]], "get_date_time() (in module json2graph.modules.utils_general)": [[27, "json2graph.modules.utils_general.get_date_time"]], "json2graph.modules.utils_general": [[27, "module-json2graph.modules.utils_general"]], "logger (in module json2graph.modules.utils_graph)": [[28, "json2graph.modules.utils_graph.LOGGER"]], "json2graph.modules.utils_graph": [[28, "module-json2graph.modules.utils_graph"]], "load_graph_safely() (in module json2graph.modules.utils_graph)": [[28, "json2graph.modules.utils_graph.load_graph_safely"]], "load_ontouml_vocabulary() (in module json2graph.modules.utils_graph)": [[28, "json2graph.modules.utils_graph.load_ontouml_vocabulary"]], "ontouml_ref() (in module json2graph.modules.utils_graph)": [[28, "json2graph.modules.utils_graph.ontouml_ref"]], "json2graph.modules.utils_validations": [[29, "module-json2graph.modules.utils_validations"]], "validate_arg_input() (in module json2graph.modules.utils_validations)": [[29, "json2graph.modules.utils_validations.validate_arg_input"]], "validate_execution_mode() (in module json2graph.modules.utils_validations)": [[29, "json2graph.modules.utils_validations.validate_execution_mode"]], "json2graph.tests": [[30, "module-json2graph.tests"]], "compare_graphs() (in module json2graph.tests.test_aux)": [[31, "json2graph.tests.test_aux.compare_graphs"]], "get_test_list() (in module json2graph.tests.test_aux)": [[31, "json2graph.tests.test_aux.get_test_list"]], "json2graph.tests.test_aux": [[31, "module-json2graph.tests.test_aux"]], "print_graphs_differences() (in module json2graph.tests.test_aux)": [[31, "json2graph.tests.test_aux.print_graphs_differences"]], "list_of_tests (in module json2graph.tests.test_main)": [[32, "json2graph.tests.test_main.LIST_OF_TESTS"]], "json2graph.tests.test_main": [[32, "module-json2graph.tests.test_main"]], "test_ontouml_json2graph() (in module json2graph.tests.test_main)": [[32, "json2graph.tests.test_main.test_ontouml_json2graph"]]}}) \ No newline at end of file +Search.setIndex({"docnames": ["README", "autoapi/index", "autoapi/json2graph/decode/index", "autoapi/json2graph/decoder/decode_general/index", "autoapi/json2graph/decoder/decode_main/index", "autoapi/json2graph/decoder/decode_obj_class/index", "autoapi/json2graph/decoder/decode_obj_diagram/index", "autoapi/json2graph/decoder/decode_obj_elementview/index", "autoapi/json2graph/decoder/decode_obj_generalization/index", "autoapi/json2graph/decoder/decode_obj_generalizationset/index", "autoapi/json2graph/decoder/decode_obj_package/index", "autoapi/json2graph/decoder/decode_obj_path/index", "autoapi/json2graph/decoder/decode_obj_project/index", "autoapi/json2graph/decoder/decode_obj_property/index", "autoapi/json2graph/decoder/decode_obj_rectangularshape/index", "autoapi/json2graph/decoder/decode_obj_relation/index", "autoapi/json2graph/decoder/index", "autoapi/json2graph/index", "autoapi/json2graph/library/index", "autoapi/json2graph/modules/arguments/index", "autoapi/json2graph/modules/errors/index", "autoapi/json2graph/modules/index", "autoapi/json2graph/modules/input_output/index", "autoapi/json2graph/modules/logger/index", "autoapi/json2graph/modules/messages/index", "autoapi/json2graph/modules/metadata/index", "autoapi/json2graph/modules/sparql_queries/index", "autoapi/json2graph/modules/utils_general/index", "autoapi/json2graph/modules/utils_graph/index", "autoapi/json2graph/modules/utils_validations/index", "autoapi/json2graph/tests/index", "autoapi/json2graph/tests/test_aux/index", "autoapi/json2graph/tests/test_main/index", "index", "json2graph", "modules"], "filenames": ["README.md", "autoapi/index.rst", "autoapi/json2graph/decode/index.rst", "autoapi/json2graph/decoder/decode_general/index.rst", "autoapi/json2graph/decoder/decode_main/index.rst", "autoapi/json2graph/decoder/decode_obj_class/index.rst", "autoapi/json2graph/decoder/decode_obj_diagram/index.rst", "autoapi/json2graph/decoder/decode_obj_elementview/index.rst", "autoapi/json2graph/decoder/decode_obj_generalization/index.rst", "autoapi/json2graph/decoder/decode_obj_generalizationset/index.rst", "autoapi/json2graph/decoder/decode_obj_package/index.rst", "autoapi/json2graph/decoder/decode_obj_path/index.rst", "autoapi/json2graph/decoder/decode_obj_project/index.rst", "autoapi/json2graph/decoder/decode_obj_property/index.rst", "autoapi/json2graph/decoder/decode_obj_rectangularshape/index.rst", "autoapi/json2graph/decoder/decode_obj_relation/index.rst", "autoapi/json2graph/decoder/index.rst", "autoapi/json2graph/index.rst", "autoapi/json2graph/library/index.rst", "autoapi/json2graph/modules/arguments/index.rst", "autoapi/json2graph/modules/errors/index.rst", "autoapi/json2graph/modules/index.rst", "autoapi/json2graph/modules/input_output/index.rst", "autoapi/json2graph/modules/logger/index.rst", "autoapi/json2graph/modules/messages/index.rst", "autoapi/json2graph/modules/metadata/index.rst", "autoapi/json2graph/modules/sparql_queries/index.rst", "autoapi/json2graph/modules/utils_general/index.rst", "autoapi/json2graph/modules/utils_graph/index.rst", "autoapi/json2graph/modules/utils_validations/index.rst", "autoapi/json2graph/tests/index.rst", "autoapi/json2graph/tests/test_aux/index.rst", "autoapi/json2graph/tests/test_main/index.rst", "index.rst", "json2graph.rst", "modules.rst"], "titles": ["The OntoUML JSON2Graph Transformation", "API Reference", "json2graph.decode", "json2graph.decoder.decode_general", "json2graph.decoder.decode_main", "json2graph.decoder.decode_obj_class", "json2graph.decoder.decode_obj_diagram", "json2graph.decoder.decode_obj_elementview", "json2graph.decoder.decode_obj_generalization", "json2graph.decoder.decode_obj_generalizationset", "json2graph.decoder.decode_obj_package", "json2graph.decoder.decode_obj_path", "json2graph.decoder.decode_obj_project", "json2graph.decoder.decode_obj_property", "json2graph.decoder.decode_obj_rectangularshape", "json2graph.decoder.decode_obj_relation", "json2graph.decoder", "json2graph", "json2graph.library", "json2graph.modules.arguments", "json2graph.modules.errors", "json2graph.modules", "json2graph.modules.input_output", "json2graph.modules.logger", "json2graph.modules.messages", "json2graph.modules.metadata", "json2graph.modules.sparql_queries", "json2graph.modules.utils_general", "json2graph.modules.utils_graph", "json2graph.modules.utils_validations", "json2graph.tests", "json2graph.tests.test_aux", "json2graph.tests.test_main", "Welcome to ontouml-json2graph\u2019s documentation!", "json2graph package", "json2graph"], "terms": {"decod": [0, 1, 17, 18, 19, 24, 26, 29], "json": [0, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 22, 24, 26, 31, 32], "file": [0, 2, 12, 16, 17, 18, 19, 20, 21, 22, 25, 28, 29, 30, 31, 32, 34], "compli": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "schema": 0, "e": [0, 3, 13, 18, 20, 28], "g": [0, 20], "ones": [0, 4], "export": 0, "vp": 0, "plugin": 0, "graph": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 22, 28, 31, 32], "when": [0, 2, 3, 4, 5, 12, 13, 19, 20], "model": [0, 2, 12, 18, 19, 32], "you": [0, 23], "can": [0, 14, 20, 23, 28], "choos": 0, "repres": [0, 2, 5, 15, 18, 32], "onli": [0, 2, 3, 18, 19, 20, 31], "core": 0, "concept": [0, 2, 4, 18, 19], "includ": [0, 3, 18, 22], "all": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 26, 29, 31], "its": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 28], "inform": [0, 2, 4, 18, 19, 22, 23, 24, 28], "diagrammat": [0, 2, 18, 19], "element": [0, 3, 13, 18], "part": 0, "knowledg": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19], "addition": 0, "user": [0, 2, 4, 18, 19, 20, 22, 24, 28], "have": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 28], "choic": 0, "enabl": [0, 18, 28], "semant": [0, 13], "verif": 0, "ensur": [0, 29, 32], "enhanc": 0, "accur": 0, "result": [0, 2, 5, 7, 8, 9, 15, 18, 19, 31, 32], "thi": [0, 1, 2, 3, 4, 5, 12, 13, 14, 18, 19, 20, 23, 24, 29, 32], "applic": 0, "wa": [0, 5, 10, 20], "us": [0, 2, 3, 5, 10, 13, 18, 19, 20, 22, 24, 26, 28, 29, 31, 32], "rdflib": [0, 2, 18, 28], "python": [0, 27], "3": [0, 20, 27], "11": [0, 27], "gener": [0, 1, 2, 3, 4, 8, 9, 14, 18, 19, 20, 31, 32], "serial": 0, "divers": [0, 22, 27], "format": [0, 13, 18, 19, 27, 28, 32], "support": 0, "which": [0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20, 28, 32], "ar": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 20, 23, 28, 31, 32], "turtl": [0, 19, 32], "rdf": [0, 4, 18, 26], "xml": 0, "ld": 0, "n": 0, "tripl": 0, "notat": 0, "trig": 0, "trix": 0, "quad": 0, "pypi": 0, "packag": [0, 6, 10, 12, 18, 35], "i": [0, 2, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20, 25, 28, 29, 31, 32], "conveni": 0, "avail": [0, 4, 32], "allow": [0, 4, 18, 23], "an": [0, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 20, 22, 24, 29, 32], "other": [0, 13], "code": [0, 3, 5, 24, 27], "document": [0, 1], "For": [0, 3, 27], "inquiri": 0, "further": 0, "pleas": 0, "refer": [0, 5, 33], "comprehens": 0, "docstr": 0, "befor": 0, "need": 0, "download": 0, "To": 0, "simpli": 0, "perform": [0, 13, 19, 28, 29], "follow": [0, 2, 15], "command": [0, 19], "pip": 0, "depend": 0, "automat": [0, 25], "readi": 0, "after": [0, 5], "being": [0, 13], "anoth": [0, 3], "save": [0, 2, 18, 19, 20, 22], "directori": [0, 2, 19, 20, 22, 29], "name": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 20, 22, 23, 26, 28, 31], "same": 0, "path": [0, 2, 11, 18, 19, 22, 28, 29, 31, 32], "softwar": [0, 19, 20, 25, 28, 29, 32], "run": [0, 2, 32], "termin": 0, "insid": [0, 2], "": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20, 22, 24, 28], "folder": [0, 2, 31, 32], "m": 0, "path_to_json": 0, "option": [0, 2, 3, 10, 18, 19, 24, 28], "exampl": [0, 2, 18, 19], "my_ontologi": 0, "would": 0, "also": [0, 3, 19, 32], "multipl": [0, 2, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "do": [0, 5, 13, 22], "decode_al": [0, 29], "my_data": 0, "mandatori": [0, 5], "must": [0, 5, 18, 19, 20, 24], "substitut": 0, "locat": 0, "your": 0, "comput": 0, "provid": [0, 2, 18, 19, 20, 23, 28, 29, 32], "addit": [0, 18], "featur": 0, "observ": 0, "below": 0, "h": 0, "input_path": [0, 19, 29], "o": [0, 19], "output_path": [0, 19], "f": 0, "ttl": [0, 19, 28, 31, 32], "turtle2": 0, "pretti": 0, "ntripl": 0, "nt": 0, "nt11": 0, "n3": 0, "nquad": 0, "l": 0, "languag": [0, 2, 4, 18, 19], "c": [0, 5], "u": 0, "base_uri": [0, 2, 18, 19], "v": 0, "version": [0, 28], "1": [0, 1, 5, 20], "help": 0, "show": [0, 26], "messag": [0, 1, 2, 5, 15, 17, 19, 20, 21, 23], "exit": [0, 10], "default": [0, 2, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 28], "work": [0, 28], "convert": [0, 2, 5, 18], "tag": [0, 2, 4, 18, 19], "ontologi": [0, 2, 4, 18, 19, 22, 28], "none": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20, 22, 24, 29, 32], "correct": [0, 2, 18, 19, 24, 32], "silent": [0, 2, 19, 24], "mode": [0, 2, 4, 19, 23, 24, 29], "doe": [0, 22, 32], "present": [0, 3, 5, 6, 12, 13, 31], "warn": [0, 5, 13, 15, 24], "error": [0, 1, 2, 3, 5, 17, 18, 19, 21, 23, 28, 29, 32], "base": [0, 2, 5, 18, 19, 23, 32], "uri": [0, 2, 18, 19], "http": [0, 2, 18, 19, 26, 27], "org": [0, 2, 18, 19, 26, 27], "model_onli": [0, 2, 19], "keep": 0, "elimin": 0, "data": [0, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 22, 24], "from": [0, 3, 5, 13, 18, 20, 25, 28, 32], "print": [0, 20, 24, 31], "more": 0, "w3id": [0, 26], "py": [0, 18], "modul": [0, 1, 17, 33, 35], "full": [0, 4, 13], "friendli": [0, 18], "compon": 0, "By": [0, 18], "encapsul": [0, 18], "complex": 0, "function": 0, "empow": [0, 18], "seamlessli": 0, "integr": [0, 18], "convers": [0, 2, 18, 19], "capabl": [0, 18], "In": [0, 18], "util": [0, 18, 27, 28], "safe": [0, 18, 22, 28], "desir": [0, 3, 10, 18, 20, 22], "syntax": [0, 2, 18, 19, 22], "complet": [0, 18, 22, 31], "abstract": [0, 12, 18], "concret": [0, 18], "conform": 0, "custom": [0, 2, 18, 23], "specifi": [0, 2, 18, 27], "ad": [0, 2, 4, 18, 19], "With": 0, "domain": [0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18], "level": [0, 18, 23], "decoded_graph_project": 0, "json_file_path": [0, 2, 18], "myuri": 0, "en": 0, "true": [0, 2, 5, 18, 19, 28], "view": [0, 18], "adher": [0, 18], "differ": [0, 2, 5, 13, 23, 29], "It": [0, 18, 19, 29], "offer": [0, 18], "decoded_graph_model": 0, "wai": [0, 18, 25], "output_file_path": [0, 18, 22], "output_graph": 0, "etc": 0, "ontouml_graph": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 22], "pars": [0, 19], "obtain": [0, 13, 14, 20], "test": [0, 1, 2, 4, 17, 19, 23, 29], "guarante": [0, 28], "compat": 0, "0": [0, 5, 20], "5": 0, "correspond": [0, 2, 28, 31], "describ": 0, "mai": [0, 5, 12], "contain": [0, 1, 3, 5, 10, 13, 19, 24, 31, 32], "overview": 0, "about": [0, 2, 4, 23, 24, 25], "how": 0, "them": [0, 5, 13], "sparql": [0, 26], "queri": [0, 26], "both": [0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 28, 31], "built": 0, "upon": 0, "metamodel": 0, "facilit": 0, "between": [0, 5, 6, 10, 12, 13, 15], "represent": [0, 5], "ha": [0, 3, 5, 13, 15, 22], "call": [0, 5, 23, 28], "owl": [0, 4], "lightweight": 0, "implement": 0, "underli": [0, 18], "foundat": 0, "unifi": 0, "ufo": 0, "even": 0, "though": 0, "suitabl": 0, "web": [0, 28], "2": [0, 5, 20], "dl": 0, "two": [0, 25], "were": [0, 5], "creat": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 22, 23], "purpos": 0, "intend": 0, "reus": 0, "definit": 0, "consist": 0, "instanti": 0, "special": 0, "variou": [0, 20], "entiti": [0, 12, 28], "defin": [0, 2, 5, 10, 23, 32], "inherit": 0, "independ": 0, "distinct": [0, 26], "A": [0, 5, 18, 29], "kei": [0, 3], "henc": [0, 5], "taxonomi": 0, "one": [0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 25, 29], "class": [0, 5, 9, 12, 13, 26, 28], "whose": 0, "instanc": [0, 3, 4, 5, 11, 13, 14, 15], "individu": [0, 5, 28], "object": [0, 3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 24, 28], "event": [0, 13], "type": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20, 22, 23, 24, 26, 27, 28, 29, 31, 32], "kind": 0, "phase": 0, "categori": 0, "exchang": 0, "publish": 0, "link": 0, "machin": 0, "readabl": 0, "resourc": [0, 28], "tool": 0, "research": 0, "analysi": 0, "diagram": [0, 6, 12], "fulli": 0, "reconstruct": 0, "origin": 0, "report": [0, 5, 13, 20, 28], "incompat": 0, "attribut": [0, 5, 15], "isextension": [0, 5], "null": [0, 3, 5, 9], "ispowertyp": [0, 5], "set": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "stereotyp": [0, 3, 5, 13, 15, 24, 26], "collect": [0, 5, 20], "remov": [0, 3, 5], "fals": [0, 2, 5, 9, 13, 15, 18, 19, 28], "order": [0, 5], "miss": 0, "invalid": [0, 5, 13, 15, 20, 29], "assign": [0, 5, 13, 14], "enumer": 0, "classstereotyp": [0, 5], "relationstereotyp": [0, 15], "properti": [0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 24, 26, 28], "propertystereotyp": [0, 13], "assert": [0, 32], "known": [0, 4, 13], "repositori": 0, "doc": [0, 27], "releas": 0, "latest": 0, "specif": [0, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "where": [0, 26], "number": [0, 24], "unlik": 0, "uml": 0, "profil": 0, "offici": 0, "cover": 0, "serv": [0, 18], "servic": 0, "oaa": 0, "ecosystem": 0, "better": 0, "suit": 0, "manipul": [0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "within": [0, 18], "server": 0, "intellig": 0, "visual": 0, "paradigm": 0, "add": [0, 3, 4], "design": [0, 18, 20], "ani": 0, "editor": 0, "free": 0, "non": [0, 5], "commerci": 0, "These": [0, 5, 20], "rang": [0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "we": 0, "encourag": 0, "necessari": [0, 3, 5, 13, 19, 20], "r": 0, "requir": [0, 20], "txt": 0, "pre": 0, "commit": 0, "up": 0, "git": 0, "hook": 0, "driven": 0, "root": 0, "pytest": 0, "test_main": [0, 1, 17, 30], "maintain": 0, "cybersecur": 0, "sc": 0, "group": 0, "univers": 0, "twent": 0, "netherland": 0, "Its": 0, "pedro": 0, "paulo": 0, "favato": 0, "barcelo": 0, "github": 0, "linkedin": 0, "feel": 0, "get": [0, 24, 28], "touch": 0, "question": 0, "problem": [0, 5], "open": 0, "issu": 0, "page": [1, 33], "auto": 1, "json2graph": 1, "decode_gener": [1, 16, 17], "decode_main": [1, 16, 17], "decode_obj_class": [1, 16, 17], "decode_obj_diagram": [1, 16, 17], "decode_obj_elementview": [1, 16, 17], "decode_obj_gener": [1, 16, 17], "decode_obj_generalizationset": [1, 16, 17], "decode_obj_packag": [1, 16, 17], "decode_obj_path": [1, 16, 17], "decode_obj_project": [1, 16, 17], "decode_obj_properti": [1, 16, 17], "decode_obj_rectangularshap": [1, 16, 17], "decode_obj_rel": [1, 16, 17], "argument": [1, 2, 4, 17, 21, 22, 27, 28, 29], "input_output": [1, 17, 21], "logger": [1, 3, 4, 13, 17, 19, 20, 21, 22, 24, 25, 28], "metadata": [1, 4, 17, 21], "sparql_queri": [1, 17, 21], "utils_gener": [1, 17, 21], "utils_graph": [1, 17, 21], "utils_valid": [1, 17, 21], "test_aux": [1, 17, 30], "librari": [1, 17, 19, 27], "sphinx": 1, "autoapi": 1, "main": [2, 3, 32], "script": [2, 4, 19, 23, 29], "ontouml": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 22, 25, 26, 28, 32], "flexibl": 2, "output": [2, 18, 22, 23], "control": [2, 23, 28], "execut": [2, 4, 19, 20, 23, 29], "case": [2, 12, 13, 20], "decode_ontouml_json2graph": 2, "execution_mod": [2, 4, 23, 29], "import": [2, 4, 23, 29], "take": 2, "paramet": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20, 22, 23, 24, 27, 28, 29, 31, 32], "str": [2, 3, 4, 10, 13, 18, 19, 20, 22, 23, 24, 27, 28, 29, 31, 32], "bool": [2, 18, 19, 28, 29, 31], "If": [2, 3, 5, 9, 18, 19, 22, 28], "extract": [2, 19], "without": [2, 3, 19], "suppress": [2, 19], "intermedi": [2, 19], "commun": [2, 19], "log": [2, 19, 23, 24], "dure": [2, 18, 19, 20], "attempt": [2, 18, 19], "potenti": [2, 18, 19], "process": [2, 18, 19], "valid": [2, 4, 13, 19, 20, 23, 27, 29, 32, 33], "valu": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 19, 20, 23, 26, 29, 31], "return": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20, 22, 23, 24, 27, 28, 29, 31, 32], "compliant": [2, 18, 22], "vocabulari": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 22, 28], "write_graph_fil": 2, "receiv": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20, 22, 24, 27, 28, 29], "decode_all_ontouml_json2graph": 2, "each": [2, 23, 32], "The": [2, 4, 5, 13, 14, 15, 18, 19, 23, 28, 29, 32, 33], "chosen": 2, "decoded_graph": 2, "create_point": 3, "point_id": 3, "x_coord": 3, "y_coord": 3, "new": 3, "point": [3, 11, 14], "xcoordin": [3, 14], "ycoordin": [3, 14], "id": [3, 5, 10, 13], "int": 3, "horizont": 3, "coordin": 3, "vertic": 3, "count_elements_graph": 3, "dictionari": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 19, 22, 24], "respect": [3, 5, 6, 12], "quantiti": [3, 5, 6, 12], "load": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 20, 22, 24, 25, 28], "dict": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 22, 24], "get_stereotyp": 3, "object_dict": [3, 24], "reason": 3, "index": [3, 33], "check": [3, 5, 13, 22], "evalu": [3, 4, 20, 31], "absent": 3, "get_list_subdictionaries_for_specific_typ": 3, "dictionary_data": [3, 4], "wanted_typ": 3, "return_list": 3, "recurs": [3, 4, 10], "access": [3, 13, 19], "until": 3, "find": 3, "found": [3, 10], "copi": 3, "list": [3, 4, 10, 20, 29, 31, 32], "sub": 3, "field": [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "search": [3, 33], "get_subdictionary_for_specific_id": 3, "wanted_id": 3, "return_dict": 3, "get_all_ids_of_specific_typ": 3, "list_ids_for_typ": 3, "given": [3, 10, 29], "identifi": [3, 5, 10, 20, 33], "clean_null_data": 3, "empti": [3, 16, 17, 21, 30, 34], "associ": [3, 5, 13, 15, 24], "verifi": [3, 5, 31, 32], "compos": 3, "clean": 3, "add_metadata": 4, "basic": [4, 33], "dct": 4, "conformsto": 4, "conformstobas": 4, "creation": 4, "date": [4, 27], "comment": 4, "seealso": 4, "decode_dictionari": 4, "possibl": [4, 5, 19, 24], "directli": [4, 5, 14], "descript": [4, 18, 20], "height": [4, 14], "isabstract": [4, 5, 15], "iscomplet": [4, 9], "isderiv": [4, 5, 13, 15], "isdisjoint": [4, 9], "isord": [4, 13], "isreadonli": [4, 13], "text": 4, "width": [4, 14], "restrict": 4, "restricted_field": 4, "treat": [4, 5, 13], "decode_json_to_graph": 4, "json_data": [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "input": [4, 22, 29], "nomenclatur": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "set_": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "subject": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "_": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "predic": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "_relat": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "_attribut": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "_properti": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "validate_class_attribute_constraint": 5, "class_dict": 5, "constraint": 5, "relat": [5, 6, 12, 13, 15, 28, 33], "correctli": 5, "consid": [5, 12], "fix": [5, 13], "thei": [5, 14], "pair": 5, "vca1": 5, "noth": [5, 22], "vca2a": 5, "vca2b": 5, "vca3a": 5, "vca3b": 5, "validate_class_order_constraint": 5, "vco1": 5, "greater": 5, "than": 5, "vco2": 5, "abov": 5, "displai": [5, 13, 24], "set_defaults_class_attribut": 5, "nullabl": 5, "dca1": 5, "dca2": 5, "dca3": 5, "dca4": 5, "set_defaults_class_ord": 5, "dco1": 5, "dco2": 5, "set_class_stereotyp": 5, "vcs1": 5, "vcs2": 5, "set_class_order_nonnegativeinteg": 5, "integ": [5, 14], "b": 5, "posit": 5, "orderless": 5, "set_class_restrictedto_ontologicalnatur": 5, "restrictedto": 5, "ontologicalnatur": 5, "set_class_attribut": 5, "set_class_default": 5, "chang": 5, "becaus": [5, 13], "set_class_attribute_properti": 5, "set_class_literal_liter": 5, "liter": 5, "create_class_properti": 5, "element_count": [5, 6, 12], "whole": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "xsd": [5, 13, 14, 15], "nonnegativeinteg": [5, 13], "boolean": [5, 13, 15, 31], "One": 5, "characterist": 5, "here": 5, "_default": [6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "set_diagram_owner_modelel": 6, "diagram_dict": 6, "owner": 6, "set_diagram_containsview_elementview": 6, "containsview": 6, "elementview": [6, 7], "create_diagram_properti": 6, "modelel": [6, 7, 10], "element_view_typ": 7, "classview": 7, "packageview": 7, "generalizationsetview": 7, "relationview": 7, "generalizationview": 7, "noteview": 7, "set_elementview_rel": 7, "elementview_dict": 7, "shape": 7, "isviewof": 7, "create_elementview_properti": 7, "sourceview": 7, "connectorview": 7, "targetview": 7, "set_generalization_rel": 8, "generalization_dict": 8, "create_generalization_properti": 8, "classifi": [8, 13], "generalizationset": 9, "set_generalizationset_default": 9, "generalizationset_dict": 9, "set_generalizationset_rel": 9, "categor": 9, "create_generalizationset_properti": 9, "get_package_cont": 10, "package_dict": 10, "package_id": 10, "list_cont": 10, "alreadi": 10, "set_package_containsmodelelement_modelel": 10, "containsmodelel": 10, "create_package_properti": 10, "set_path_path_point": 11, "path_dict": 11, "create_path_properti": 11, "project": [12, 18, 33], "set_ontoumlelement_project_project": 12, "project_dict": 12, "obj": 12, "subj": 12, "set_project_model_packag": 12, "set_project_diagram_diagram": 12, "create_project_properti": 12, "everi": [12, 19], "ontoumlel": [12, 26], "validate_property_stereotyp": 13, "syntact": [13, 33], "what": 13, "itself": 13, "much": 13, "straightforward": 13, "vps1": 13, "begin": [13, 26], "end": [13, 26], "vps2": 13, "vps3": 13, "set_property_default": 13, "property_dict": 13, "dpa1": 13, "dpa2": 13, "dpa3": 13, "set_property_rel": 13, "aggregationkind": 13, "propertytyp": [13, 26], "determine_cardinality_bound": 13, "cardin": 13, "property_id": [13, 26], "string": [13, 20, 26, 27, 28], "cardinalityvalu": 13, "decoupl": 13, "lowerbound": 13, "upperbound": 13, "lower": 13, "upper": 13, "bound": 13, "own": 13, "tupl": 13, "three": [13, 31], "set_cardinality_rel": 13, "create_property_properti": 13, "subsetsproperti": 13, "redefinesproperti": 13, "rectangularshar": 14, "set_rectangularshape_coordin": 14, "rectangularshape_dict": 14, "topleftposit": 14, "rectangularshap": 14, "create_rectangularshape_properti": 14, "set_relation_default": 15, "relation_dict": 15, "dra1": 15, "dra2": 15, "set_relation_stereotyp": 15, "vrs1": 15, "set_relation_rel": 15, "relationend": 15, "sourceend": 15, "targetend": 15, "create_relation_properti": 15, "__init__": [16, 17, 21, 30, 34], "versatil": 18, "broader": 18, "streamlin": 18, "effortlessli": 18, "save_graph_fil": 18, "decode_json_project": 18, "label": 18, "decode_json_model": 18, "secur": 18, "destin": [18, 22], "while": 18, "extens": [18, 22], "treatment": 19, "start": 19, "make": 19, "variabl": 19, "global": 19, "initialize_args_script": 19, "line": 19, "initi": [19, 23], "initialize_args_import": 19, "not_initi": 19, "getcwd": 19, "graph_format": 19, "initialize_args_test": 19, "scenario": 20, "occur": 20, "improv": 20, "robust": 20, "reliabl": 20, "program": 20, "clear": 20, "rais": [20, 29, 32], "appropri": 20, "except": 20, "report_error_requirement_not_met": 20, "error_messag": 20, "caus": 20, "met": 20, "As": 20, "indic": [20, 29, 31], "detect": 20, "valueerror": 20, "alwai": [20, 28, 32], "report_error_invalid_paramet": 20, "invalid_paramet": 20, "list_valid_paramet": 20, "caller_function_nam": 20, "pass": 20, "accept": [20, 27, 29], "alfa": 20, "beta": 20, "gama": 20, "note": 20, "current_funct": 20, "inspect": 20, "stack": 20, "report_error_end_of_switch": 20, "switch": 20, "els": 20, "statement": [20, 31], "report_error_io_read": 20, "desired_cont": 20, "file_descript": [20, 22], "cannot": 20, "read": [20, 25], "test_fil": [20, 31], "io": [20, 22], "oper": 20, "oserror": 20, "report_error_io_writ": 20, "write": 20, "occas": 22, "create_directory_if_not_exist": 22, "directory_path": 22, "exist": 22, "safe_load_json_fil": 22, "json_path": 22, "safe_write_graph_fil": 22, "configur": 23, "consol": 23, "initialize_logg": 23, "trigger": 23, "info": 23, "concentr": 24, "whenev": 24, "get_decode_log_messag": 24, "warning_cod": 24, "property_nam": 24, "att_valid_stereotyp": 24, "mount": 24, "accord": [24, 27], "select": [24, 26], "modif": 24, "made": 24, "print_decode_log_messag": 24, "predefin": [24, 29], "pyproject": 25, "toml": 25, "manual": 25, "insert": 25, "get_element_and_typ": 26, "multilin": 26, "prefix": 26, "inst_typ": 26, "subclassof": 26, "inst_id": 26, "get_class_stereotype_attribute_stereotyp": 26, "class_id": 26, "class_stereotyp": 26, "class_nam": 26, "property_stereotyp": 26, "auxiliari": [27, 31], "get_date_tim": 27, "date_time_format": 27, "time": 27, "datetim": 27, "html": 27, "strftime": 27, "strptime": 27, "current": 27, "ontouml_ref": 28, "uriref": 28, "load_ontouml_vocabulari": 28, "enable_remot": 28, "memori": 28, "equal": [28, 31], "first": 28, "tri": 28, "fail": 28, "form": 28, "local": 28, "disabl": 28, "significantli": 28, "decreas": 28, "howev": 28, "most": 28, "recent": 28, "try": 28, "remot": 28, "sourc": 28, "load_graph_saf": 28, "ontology_fil": 28, "not_provid": 28, "validate_arg_input": 29, "flag": 29, "whether": 29, "validate_execution_mod": 29, "against": 29, "get_test_list": [31, 32], "print_graphs_differ": 31, "iso_result_graph": 31, "iso_expected_graph": 31, "test_nam": 31, "_both": 31, "expect": [31, 32], "_or": 31, "_oe": 31, "isomorph": 31, "comparison": [31, 32], "neg": 31, "compare_graph": [31, 32], "resulting_graph_path": 31, "expected_graph_path": 31, "store": 32, "list_of_test": 32, "retriev": 32, "done": 32, "should": 32, "successfulli": 32, "match": 32, "test_ontouml_json2graph": 32, "input_fil": 32, "transform": 33, "instal": 33, "usag": 33, "semat": 33, "perman": 33, "url": 33, "develop": 33, "contribut": 33, "author": 33, "api": 33, "subpackag": 35, "submodul": 35, "main_decod": 35, "content": 35}, "objects": {"": [[34, 0, 0, "-", "json2graph"]], "json2graph": [[2, 0, 0, "-", "decode"], [16, 0, 0, "-", "decoder"], [18, 0, 0, "-", "library"], [21, 0, 0, "-", "modules"], [30, 0, 0, "-", "tests"]], "json2graph.decode": [[2, 1, 1, "", "decode_all_ontouml_json2graph"], [2, 1, 1, "", "decode_ontouml_json2graph"], [2, 2, 1, "", "decoded_graph"], [2, 1, 1, "", "write_graph_file"]], "json2graph.decoder": [[3, 0, 0, "-", "decode_general"], [4, 0, 0, "-", "decode_main"], [5, 0, 0, "-", "decode_obj_class"], [6, 0, 0, "-", "decode_obj_diagram"], [7, 0, 0, "-", "decode_obj_elementview"], [8, 0, 0, "-", "decode_obj_generalization"], [9, 0, 0, "-", "decode_obj_generalizationset"], [10, 0, 0, "-", "decode_obj_package"], [11, 0, 0, "-", "decode_obj_path"], [12, 0, 0, "-", "decode_obj_project"], [13, 0, 0, "-", "decode_obj_property"], [14, 0, 0, "-", "decode_obj_rectangularshape"], [15, 0, 0, "-", "decode_obj_relation"]], "json2graph.decoder.decode_general": [[3, 2, 1, "", "LOGGER"], [3, 1, 1, "", "clean_null_data"], [3, 1, 1, "", "count_elements_graph"], [3, 1, 1, "", "create_point"], [3, 1, 1, "", "get_all_ids_of_specific_type"], [3, 1, 1, "", "get_list_subdictionaries_for_specific_type"], [3, 1, 1, "", "get_stereotype"], [3, 1, 1, "", "get_subdictionary_for_specific_id"]], "json2graph.decoder.decode_main": [[4, 2, 1, "", "LOGGER"], [4, 1, 1, "", "add_metadata"], [4, 1, 1, "", "decode_dictionary"], [4, 1, 1, "", "decode_json_to_graph"]], "json2graph.decoder.decode_obj_class": [[5, 1, 1, "", "create_class_properties"], [5, 1, 1, "", "set_class_attribute_property"], [5, 1, 1, "", "set_class_attributes"], [5, 1, 1, "", "set_class_literal_literal"], [5, 1, 1, "", "set_class_order_nonnegativeinteger"], [5, 1, 1, "", "set_class_restrictedto_ontologicalnature"], [5, 1, 1, "", "set_class_stereotype"], [5, 1, 1, "", "set_defaults_class_attribute"], [5, 1, 1, "", "set_defaults_class_order"], [5, 1, 1, "", "validate_class_attribute_constraints"], [5, 1, 1, "", "validate_class_order_constraints"]], "json2graph.decoder.decode_obj_diagram": [[6, 1, 1, "", "create_diagram_properties"], [6, 1, 1, "", "set_diagram_containsview_elementview"], [6, 1, 1, "", "set_diagram_owner_modelelement"]], "json2graph.decoder.decode_obj_elementview": [[7, 2, 1, "", "ELEMENT_VIEW_TYPES"], [7, 1, 1, "", "create_elementview_properties"], [7, 1, 1, "", "set_elementview_relations"]], "json2graph.decoder.decode_obj_generalization": [[8, 1, 1, "", "create_generalization_properties"], [8, 1, 1, "", "set_generalization_relations"]], "json2graph.decoder.decode_obj_generalizationset": [[9, 1, 1, "", "create_generalizationset_properties"], [9, 1, 1, "", "set_generalizationset_defaults"], [9, 1, 1, "", "set_generalizationset_relations"]], "json2graph.decoder.decode_obj_package": [[10, 1, 1, "", "create_package_properties"], [10, 1, 1, "", "get_package_contents"], [10, 1, 1, "", "set_package_containsmodelelement_modelelement"]], "json2graph.decoder.decode_obj_path": [[11, 1, 1, "", "create_path_properties"], [11, 1, 1, "", "set_path_path_point"]], "json2graph.decoder.decode_obj_project": [[12, 1, 1, "", "create_project_properties"], [12, 1, 1, "", "set_ontoumlelement_project_project"], [12, 1, 1, "", "set_project_diagram_diagram"], [12, 1, 1, "", "set_project_model_package"]], "json2graph.decoder.decode_obj_property": [[13, 2, 1, "", "LOGGER"], [13, 1, 1, "", "create_property_properties"], [13, 1, 1, "", "determine_cardinality_bounds"], [13, 1, 1, "", "set_cardinality_relations"], [13, 1, 1, "", "set_property_defaults"], [13, 1, 1, "", "set_property_relations"], [13, 1, 1, "", "validate_property_stereotype"]], "json2graph.decoder.decode_obj_rectangularshape": [[14, 1, 1, "", "create_rectangularshape_properties"], [14, 1, 1, "", "set_rectangularshape_coordinates"]], "json2graph.decoder.decode_obj_relation": [[15, 1, 1, "", "create_relation_properties"], [15, 1, 1, "", "set_relation_defaults"], [15, 1, 1, "", "set_relation_relations"], [15, 1, 1, "", "set_relation_stereotype"]], "json2graph.library": [[18, 1, 1, "", "decode_json_model"], [18, 1, 1, "", "decode_json_project"], [18, 1, 1, "", "save_graph_file"]], "json2graph.modules": [[19, 0, 0, "-", "arguments"], [20, 0, 0, "-", "errors"], [22, 0, 0, "-", "input_output"], [23, 0, 0, "-", "logger"], [24, 0, 0, "-", "messages"], [25, 0, 0, "-", "metadata"], [26, 0, 0, "-", "sparql_queries"], [27, 0, 0, "-", "utils_general"], [28, 0, 0, "-", "utils_graph"], [29, 0, 0, "-", "utils_validations"]], "json2graph.modules.arguments": [[19, 2, 1, "", "ARGUMENTS"], [19, 2, 1, "", "LOGGER"], [19, 1, 1, "", "initialize_args_import"], [19, 1, 1, "", "initialize_args_script"], [19, 1, 1, "", "initialize_args_test"]], "json2graph.modules.errors": [[20, 2, 1, "", "LOGGER"], [20, 1, 1, "", "report_error_end_of_switch"], [20, 1, 1, "", "report_error_invalid_parameter"], [20, 1, 1, "", "report_error_io_read"], [20, 1, 1, "", "report_error_io_write"], [20, 1, 1, "", "report_error_requirement_not_met"]], "json2graph.modules.input_output": [[22, 2, 1, "", "LOGGER"], [22, 1, 1, "", "create_directory_if_not_exists"], [22, 1, 1, "", "safe_load_json_file"], [22, 1, 1, "", "safe_write_graph_file"]], "json2graph.modules.logger": [[23, 1, 1, "", "initialize_logger"]], "json2graph.modules.messages": [[24, 2, 1, "", "LOGGER"], [24, 1, 1, "", "get_decode_log_message"], [24, 1, 1, "", "print_decode_log_message"]], "json2graph.modules.metadata": [[25, 2, 1, "", "LOGGER"], [25, 2, 1, "", "METADATA"]], "json2graph.modules.sparql_queries": [[26, 2, 1, "", "GET_CLASS_STEREOTYPE_ATTRIBUTE_STEREOTYPE"], [26, 2, 1, "", "GET_ELEMENT_AND_TYPE"]], "json2graph.modules.utils_general": [[27, 1, 1, "", "get_date_time"]], "json2graph.modules.utils_graph": [[28, 2, 1, "", "LOGGER"], [28, 1, 1, "", "load_graph_safely"], [28, 1, 1, "", "load_ontouml_vocabulary"], [28, 1, 1, "", "ontouml_ref"]], "json2graph.modules.utils_validations": [[29, 1, 1, "", "validate_arg_input"], [29, 1, 1, "", "validate_execution_mode"]], "json2graph.tests": [[31, 0, 0, "-", "test_aux"], [32, 0, 0, "-", "test_main"]], "json2graph.tests.test_aux": [[31, 1, 1, "", "compare_graphs"], [31, 1, 1, "", "get_test_list"], [31, 1, 1, "", "print_graphs_differences"]], "json2graph.tests.test_main": [[32, 2, 1, "", "LIST_OF_TESTS"], [32, 1, 1, "", "test_ontouml_json2graph"]]}, "objtypes": {"0": "py:module", "1": "py:function", "2": "py:data"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "function", "Python function"], "2": ["py", "data", "Python data"]}, "titleterms": {"The": 0, "ontouml": [0, 33], "json2graph": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35], "transform": 0, "content": [0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20, 22, 23, 24, 25, 26, 27, 28, 29, 31, 32, 33, 34], "instal": 0, "usag": 0, "execut": 0, "script": 0, "argument": [0, 19], "import": 0, "librari": [0, 18], "decode_json_project": 0, "decode_json_model": 0, "save_graph_fil": 0, "input": 0, "output": 0, "vocabulari": 0, "gufo": 0, "basic": 0, "syntact": 0, "semat": 0, "valid": 0, "perman": 0, "url": 0, "identifi": 0, "relat": 0, "project": 0, "develop": 0, "contribut": 0, "author": 0, "api": 1, "refer": 1, "decod": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], "modul": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 31, 32, 34], "function": [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 20, 22, 23, 24, 27, 28, 29, 31, 32], "attribut": [2, 3, 4, 7, 13, 19, 20, 22, 24, 28, 32], "decode_gener": 3, "decode_main": 4, "decode_obj_class": 5, "decode_obj_diagram": 6, "decode_obj_elementview": 7, "decode_obj_gener": 8, "decode_obj_generalizationset": 9, "decode_obj_packag": 10, "decode_obj_path": 11, "decode_obj_project": 12, "decode_obj_properti": 13, "decode_obj_rectangularshap": 14, "decode_obj_rel": 15, "submodul": [16, 17, 21, 30, 34], "subpackag": [17, 34], "error": 20, "input_output": 22, "logger": 23, "messag": 24, "metadata": 25, "sparql_queri": 26, "utils_gener": 27, "utils_graph": 28, "utils_valid": 29, "test": [30, 31, 32], "test_aux": 31, "test_main": 32, "welcom": 33, "": 33, "document": 33, "indic": 33, "tabl": 33, "packag": 34, "main_decod": 34}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 60}, "alltitles": {"The OntoUML JSON2Graph Transformation": [[0, "the-ontouml-json2graph-transformation"]], "Contents": [[0, "contents"]], "Installation": [[0, "installation"]], "Usage": [[0, "usage"]], "Executing as a Script": [[0, "executing-as-a-script"]], "Arguments": [[0, "arguments"]], "Importing as a Library": [[0, "importing-as-a-library"]], "decode_json_project": [[0, "decode-json-project"]], "decode_json_model": [[0, "decode-json-model"]], "save_graph_file": [[0, "save-graph-file"]], "Input and Output": [[0, "input-and-output"]], "OntoUML Vocabulary and gUFO": [[0, "ontouml-vocabulary-and-gufo"]], "Basic Syntactical and Sematic Validation": [[0, "basic-syntactical-and-sematic-validation"]], "Permanent URLs and Identifiers": [[0, "permanent-urls-and-identifiers"]], "Related Projects": [[0, "related-projects"]], "Development Contribution": [[0, "development-contribution"]], "Author": [[0, "author"]], "API Reference": [[1, "api-reference"]], "json2graph.decode": [[2, "module-json2graph.decode"]], "Module Contents": [[2, "module-contents"], [3, "module-contents"], [4, "module-contents"], [5, "module-contents"], [6, "module-contents"], [7, "module-contents"], [8, "module-contents"], [9, "module-contents"], [10, "module-contents"], [11, "module-contents"], [12, "module-contents"], [13, "module-contents"], [14, "module-contents"], [15, "module-contents"], [18, "module-contents"], [19, "module-contents"], [20, "module-contents"], [22, "module-contents"], [23, "module-contents"], [24, "module-contents"], [25, "module-contents"], [26, "module-contents"], [27, "module-contents"], [28, "module-contents"], [29, "module-contents"], [31, "module-contents"], [32, "module-contents"]], "Functions": [[2, "functions"], [3, "functions"], [4, "functions"], [5, "functions"], [6, "functions"], [7, "functions"], [8, "functions"], [9, "functions"], [10, "functions"], [11, "functions"], [12, "functions"], [13, "functions"], [14, "functions"], [15, "functions"], [18, "functions"], [19, "functions"], [20, "functions"], [22, "functions"], [23, "functions"], [24, "functions"], [27, "functions"], [28, "functions"], [29, "functions"], [31, "functions"], [32, "functions"]], "Attributes": [[2, "attributes"], [3, "attributes"], [4, "attributes"], [7, "attributes"], [13, "attributes"], [19, "attributes"], [20, "attributes"], [22, "attributes"], [24, "attributes"], [28, "attributes"], [32, "attributes"]], "json2graph.decoder.decode_general": [[3, "module-json2graph.decoder.decode_general"]], "json2graph.decoder.decode_main": [[4, "module-json2graph.decoder.decode_main"]], "json2graph.decoder.decode_obj_class": [[5, "module-json2graph.decoder.decode_obj_class"]], "json2graph.decoder.decode_obj_diagram": [[6, "module-json2graph.decoder.decode_obj_diagram"]], "json2graph.decoder.decode_obj_elementview": [[7, "module-json2graph.decoder.decode_obj_elementview"]], "json2graph.decoder.decode_obj_generalization": [[8, "module-json2graph.decoder.decode_obj_generalization"]], "json2graph.decoder.decode_obj_generalizationset": [[9, "module-json2graph.decoder.decode_obj_generalizationset"]], "json2graph.decoder.decode_obj_package": [[10, "module-json2graph.decoder.decode_obj_package"]], "json2graph.decoder.decode_obj_path": [[11, "module-json2graph.decoder.decode_obj_path"]], "json2graph.decoder.decode_obj_project": [[12, "module-json2graph.decoder.decode_obj_project"]], "json2graph.decoder.decode_obj_property": [[13, "module-json2graph.decoder.decode_obj_property"]], "json2graph.decoder.decode_obj_rectangularshape": [[14, "module-json2graph.decoder.decode_obj_rectangularshape"]], "json2graph.decoder.decode_obj_relation": [[15, "module-json2graph.decoder.decode_obj_relation"]], "json2graph.decoder": [[16, "module-json2graph.decoder"]], "Submodules": [[16, "submodules"], [17, "submodules"], [21, "submodules"], [30, "submodules"], [34, "submodules"]], "json2graph": [[17, "module-json2graph"], [35, "json2graph"]], "Subpackages": [[17, "subpackages"], [34, "subpackages"]], "json2graph.library": [[18, "module-json2graph.library"]], "json2graph.modules.arguments": [[19, "module-json2graph.modules.arguments"]], "json2graph.modules.errors": [[20, "module-json2graph.modules.errors"]], "json2graph.modules": [[21, "module-json2graph.modules"]], "json2graph.modules.input_output": [[22, "module-json2graph.modules.input_output"]], "json2graph.modules.logger": [[23, "module-json2graph.modules.logger"]], "json2graph.modules.messages": [[24, "module-json2graph.modules.messages"]], "json2graph.modules.metadata": [[25, "module-json2graph.modules.metadata"]], "json2graph.modules.sparql_queries": [[26, "module-json2graph.modules.sparql_queries"]], "json2graph.modules.utils_general": [[27, "module-json2graph.modules.utils_general"]], "json2graph.modules.utils_graph": [[28, "module-json2graph.modules.utils_graph"]], "json2graph.modules.utils_validations": [[29, "module-json2graph.modules.utils_validations"]], "json2graph.tests": [[30, "module-json2graph.tests"]], "json2graph.tests.test_aux": [[31, "module-json2graph.tests.test_aux"]], "json2graph.tests.test_main": [[32, "module-json2graph.tests.test_main"]], "Welcome to ontouml-json2graph\u2019s documentation!": [[33, "welcome-to-ontouml-json2graph-s-documentation"]], "Contents:": [[33, null]], "Indices and tables": [[33, "indices-and-tables"]], "json2graph package": [[34, "json2graph-package"]], "json2graph.main_decode module": [[34, "json2graph-main-decode-module"]], "Module contents": [[34, "module-json2graph"]]}, "indexentries": {"decode_all_ontouml_json2graph() (in module json2graph.decode)": [[2, "json2graph.decode.decode_all_ontouml_json2graph"]], "decode_ontouml_json2graph() (in module json2graph.decode)": [[2, "json2graph.decode.decode_ontouml_json2graph"]], "decoded_graph (in module json2graph.decode)": [[2, "json2graph.decode.decoded_graph"]], "json2graph.decode": [[2, "module-json2graph.decode"]], "module": [[2, "module-json2graph.decode"], [3, "module-json2graph.decoder.decode_general"], [4, "module-json2graph.decoder.decode_main"], [5, "module-json2graph.decoder.decode_obj_class"], [6, "module-json2graph.decoder.decode_obj_diagram"], [7, "module-json2graph.decoder.decode_obj_elementview"], [8, "module-json2graph.decoder.decode_obj_generalization"], [9, "module-json2graph.decoder.decode_obj_generalizationset"], [10, "module-json2graph.decoder.decode_obj_package"], [11, "module-json2graph.decoder.decode_obj_path"], [12, "module-json2graph.decoder.decode_obj_project"], [13, "module-json2graph.decoder.decode_obj_property"], [14, "module-json2graph.decoder.decode_obj_rectangularshape"], [15, "module-json2graph.decoder.decode_obj_relation"], [16, "module-json2graph.decoder"], [17, "module-json2graph"], [18, "module-json2graph.library"], [19, "module-json2graph.modules.arguments"], [20, "module-json2graph.modules.errors"], [21, "module-json2graph.modules"], [22, "module-json2graph.modules.input_output"], [23, "module-json2graph.modules.logger"], [24, "module-json2graph.modules.messages"], [25, "module-json2graph.modules.metadata"], [26, "module-json2graph.modules.sparql_queries"], [27, "module-json2graph.modules.utils_general"], [28, "module-json2graph.modules.utils_graph"], [29, "module-json2graph.modules.utils_validations"], [30, "module-json2graph.tests"], [31, "module-json2graph.tests.test_aux"], [32, "module-json2graph.tests.test_main"], [34, "module-json2graph"]], "write_graph_file() (in module json2graph.decode)": [[2, "json2graph.decode.write_graph_file"]], "logger (in module json2graph.decoder.decode_general)": [[3, "json2graph.decoder.decode_general.LOGGER"]], "clean_null_data() (in module json2graph.decoder.decode_general)": [[3, "json2graph.decoder.decode_general.clean_null_data"]], "count_elements_graph() (in module json2graph.decoder.decode_general)": [[3, "json2graph.decoder.decode_general.count_elements_graph"]], "create_point() (in module json2graph.decoder.decode_general)": [[3, "json2graph.decoder.decode_general.create_point"]], "get_all_ids_of_specific_type() (in module json2graph.decoder.decode_general)": [[3, "json2graph.decoder.decode_general.get_all_ids_of_specific_type"]], "get_list_subdictionaries_for_specific_type() (in module json2graph.decoder.decode_general)": [[3, "json2graph.decoder.decode_general.get_list_subdictionaries_for_specific_type"]], "get_stereotype() (in module json2graph.decoder.decode_general)": [[3, "json2graph.decoder.decode_general.get_stereotype"]], "get_subdictionary_for_specific_id() (in module json2graph.decoder.decode_general)": [[3, "json2graph.decoder.decode_general.get_subdictionary_for_specific_id"]], "json2graph.decoder.decode_general": [[3, "module-json2graph.decoder.decode_general"]], "logger (in module json2graph.decoder.decode_main)": [[4, "json2graph.decoder.decode_main.LOGGER"]], "add_metadata() (in module json2graph.decoder.decode_main)": [[4, "json2graph.decoder.decode_main.add_metadata"]], "decode_dictionary() (in module json2graph.decoder.decode_main)": [[4, "json2graph.decoder.decode_main.decode_dictionary"]], "decode_json_to_graph() (in module json2graph.decoder.decode_main)": [[4, "json2graph.decoder.decode_main.decode_json_to_graph"]], "json2graph.decoder.decode_main": [[4, "module-json2graph.decoder.decode_main"]], "create_class_properties() (in module json2graph.decoder.decode_obj_class)": [[5, "json2graph.decoder.decode_obj_class.create_class_properties"]], "json2graph.decoder.decode_obj_class": [[5, "module-json2graph.decoder.decode_obj_class"]], "set_class_attribute_property() (in module json2graph.decoder.decode_obj_class)": [[5, "json2graph.decoder.decode_obj_class.set_class_attribute_property"]], "set_class_attributes() (in module json2graph.decoder.decode_obj_class)": [[5, "json2graph.decoder.decode_obj_class.set_class_attributes"]], "set_class_literal_literal() (in module json2graph.decoder.decode_obj_class)": [[5, "json2graph.decoder.decode_obj_class.set_class_literal_literal"]], "set_class_order_nonnegativeinteger() (in module json2graph.decoder.decode_obj_class)": [[5, "json2graph.decoder.decode_obj_class.set_class_order_nonnegativeinteger"]], "set_class_restrictedto_ontologicalnature() (in module json2graph.decoder.decode_obj_class)": [[5, "json2graph.decoder.decode_obj_class.set_class_restrictedto_ontologicalnature"]], "set_class_stereotype() (in module json2graph.decoder.decode_obj_class)": [[5, "json2graph.decoder.decode_obj_class.set_class_stereotype"]], "set_defaults_class_attribute() (in module json2graph.decoder.decode_obj_class)": [[5, "json2graph.decoder.decode_obj_class.set_defaults_class_attribute"]], "set_defaults_class_order() (in module json2graph.decoder.decode_obj_class)": [[5, "json2graph.decoder.decode_obj_class.set_defaults_class_order"]], "validate_class_attribute_constraints() (in module json2graph.decoder.decode_obj_class)": [[5, "json2graph.decoder.decode_obj_class.validate_class_attribute_constraints"]], "validate_class_order_constraints() (in module json2graph.decoder.decode_obj_class)": [[5, "json2graph.decoder.decode_obj_class.validate_class_order_constraints"]], "create_diagram_properties() (in module json2graph.decoder.decode_obj_diagram)": [[6, "json2graph.decoder.decode_obj_diagram.create_diagram_properties"]], "json2graph.decoder.decode_obj_diagram": [[6, "module-json2graph.decoder.decode_obj_diagram"]], "set_diagram_containsview_elementview() (in module json2graph.decoder.decode_obj_diagram)": [[6, "json2graph.decoder.decode_obj_diagram.set_diagram_containsview_elementview"]], "set_diagram_owner_modelelement() (in module json2graph.decoder.decode_obj_diagram)": [[6, "json2graph.decoder.decode_obj_diagram.set_diagram_owner_modelelement"]], "element_view_types (in module json2graph.decoder.decode_obj_elementview)": [[7, "json2graph.decoder.decode_obj_elementview.ELEMENT_VIEW_TYPES"]], "create_elementview_properties() (in module json2graph.decoder.decode_obj_elementview)": [[7, "json2graph.decoder.decode_obj_elementview.create_elementview_properties"]], "json2graph.decoder.decode_obj_elementview": [[7, "module-json2graph.decoder.decode_obj_elementview"]], "set_elementview_relations() (in module json2graph.decoder.decode_obj_elementview)": [[7, "json2graph.decoder.decode_obj_elementview.set_elementview_relations"]], "create_generalization_properties() (in module json2graph.decoder.decode_obj_generalization)": [[8, "json2graph.decoder.decode_obj_generalization.create_generalization_properties"]], "json2graph.decoder.decode_obj_generalization": [[8, "module-json2graph.decoder.decode_obj_generalization"]], "set_generalization_relations() (in module json2graph.decoder.decode_obj_generalization)": [[8, "json2graph.decoder.decode_obj_generalization.set_generalization_relations"]], "create_generalizationset_properties() (in module json2graph.decoder.decode_obj_generalizationset)": [[9, "json2graph.decoder.decode_obj_generalizationset.create_generalizationset_properties"]], "json2graph.decoder.decode_obj_generalizationset": [[9, "module-json2graph.decoder.decode_obj_generalizationset"]], "set_generalizationset_defaults() (in module json2graph.decoder.decode_obj_generalizationset)": [[9, "json2graph.decoder.decode_obj_generalizationset.set_generalizationset_defaults"]], "set_generalizationset_relations() (in module json2graph.decoder.decode_obj_generalizationset)": [[9, "json2graph.decoder.decode_obj_generalizationset.set_generalizationset_relations"]], "create_package_properties() (in module json2graph.decoder.decode_obj_package)": [[10, "json2graph.decoder.decode_obj_package.create_package_properties"]], "get_package_contents() (in module json2graph.decoder.decode_obj_package)": [[10, "json2graph.decoder.decode_obj_package.get_package_contents"]], "json2graph.decoder.decode_obj_package": [[10, "module-json2graph.decoder.decode_obj_package"]], "set_package_containsmodelelement_modelelement() (in module json2graph.decoder.decode_obj_package)": [[10, "json2graph.decoder.decode_obj_package.set_package_containsmodelelement_modelelement"]], "create_path_properties() (in module json2graph.decoder.decode_obj_path)": [[11, "json2graph.decoder.decode_obj_path.create_path_properties"]], "json2graph.decoder.decode_obj_path": [[11, "module-json2graph.decoder.decode_obj_path"]], "set_path_path_point() (in module json2graph.decoder.decode_obj_path)": [[11, "json2graph.decoder.decode_obj_path.set_path_path_point"]], "create_project_properties() (in module json2graph.decoder.decode_obj_project)": [[12, "json2graph.decoder.decode_obj_project.create_project_properties"]], "json2graph.decoder.decode_obj_project": [[12, "module-json2graph.decoder.decode_obj_project"]], "set_ontoumlelement_project_project() (in module json2graph.decoder.decode_obj_project)": [[12, "json2graph.decoder.decode_obj_project.set_ontoumlelement_project_project"]], "set_project_diagram_diagram() (in module json2graph.decoder.decode_obj_project)": [[12, "json2graph.decoder.decode_obj_project.set_project_diagram_diagram"]], "set_project_model_package() (in module json2graph.decoder.decode_obj_project)": [[12, "json2graph.decoder.decode_obj_project.set_project_model_package"]], "logger (in module json2graph.decoder.decode_obj_property)": [[13, "json2graph.decoder.decode_obj_property.LOGGER"]], "create_property_properties() (in module json2graph.decoder.decode_obj_property)": [[13, "json2graph.decoder.decode_obj_property.create_property_properties"]], "determine_cardinality_bounds() (in module json2graph.decoder.decode_obj_property)": [[13, "json2graph.decoder.decode_obj_property.determine_cardinality_bounds"]], "json2graph.decoder.decode_obj_property": [[13, "module-json2graph.decoder.decode_obj_property"]], "set_cardinality_relations() (in module json2graph.decoder.decode_obj_property)": [[13, "json2graph.decoder.decode_obj_property.set_cardinality_relations"]], "set_property_defaults() (in module json2graph.decoder.decode_obj_property)": [[13, "json2graph.decoder.decode_obj_property.set_property_defaults"]], "set_property_relations() (in module json2graph.decoder.decode_obj_property)": [[13, "json2graph.decoder.decode_obj_property.set_property_relations"]], "validate_property_stereotype() (in module json2graph.decoder.decode_obj_property)": [[13, "json2graph.decoder.decode_obj_property.validate_property_stereotype"]], "create_rectangularshape_properties() (in module json2graph.decoder.decode_obj_rectangularshape)": [[14, "json2graph.decoder.decode_obj_rectangularshape.create_rectangularshape_properties"]], "json2graph.decoder.decode_obj_rectangularshape": [[14, "module-json2graph.decoder.decode_obj_rectangularshape"]], "set_rectangularshape_coordinates() (in module json2graph.decoder.decode_obj_rectangularshape)": [[14, "json2graph.decoder.decode_obj_rectangularshape.set_rectangularshape_coordinates"]], "create_relation_properties() (in module json2graph.decoder.decode_obj_relation)": [[15, "json2graph.decoder.decode_obj_relation.create_relation_properties"]], "json2graph.decoder.decode_obj_relation": [[15, "module-json2graph.decoder.decode_obj_relation"]], "set_relation_defaults() (in module json2graph.decoder.decode_obj_relation)": [[15, "json2graph.decoder.decode_obj_relation.set_relation_defaults"]], "set_relation_relations() (in module json2graph.decoder.decode_obj_relation)": [[15, "json2graph.decoder.decode_obj_relation.set_relation_relations"]], "set_relation_stereotype() (in module json2graph.decoder.decode_obj_relation)": [[15, "json2graph.decoder.decode_obj_relation.set_relation_stereotype"]], "json2graph.decoder": [[16, "module-json2graph.decoder"]], "json2graph": [[17, "module-json2graph"], [34, "module-json2graph"]], "decode_json_model() (in module json2graph.library)": [[18, "json2graph.library.decode_json_model"]], "decode_json_project() (in module json2graph.library)": [[18, "json2graph.library.decode_json_project"]], "json2graph.library": [[18, "module-json2graph.library"]], "save_graph_file() (in module json2graph.library)": [[18, "json2graph.library.save_graph_file"]], "arguments (in module json2graph.modules.arguments)": [[19, "json2graph.modules.arguments.ARGUMENTS"]], "logger (in module json2graph.modules.arguments)": [[19, "json2graph.modules.arguments.LOGGER"]], "initialize_args_import() (in module json2graph.modules.arguments)": [[19, "json2graph.modules.arguments.initialize_args_import"]], "initialize_args_script() (in module json2graph.modules.arguments)": [[19, "json2graph.modules.arguments.initialize_args_script"]], "initialize_args_test() (in module json2graph.modules.arguments)": [[19, "json2graph.modules.arguments.initialize_args_test"]], "json2graph.modules.arguments": [[19, "module-json2graph.modules.arguments"]], "logger (in module json2graph.modules.errors)": [[20, "json2graph.modules.errors.LOGGER"]], "json2graph.modules.errors": [[20, "module-json2graph.modules.errors"]], "report_error_end_of_switch() (in module json2graph.modules.errors)": [[20, "json2graph.modules.errors.report_error_end_of_switch"]], "report_error_invalid_parameter() (in module json2graph.modules.errors)": [[20, "json2graph.modules.errors.report_error_invalid_parameter"]], "report_error_io_read() (in module json2graph.modules.errors)": [[20, "json2graph.modules.errors.report_error_io_read"]], "report_error_io_write() (in module json2graph.modules.errors)": [[20, "json2graph.modules.errors.report_error_io_write"]], "report_error_requirement_not_met() (in module json2graph.modules.errors)": [[20, "json2graph.modules.errors.report_error_requirement_not_met"]], "json2graph.modules": [[21, "module-json2graph.modules"]], "logger (in module json2graph.modules.input_output)": [[22, "json2graph.modules.input_output.LOGGER"]], "create_directory_if_not_exists() (in module json2graph.modules.input_output)": [[22, "json2graph.modules.input_output.create_directory_if_not_exists"]], "json2graph.modules.input_output": [[22, "module-json2graph.modules.input_output"]], "safe_load_json_file() (in module json2graph.modules.input_output)": [[22, "json2graph.modules.input_output.safe_load_json_file"]], "safe_write_graph_file() (in module json2graph.modules.input_output)": [[22, "json2graph.modules.input_output.safe_write_graph_file"]], "initialize_logger() (in module json2graph.modules.logger)": [[23, "json2graph.modules.logger.initialize_logger"]], "json2graph.modules.logger": [[23, "module-json2graph.modules.logger"]], "logger (in module json2graph.modules.messages)": [[24, "json2graph.modules.messages.LOGGER"]], "get_decode_log_message() (in module json2graph.modules.messages)": [[24, "json2graph.modules.messages.get_decode_log_message"]], "json2graph.modules.messages": [[24, "module-json2graph.modules.messages"]], "print_decode_log_message() (in module json2graph.modules.messages)": [[24, "json2graph.modules.messages.print_decode_log_message"]], "logger (in module json2graph.modules.metadata)": [[25, "json2graph.modules.metadata.LOGGER"]], "metadata (in module json2graph.modules.metadata)": [[25, "json2graph.modules.metadata.METADATA"]], "json2graph.modules.metadata": [[25, "module-json2graph.modules.metadata"]], "get_class_stereotype_attribute_stereotype (in module json2graph.modules.sparql_queries)": [[26, "json2graph.modules.sparql_queries.GET_CLASS_STEREOTYPE_ATTRIBUTE_STEREOTYPE"]], "get_element_and_type (in module json2graph.modules.sparql_queries)": [[26, "json2graph.modules.sparql_queries.GET_ELEMENT_AND_TYPE"]], "json2graph.modules.sparql_queries": [[26, "module-json2graph.modules.sparql_queries"]], "get_date_time() (in module json2graph.modules.utils_general)": [[27, "json2graph.modules.utils_general.get_date_time"]], "json2graph.modules.utils_general": [[27, "module-json2graph.modules.utils_general"]], "logger (in module json2graph.modules.utils_graph)": [[28, "json2graph.modules.utils_graph.LOGGER"]], "json2graph.modules.utils_graph": [[28, "module-json2graph.modules.utils_graph"]], "load_graph_safely() (in module json2graph.modules.utils_graph)": [[28, "json2graph.modules.utils_graph.load_graph_safely"]], "load_ontouml_vocabulary() (in module json2graph.modules.utils_graph)": [[28, "json2graph.modules.utils_graph.load_ontouml_vocabulary"]], "ontouml_ref() (in module json2graph.modules.utils_graph)": [[28, "json2graph.modules.utils_graph.ontouml_ref"]], "json2graph.modules.utils_validations": [[29, "module-json2graph.modules.utils_validations"]], "validate_arg_input() (in module json2graph.modules.utils_validations)": [[29, "json2graph.modules.utils_validations.validate_arg_input"]], "validate_execution_mode() (in module json2graph.modules.utils_validations)": [[29, "json2graph.modules.utils_validations.validate_execution_mode"]], "json2graph.tests": [[30, "module-json2graph.tests"]], "compare_graphs() (in module json2graph.tests.test_aux)": [[31, "json2graph.tests.test_aux.compare_graphs"]], "get_test_list() (in module json2graph.tests.test_aux)": [[31, "json2graph.tests.test_aux.get_test_list"]], "json2graph.tests.test_aux": [[31, "module-json2graph.tests.test_aux"]], "print_graphs_differences() (in module json2graph.tests.test_aux)": [[31, "json2graph.tests.test_aux.print_graphs_differences"]], "list_of_tests (in module json2graph.tests.test_main)": [[32, "json2graph.tests.test_main.LIST_OF_TESTS"]], "json2graph.tests.test_main": [[32, "module-json2graph.tests.test_main"]], "test_ontouml_json2graph() (in module json2graph.tests.test_main)": [[32, "json2graph.tests.test_main.test_ontouml_json2graph"]]}}) \ No newline at end of file diff --git a/json2graph/modules/metadata.py b/json2graph/modules/metadata.py index e2f6142..4d7c1f8 100644 --- a/json2graph/modules/metadata.py +++ b/json2graph/modules/metadata.py @@ -6,7 +6,7 @@ """ from importlib.metadata import metadata -from json2graph.modules.logger import initialize_logger +from .logger import initialize_logger LOGGER = initialize_logger() diff --git a/pyproject.toml b/pyproject.toml index ade0efa..03b6143 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ontouml-json2graph" -version = "1.3.0" +version = "1.3.1" description = "OntoUML JSON2Graph Decoder" license = "Apache-2.0" authors = ["Pedro Paulo F. Barcelos "]