[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ANN] nomunofu v0.1.0

From: Amirouche Boubekki
Subject: Re: [ANN] nomunofu v0.1.0
Date: Tue, 10 Dec 2019 10:52:35 +0100

Le dim. 8 déc. 2019 à 18:52, Amirouche Boubekki
<address@hidden> a écrit :
> I am very pleased to announce the immediate availability of nomunofu.
> nomunofu is database server written in GNU Guile that is powered by 
> WiredTiger ordered key-value store.
> It allows to store and query triples.  The goal is to make it much easier, 
> definitely faster to query as big as possible tuples of three items.  To 
> achieve that goal, the server part of the database is made very simple and it 
> only knows how to do pattern matching.  Also, it is possible to swap the 
> storage engine to something that is horizontally scalable and resilient.

I pushed portable binaries built with gnu guix for amd64 with a small
database file. You can download it with the following command:

  $ wget

The uncompressed directory is 7GB.

Once you have downloaded the tarball, you can do the following cli
dance to run the database server:

  $ tar xf nomunofu-v0.1.3.tar.gz && cd nomunofu && ./nomunofu serve 8080

The database will be available on port 8080. Then you can use the
python client to do queries.

Here is example run on the current dataset, that queries for instance
of (P31) government (Q3624078):

In [1]: from nomunofu import Nomunofu
In [2]: from nomunofu import var
In [3]: nomunofu = Nomunofu('http://localhost:8080');
In [4]: nomunofu.query((var('uid'),
''), (var('uid'),
'', var('label')))

[{'uid': '', 'label': 'Belgium'},
 {'uid': '', 'label': 'Germany'},
 {'uid': '', 'label': 'China'},
 {'uid': '',
  'label': "People's Republic of China"},
 {'uid': '', 'label': 'Israel'},
 {'uid': '', 'label': 'Portugal'},
 {'uid': '', 'label': 'Brazil'},
 {'uid': '', 'label': 'Angola'},
 {'uid': '', 'label': 'Malta'},
 {'uid': '',
  'label': 'United Arab Emirates'},
 {'uid': '', 'label': 'Vanuatu'},
 {'uid': '', 'label': 'Thailand'},
 {'uid': '', 'label': 'Tajikistan'},
 {'uid': '', 'label': 'Sudan'},
 {'uid': '', 'label': 'Sierra Leone'},
 {'uid': '', 'label': 'Mali'},
 {'uid': '', 'label': 'Laos'},
 {'uid': '', 'label': 'Chile'},
 {'uid': '', 'label': 'Bahrain'},
 {'uid': '', 'label': 'Ottoman Empire'}]

As of right now there is less than 10 000 000 triples that were
imported. Blank nodes are included, but only english labels are

You can find the source code at:

I hope you have a good day!

Amirouche ~ zig ~

reply via email to

[Prev in Thread] Current Thread [Next in Thread]