This project is a proof of concept for the mapping of the Asset Administration Shell (AAS) in a Neo4J graph database.
It reads an AAS and generates a Cypher clauses to create the graph in Neo4j. These clauses are then executed in the Neo4j database.
Referable=NodeAssetInformation=Node- If
Referablecontains otherReferable->Relationship Referenceis aRelationship
- Only basic Deserialization from Neo4j is implemented
- AAS Query Language Mapping to Cypher
YOUR_PATH_TO_NEO4J\neo4j-community-5.23.0\bin\neo4j console
from aas_mapping.aasjson2neo import AASNeo4JClient
aas_neo4j_client = AASNeo4JClient(uri="bolt://localhost:7687", user="neo4j", password="password")
aas_neo4j_client.upload_aas_json("SOME_AAS.json")MATCH (n)
RETURN n;