Accuracy Calculation for Rule-Based Semantic Query in Neo4j Graph Database

Graph databases, particularly Neo4j, have gained widespread adoption due to their ability to model complex relationships between entities. However, retrieving accurate and relevant results remains a challenge when dealing with Natural Language Queries (NLQ). Traditional keyword-based retrieval methods often fail to capture contextual meanings, leading to inaccurate query results. This paper explores the use of rule-based semantic query conversion in Neo4j, focusing on accuracy calculation through cosine similarity. The proposed method transforms NLQ into Cypher queries based on predefined rules, improving retrieval efficiency. To evaluate accuracy, we apply precision, recall, and F1-score, measuring the effectiveness of our approach. Experimental results demonstrate that rule-based query conversion significantly enhances accuracy compared to traditional keyword searches. The findings suggest that semantic rule-based transformation is a viable approach for improving query interpretation in graph databases.

Authors

Publication Details

Journal
International Journal For Multidisciplinary Research
Published
2025-02-23
DOI
https://doi.org/10.36948/ijfmr.2025.v07i01.36867
Primary Topic
Graph Theory and Algorithms
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Accuracy Calculation for Rule-Based Semantic Query in Neo4j Graph Database

Nyo Nyo Yee, Nang Nandar Tun -
International Journal For Multidisciplinary Research
Graph Theory and Algorithms
article

Accuracy Calculation for Rule-Based Semantic Query in Neo4j Graph Database

Nyo Nyo Yee, Nang Nandar Tun -
article en

Abstract

Graph databases, particularly Neo4j, have gained widespread adoption due to their ability to model complex relationships between entities. However, retrieving accurate and relevant results remains a challenge when dealing with Natural Language Queries (NLQ). Traditional keyword-based retrieval methods often fail to capture contextual meanings, leading to inaccurate query results. This paper explores the use of rule-based semantic query conversion in Neo4j, focusing on accuracy calculation through cosine similarity. The proposed method transforms NLQ into Cypher queries based on predefined rules, improving retrieval efficiency. To evaluate accuracy, we apply precision, recall, and F1-score, measuring the effectiveness of our approach. Experimental results demonstrate that rule-based query conversion significantly enhances accuracy compared to traditional keyword searches. The findings suggest that semantic rule-based transformation is a viable approach for improving query interpretation in graph databases.

International Journal For Multidisciplinary ResearchVol. 7(1)
Openalex Percentile: Top 98%
Graph Theory and Algorithms
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Accuracy Calculation for Rule-Based Semantic Query in Neo4j Graph Database — Nyo Nyo Yee, Nang Nandar Tun - · International Journal For Multidisciplinary Research (2025) | TGRS Research Map | TGRS