GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — No support for Multi-label nodes · Issue #384 · ArcadeData/arcadedb

No support for Multi-label nodes #384

New issue
Copy link
New issue
Copy link
Closed
Closed
No support for Multi-label nodes#384
Copy link
Assignees
lvca
Milestone
22.6.1

Description

@lvca
lvca
opened on Apr 22, 2022
Issue body actions

Discussed in #362

Originally posted by datanostra April 8, 2022
Hi,

I'm working on a graph db benchmark and I have a specific use case that might often occurred which is : create an edge without knowing the type of the source or the target nodes.

I can make it works using inheritance in SQL, creating a Node type, which is extended by all my types :

Create types :
CREATE VERTEX TYPE Node;
CREATE VERTEX TYPE Transaction EXTENDS Node;
CREATE VERTEX TYPE City EXTENDS Node;

Create Nodes :
INSERT INTO Transaction set id = "A"
INSERT INTO City set id = "B"

Then I can query my ingested objects without knowing if they are of types Transaction or City :

  • SELECT FROM Node WHERE id = 'id_source'
  • CREATE EDGE Relation_Type FROM (SELECT FROM Node WHERE id = 'A') TO (SELECT FROM Node WHERE id = 'B') IF NOT EXISTS

Nevertheless, I would like to be able to create the same mechanism with Cypher.

The problems are :

  • the inheritance does not seem replicated to the graph model and then not accessible via Cypher.

  • multi-label mechanism does not seem available in ArcadDB. For example, this CYPHER query is not working : CREATE (n:Transaction:Node {id: 'some_id'})

  • Unlabeled Cypher queries does not seem to be scalable (MATCH (n) WHERE n.id = "some_id" RETURN n). One reason of this is that we can't benefit from indexes to get optimized access to nodes.

Activity

  1. lvca
    added
    questionFurther information is requested
    on Apr 22, 2022
  2. lvca
    self-assigned this
    on Apr 22, 2022
  3. lvca
    added this to the 22.4.1 milestone on Apr 22, 2022
  4. lvca
    added a commit that references this issue on Apr 22, 2022

    Cypher and Gremlin fixed query with inheritance

    d058394
  5. lvca
    closed this as completedon Apr 22, 2022
  6. lvca
    added
    bug
    and removed
    questionFurther information is requested
    on Apr 22, 2022
  7. mergify
    added a commit that references this issue on Aug 17, 2025

    chore(deps): bump org.apache.maven.plugins:maven-javadoc-plugin from …

    b84c410
  8. tae898
    added 2 commits that reference this issue on Jun 28, 2026

    Cypher and Gremlin fixed query with inheritance

    1d054cd

    chore(deps): bump org.apache.maven.plugins:maven-javadoc-plugin from …

    f3a28a0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @lvca
    lvca

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    • 22.6.1

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.