Query Engine API for Distributed AtomSpace
Project description
Hyperon DAS
A data manipulation API for Distributed Atomspace (DAS). It allows queries with pattern matching capabilities and traversal of the Atomspace hypergraph.
References and Guides
- Details about the Distributed Atomspace and its components: DAS Overview
- PYPI Library package: hyperon-das
- Examples using the API: User's Guide
- Release notes: DAS Query Engine Releases
Installation
Before you start, make sure you have Python >= 3.8.5 and Pip installed on your system.
You can install and run this project using different methods. Choose the one that suits your needs.
Using-pip
Run the following command to install the project using pip::
pip install hyperon-das
Using-Poetry
If you prefer to manage your Python projects with Poetry, follow these steps:
-
Install Poetry (if you haven't already):
pip install poetry
-
Clone the project repository:
git clone git@github.com:singnet/das-query-engine.git cd das-query-engine
-
Install project dependencies using Poetry:
poetry install
-
Activate the virtual environment created by Poetry:
poetry shell
Now you can run the project within the Poetry virtual environment.
Tests
In the main project directory, you can run the command below to run the unit tests
make unit-tests
Likewise, to run performance tests
make performance-tests
You can do the same to run integration tests
make integration-tests
The integration tests use a remote testing server hosted on Vultr, at the address 45.63.85.59
, port 8080
. The loaded knowledge base is the animal base, which contains the Nodes and Links listed below:
(: Similarity Type)
(: Concept Type)
(: Inheritance Type)
(: "human" Concept)
(: "monkey" Concept)
(: "chimp" Concept)
(: "snake" Concept)
(: "earthworm" Concept)
(: "rhino" Concept)
(: "triceratops" Concept)
(: "vine" Concept)
(: "ent" Concept)
(: "mammal" Concept)
(: "animal" Concept)
(: "reptile" Concept)
(: "dinosaur" Concept)
(: "plant" Concept)
(Similarity "human" "monkey")
(Similarity "human" "chimp")
(Similarity "chimp" "monkey")
(Similarity "snake" "earthworm")
(Similarity "rhino" "triceratops")
(Similarity "snake" "vine")
(Similarity "human" "ent")
(Inheritance "human" "mammal")
(Inheritance "monkey" "mammal")
(Inheritance "chimp" "mammal")
(Inheritance "mammal" "animal")
(Inheritance "reptile" "animal")
(Inheritance "snake" "reptile")
(Inheritance "dinosaur" "reptile")
(Inheritance "triceratops" "dinosaur")
(Inheritance "earthworm" "animal")
(Inheritance "rhino" "mammal")
(Inheritance "vine" "plant")
(Inheritance "ent" "plant")
(Similarity "monkey" "human")
(Similarity "chimp" "human")
(Similarity "monkey" "chimp")
(Similarity "earthworm" "snake")
(Similarity "triceratops" "rhino")
(Similarity "vine" "snake")
(Similarity "ent" "human")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file hyperon_das-0.7.14.tar.gz
.
File metadata
- Download URL: hyperon_das-0.7.14.tar.gz
- Upload date:
- Size: 34.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.5.0-1023-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9b47a46a630f6f5148b194c63d149d805e3c5176170a31cd8dd8f2e203c6402 |
|
MD5 | ccb4a6fe3e88e8b75c4f20fa3f75e4a3 |
|
BLAKE2b-256 | 9b5981b92fe03898d2b4355d8afd9a2ab89ef2ddb0231a8a11d2f6ca9a3a397c |
File details
Details for the file hyperon_das-0.7.14-py3-none-any.whl
.
File metadata
- Download URL: hyperon_das-0.7.14-py3-none-any.whl
- Upload date:
- Size: 40.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/6.5.0-1023-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b752dc7e1425663fa06b97db3c2d425ac2c956854da23eda777f535d0799bb0e |
|
MD5 | 59b62de18b89f3fe68a85821e315ec39 |
|
BLAKE2b-256 | 68bd94caa269c3ed2adc3a3bf1ba5f75ace768b6432dff436872ad315af2b2e3 |