Terms are equivalent only if they are both well-formed

Julien LepillerSun Apr 05 16:18:11+0200 2020

8cffbc4

guile-rdf
namelast commitdate
.gitignoreImprove turtle parsingWed Apr 01 03:19:56+0200 2020
LICENSEAdd licenseThu Apr 02 04:32:54+0200 2020
Makefile.amAdd test modules to makefileSun Apr 05 03:31:13+0200 2020
README.mdadd readmeThu Apr 02 04:41:12+0200 2020
bootstrapInitial commitTue Mar 31 04:36:06+0200 2020
configure.acAdd simple entailment regime and associated testsFri Apr 03 03:36:30+0200 2020
guile.amInitial commitTue Mar 31 04:36:06+0200 2020
guix.scmInitial commitTue Mar 31 04:36:06+0200 2020
iri/All turtle tests now passFri Apr 03 00:25:18+0200 2020
pre-inst-env.inInitial commitTue Mar 31 04:36:06+0200 2020
rdf/Terms are equivalent only if they are both well-formedSun Apr 05 16:18:11+0200 2020
test-modules/Add rdf vocabulary type and use it in entailmentsSun Apr 05 03:59:21+0200 2020
tests/Add simple entailment regime and associated testsFri Apr 03 03:36:30+0200 2020
turtle/Add simple entailment regime and associated testsFri Apr 03 03:36:30+0200 2020

README.md

Guile-RDF

Guile RDF is an implementation of the RDF format defined by the W3C for GNU Guile. RDF stands for Resource Description Framework and it is a way to represent information. RDF structures include triples (facts with a subject, a predicate and an object), graphs which are sets of triples, and datasets, which are collections of graphs.

Each node in the graph represents a "thing", a concept or concrete object, and edges represent relations between them. Each node and relation is either an IRI, a blank node or an RDF literal. An RDF literal itself has a type, represented by an IRI.

RDF specifications include the specification of concrete syntaxes and of operations on graphs. This library is not yet complete, but already has some basic functionalities: an internal representation of RDF datasets, some predicates and an initial parser for turtle files.

Installing

In order to install, your best option is to use the Guix package manager. It can run on any existing Linux distribution, and is guaranteed to not interact with its host distribution. Installing Guix is as simple as running the installation script. Once installed, you can run:

guix install guile guile-rdf

Otherwise, your package manager might have guile-jsonld available. You can also build it from source, like so:

git clone https://framagit.org/tyreunom/guile-rdf
autoreconf -fiv
./configure
make
sudo make install

You will need guile and guile-json for it to work. Again, the best way to obtain the dependencies is to use Guix from this repository:

guix environment -l guix.scm

guix.scm is a file that is provided with this repository. You can use it to setup a development environment, as shown above, or to build the package, using maybe a different source, like this:

guix build --with-sources=guile-rdf=$(PWD) -f guix.scm

Testing

The tests include running the official test suite. It requires network access. To run it, use:

make check

Please report any failure!