International Journal For Multidisciplinary Research

E-ISSN: 2582-2160     Impact Factor: 9.24

A Widely Indexed Open Access Peer Reviewed Multidisciplinary Bi-monthly Scholarly International Journal

Call for Paper Volume 7, Issue 2 (March-April 2025) Submit your research before last 3 days of April to publish your research paper in the issue of March-April.

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

Author(s) Nang Nandar Tun, Nyo Nyo Yee
Country Myanmar
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.
Keywords Neo4j, Semantic Query Processing, Rule-Based Query Conversion, Natural Language Query (NLQ), Cypher Query Language (CQL), Cosine Similarity, Graph Database, Information Retrieval.
Field Computer > Data / Information
Published In Volume 7, Issue 1, January-February 2025
Published On 2025-02-23
DOI https://doi.org/10.36948/ijfmr.2025.v07i01.36867
Short DOI https://doi.org/g854n4

Share this