Built-in FunctionsΒΆ

The core functions of PyGraft are reported below:

Function

Description

create_template(extension)

Generate a configuration file template in the working directory

create_json_template()

Generate a .json configuration file template in the working directory

create_yaml_template()

Generate a .yml configuration file template in the working directory

generate_schema(path)

Generate a schema based on a specified path to a configuration file

generate_kg(path)

Generate a KG based on a specified path to a configuration file

generate_both(path)

Generate both a schema and a KG based on a specified path to a configuration file