From 95441d523977e8151f803af6a936751e21f33033 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Szeremeta?=
Date: Sat, 3 Feb 2024 21:38:45 +0100
Subject: [PATCH] General repo cleanup
---
LICENSE | 2 +-
README.md | 13 +-
docs/index.html | 995 ------------------------------------
other-notations/YARSpg.ebnf | 4 +-
yarspg/YARSpg.g4 | 8 +-
5 files changed, 9 insertions(+), 1013 deletions(-)
delete mode 100644 docs/index.html
diff --git a/LICENSE b/LICENSE
index 149adaa..da87601 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
BSD 3-Clause License
-Copyright (c) 2018-2023, Łukasz Szeremeta
+Copyright (c) 2018-2024, Łukasz Szeremeta
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/README.md b/README.md
index 0323ca9..a76f90c 100644
--- a/README.md
+++ b/README.md
@@ -1,16 +1,13 @@
# YARS-PG grammar
-[![Test and pre-release](https://github.com/lszeremeta/yarspg/actions/workflows/pre-release.yml/badge.svg)](https://github.com/lszeremeta/yarspg/actions/workflows/pre-release.yml)
-[![DOI](https://zenodo.org/badge/161351716.svg)](https://zenodo.org/badge/latestdoi/161351716)
+[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/lszeremeta/yarspg/pre-release.yml?label=Test%20and%20pre-release)](https://github.com/lszeremeta/yarspg/actions/workflows/pre-release.yml) [![GitHub Release](https://img.shields.io/github/v/release/lszeremeta/yarspg)](https://github.com/lszeremeta/yarspg/releases/latest) [![DOI](https://zenodo.org/badge/161351716.svg)](https://zenodo.org/badge/latestdoi/161351716)
-The YARS-PG serialization is a special version of [YARS](https://github.com/lszeremeta/yars) for property graphs. This serialization is specially designed for property graphs:
+The YARS-PG serialization is designed for property graphs (but not only):
* YARS-PG supports all the features allowed by the current database systems based on the property graph data model,
* YARS-PG provides a simple syntax with a reduced number of extra characters,
* YARS-PG is inspired by the syntax used by popular graph query languages (e.g. Cypher and GQL) to encode the structure of a property graph (i.e. nodes, edges, and properties).
-The YARS-PG grammar is written in [ANTLR4](https://github.com/antlr/antlr4). If you prefer [Extended Backus-Naur Form (EBNF)](https://www.w3.org/TR/REC-xml/#sec-notation) notation, you can also see a preview version of [YARS-PG grammar in EBNF](https://github.com/lszeremeta/antlr-yarspg/blob/main/other-notations/YARSpg.ebnf). See [YARS-PG specification](https://lszeremeta.github.io/yarspg/index.html) or detailed [Serialization for Property Graphs presentation](https://www.researchgate.net/publication/340208659_Serialization_for_Property_Graphs) for more details.
-
-This project is based on the [ANTLR grammars-v4 project](https://github.com/antlr/grammars-v4).
+The YARS-PG grammar is written in [ANTLR4](https://github.com/antlr/antlr4). If you prefer [Extended Backus-Naur Form (EBNF)](https://www.w3.org/TR/REC-xml/#sec-notation) notation, you can also see [YARS-PG grammar in EBNF](https://github.com/lszeremeta/antlr-yarspg/blob/main/other-notations/YARSpg.ebnf). You may also see YARS-PG [examples](https://github.com/lszeremeta/yarspg/tree/main/yarspg/examples).
## Parsers
@@ -20,7 +17,7 @@ The YARS-PG parsers are available in the [parsers](https://github.com/lszeremeta
If you want to help build YARS-PG parsers for other languages, please follow the [ANTLR4 documentation](https://github.com/antlr/antlr4/tree/dev/doc) and create a pull request.
-See the ``README.md`` file in each parser directory for more details. Ready to use parsers are also available in the Assets section in [Releases](https://github.com/lszeremeta/yarspg/releases).
+See the ``README.md`` file in each parser directory for more details. Ready-to-use parsers are also available in the Assets section in [Releases](https://github.com/lszeremeta/yarspg/releases).
## Testing grammar
@@ -30,6 +27,8 @@ Run tests on files in ``yarspg/examples``:
mvn clean test
```
+This project is based on the [ANTLR grammars-v4 project](https://github.com/antlr/grammars-v4).
+
## Contribution
Would you like to improve this project? Great! We are waiting for your help and suggestions. If you are new to open source contributions, read [How to Contribute to Open Source](https://opensource.guide/how-to-contribute/).
diff --git a/docs/index.html b/docs/index.html
deleted file mode 100644
index 85da3f5..0000000
--- a/docs/index.html
+++ /dev/null
@@ -1,995 +0,0 @@
-
-
-
-
-
- YARS-PG 4.0
-
-
-
-
-
-
-
- The YARS-PG serialization was designed to be simple, extensible and platform independent, and to support all
- the
- features provided by the current database systems based on the property graph data model.
-
-
-
-
- This is very early draft of YARS-PG specification based on YARS-PG 4.0.
-
-
-
-
Introduction
-
This document defines YARS-PG, a serialization for property graphs.
-
-
The YARS-PG serialization supports all the features allowed by the current database systems based on the
- property
- graph data model, and can be adapted to work with various visualization software, database-driven systems
- and
- other graph-oriented tools.
-
-
-
YARS-PG Language
- The YARS-PG serialization contains node declarations and edge declaration (no order is required for them).
-
-
Comment
-
An one-line comment allows to place additional information in the file that is not taken into
- account during its processing.
-
-
-
-
Prefix
-
A prefix declaration associates a prefix label with an IRI.
-
-
-
-
Metadata
-
A document metadata declaration associates metadata key (IRI or QName) with metadata value
- (string or IRI).
-
-
-
-
Node
-
A node declaration begins with the node identifier, followed by an optional list of node labels and
- optional node properties, optional list of graph names and optional annotation list.
-
-
-
-
Edge
-
An edge declaration begins with the source node identifier, followed by relationship
- identifier
- (optional), a label, a set of properties (optional), target node identifier, optional list of graph
- names and optional annotation list. Edge can be
- directed (->) or undirected (-).
-
-
-
-
Property
- A property is represented as a pair p:v, where p is the property label
- and v the property value. A
- property value could be atomic (e.g. String, Integer, Float, Null, Boolean) or complex (e.g. a list of
- atomic values).