Skip to main content

System Knowledge Graphs (SKGs) to Automata

Description

Module developed within the Auto-Twin Horizon EU project to extract data from Neo4j SKGs for automata learning purposes and to store learned automata into the SKG.

Requirements

Follow instructions for the promg-core project to create the SKG.

Configuration

The default configuration file is available in the ./resources/config/ folder.

The module currently assumes the Neo4j instance to be running on localhost:7687: if this is not the case, update the config.ini file accordingly.

How to use

Available queries are implemented as methods of the Skg_Reader class:

  • get_events(): Returns all Event nodes.
  • get_events_by_date(start_t, end_t): Return Event nodes filtered by timestamp. If both start_t and end_t are given, it returns events such that the timestamp is within range [start_t, end_t]. If only one parameter is specified, it returns events such that the timestamp is greater than start_t or smaller than end_t. If no parameter is specified, it returns all events.
  • get_entities(): Returns all Entity nodes.
  • get_sensors(): Returns all Class nodes.

Metadata

Release files for skg-connector 0.1.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for skg-connector 0.1.16
File Size Uploaded
skg_connector-0.1.16.tar.gz 30.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for skg-connector 0.1.16
File Interpreter ABI Platform
skg_connector-0.1.16-py3-none-any.whl Python 3 none any Details

Total release size: 71.9 kB

Release files / skg_connector-0.1.16.tar.gz

Download URL skg_connector-0.1.16.tar.gz
Size 30.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6b2b3eac76835da7bd481760a92a71f4a3d646c3671413e7b8c923ca0f221f60
BLAKE2b-256 checksum
How to use checksums
974f6084b39245f0955257953be8781d3b48cc177e9cb0745d13a6e08e78433e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.14

Release files / skg_connector-0.1.16-py3-none-any.whl

Download URL skg_connector-0.1.16-py3-none-any.whl
Size 41.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13886d2494ff0f036121d0c0dfbab264764ee0475082fa45844bace110d99856
BLAKE2b-256 checksum
How to use checksums
a2419da24a5a3bde42e8489cbc34fe21e3d9685c162c306f6b64597f5c613566
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.14

Release history Release notifications | RSS feed

This release

0.1.16 This release

2 release files

0.1.15

2 release files

0.1.14

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page