This repository contains the data and metadata for the "Chat with your Data" benchmark. The aim of this project is to provide a comprehensive set of test scenarios for Language-to-query (specifically SQL and SPARQL) systems. It focuses on testing whether these systems are capable of accurately converting natural language questions into valid, effective queries against various data sources.
This variant of the project has been enhanced for live deployment using a Virtuoso instance. Live deployment meaning: a publicly accessible instance comprising the following:
- SQL-accessible Relational Database.
- Knowledge Graph constructed using RDF Views (Virtuoso Quad Mappings to SQL Tables).
- Revised SQL and SPARQL Queries.
This repository is divided into multiple directories, each containing a specific type of data or metadata:
-
ontology/
: This directory contains OWL file(s) representing the ontology data. -
DDL/
: This directory contains the DDL definitions for the database schema. -
investigation/
: Each Turtle (.ttl) file in this directory represents a complete benchmark investigation, which includes pointers to the dataset, metadata, and a set of inquiries. -
data/
: This directory contains the dataset(s) used for the benchmark. The data is represented in multiple formats to support a wide range of query languages. In addition to the CSV files. -
RDF-View
: This directory contains an R2RML file that describes the mapping between the ontology and the data tables.
-
OWL: Web Ontology Language, used for representing the ontology data.
-
DDL: Data Definition Language, used for defining and managing databases.
-
TTL: Turtle form of RDF, used to represent the complete benchmark investigation.
-
R2RML: a TTL file that describes mappings according to the RDB to RDF Mapping Language
-
CSV/TSV/etc.: Various data formats used for the benchmark dataset.
Install the tables to your Virtuoso instance using one of the following options
cd
into {repo}/ACME_INSURANCE
, and run one of the following options:
isql {port} {username} {password} full_setup.sql
isql {port} {username} {password} csv_attach.sql