A Novel Approach for Generating SPARQL Queries from RDF Graphs
- URL: http://arxiv.org/abs/2006.02862v1
- Date: Sat, 30 May 2020 18:28:49 GMT
- Title: A Novel Approach for Generating SPARQL Queries from RDF Graphs
- Authors: Emna Jabri
- Abstract summary: This work is done as part of a research master's thesis project.
The goal is to generate SPARQL queries based on user-supplied keywords to query RDF graphs.
- Score: 0.0
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: This work is done as part of a research master's thesis project. The goal is
to generate SPARQL queries based on user-supplied keywords to query RDF graphs.
To do this, we first transformed the input ontology into an RDF graph that
reflects the semantics represented in the ontology. Subsequently, we stored
this RDF graph in the Neo4j graphical database to ensure efficient and
persistent management of RDF data. At the time of the interrogation, we studied
the different possible and desired interpretations of the request originally
made by the user. We have also proposed to carry out a sort of transformation
between the two query languages SPARQL and Cypher, which is specific to Neo4j.
This allows us to implement the architecture of our system over a wide variety
of BD-RDFs providing their query languages, without changing any of the other
components of the system. Finally, we tested and evaluated our tool using
different test bases, and it turned out that our tool is comprehensive,
effective, and powerful enough.
Related papers
- RAGONITE: Iterative Retrieval on Induced Databases and Verbalized RDF for Conversational QA over KGs with RAG [6.4032082023113475]
SPARQL is brittle for complex intents and conversational questions.
We propose a novel two-pronged system where we fuse: (i) SPARQL results over a database automatically derived from the knowledge graph, and (ii) text-search results over verbalizations of KG facts.
Our pipeline supports iterative retrieval: when the results of any branch are found to be unsatisfactory, the system can automatically opt for further rounds.
We demonstrate the superiority of our proposed system over several baselines on a knowledge graph of BMW automobiles.
arXiv Detail & Related papers (2024-12-23T16:16:30Z) - Effective Instruction Parsing Plugin for Complex Logical Query Answering on Knowledge Graphs [51.33342412699939]
Knowledge Graph Query Embedding (KGQE) aims to embed First-Order Logic (FOL) queries in a low-dimensional KG space for complex reasoning over incomplete KGs.
Recent studies integrate various external information (such as entity types and relation context) to better capture the logical semantics of FOL queries.
We propose an effective Query Instruction Parsing (QIPP) that captures latent query patterns from code-like query instructions.
arXiv Detail & Related papers (2024-10-27T03:18:52Z) - VisRAG: Vision-based Retrieval-augmented Generation on Multi-modality Documents [66.42579289213941]
Retrieval-augmented generation (RAG) is an effective technique that enables large language models to utilize external knowledge sources for generation.
In this paper, we introduce VisRAG, which tackles this issue by establishing a vision-language model (VLM)-based RAG pipeline.
In this pipeline, instead of first parsing the document to obtain text, the document is directly embedded using a VLM as an image and then retrieved to enhance the generation of a VLM.
arXiv Detail & Related papers (2024-10-14T15:04:18Z) - Less is More: Making Smaller Language Models Competent Subgraph Retrievers for Multi-hop KGQA [51.3033125256716]
We model the subgraph retrieval task as a conditional generation task handled by small language models.
Our base generative subgraph retrieval model, consisting of only 220M parameters, competitive retrieval performance compared to state-of-the-art models.
Our largest 3B model, when plugged with an LLM reader, sets new SOTA end-to-end performance on both the WebQSP and CWQ benchmarks.
arXiv Detail & Related papers (2024-10-08T15:22:36Z) - eSPARQL: Representing and Reconciling Agnostic and Atheistic Beliefs in RDF-star Knowledge Graphs [10.001148724656723]
A recent extension to RDF which admits statements over statements, called RDF-star, is in revision to become a W3C standard.
There is no proposal for a semantics of these RDF-star statements nor a built-in facility to operate over them.
We propose a query language for RDF-star metadata based on a four-valued logic, called eSPARQL.
arXiv Detail & Related papers (2024-07-31T09:48:27Z) - AutoRDF2GML: Facilitating RDF Integration in Graph Machine Learning [9.408189129889006]
AutoRDF2GML is a framework designed to convert RDF data into data representations tailored for graph machine learning tasks.
We present four new benchmark datasets for graph machine learning, created from large RDF knowledge graphs.
arXiv Detail & Related papers (2024-07-26T13:44:06Z) - UQE: A Query Engine for Unstructured Databases [71.49289088592842]
We investigate the potential of Large Language Models to enable unstructured data analytics.
We propose a new Universal Query Engine (UQE) that directly interrogates and draws insights from unstructured data collections.
arXiv Detail & Related papers (2024-06-23T06:58:55Z) - Database-Augmented Query Representation for Information Retrieval [59.57065228857247]
We present a novel retrieval framework called Database-Augmented Query representation (DAQu)
DAQu augments the original query with various (query-related) metadata across multiple tables.
We validate DAQu in diverse retrieval scenarios that can incorporate metadata from the relational database.
arXiv Detail & Related papers (2024-06-23T05:02:21Z) - Expressive Reasoning Graph Store: A Unified Framework for Managing RDF
and Property Graph Databases [9.021529689292985]
We present Expressive Reasoning Graph Store (ERGS)
ERGS is a graph store built on top of JanusGraph that also allows storing and querying of RDF datasets.
We describe how RDF data can be translated into a Property Graph representation and then describe a query translation module that converts SPARQL queries into a series of Gremlins.
arXiv Detail & Related papers (2022-09-13T09:07:50Z) - VGStore: A Multimodal Extension to SPARQL for Querying RDF Scene Graph [26.239835473804366]
SPARQL barely explore the implicit multimodal relationships like semantic similarity, spatial relations, etc.
We first explored this issue by organizing a large-scale scene graph dataset, namely Visual Genome, in the RDF graph database.
Based on the proposed RDF-stored multimodal scene graph, we extended SPARQL queries to answer questions containing relational reasoning about color, spatial, etc.
arXiv Detail & Related papers (2022-09-07T08:05:00Z) - Autoregressive Search Engines: Generating Substrings as Document
Identifiers [53.0729058170278]
Autoregressive language models are emerging as the de-facto standard for generating answers.
Previous work has explored ways to partition the search space into hierarchical structures.
In this work we propose an alternative that doesn't force any structure in the search space: using all ngrams in a passage as its possible identifiers.
arXiv Detail & Related papers (2022-04-22T10:45:01Z) - RDFFrames: Knowledge Graph Access for Machine Learning Tools [6.50725902438059]
Machine learning tools for knowledge graphs do not use SPARQL, despite the obvious advantages of using a database system.
This is due to the mismatch between SPARQL and machine learning tools in terms of data model and programming style.
In this paper, we present RDFFrames, a framework that provides an interface to knowledge graphs from a machine learning software stack.
arXiv Detail & Related papers (2020-02-10T09:39:25Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.