all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [ELPA] New package: triples
@ 2022-10-26  0:54 Andrew Hyatt
  2022-10-26  2:52 ` Stefan Monnier
  2022-10-27  3:36 ` Jean Louis
  0 siblings, 2 replies; 14+ messages in thread
From: Andrew Hyatt @ 2022-10-26  0:54 UTC (permalink / raw)
  To: emacs-devel


Hi everyone,

I've created a new package, triples, which can be found at 
https://github.com/ahyatt/triples.  I'd like to add this to some 
ELPA, and would prefer the gnu ELPA.  I will be talking about this 
package, and examples of its use, in the upcoming Emacs 
conference.

The package is a library which is a layer on top of sqlite, 
designed to store data in a particular format, where everything 
goes into one table. All data is expressed as "triples", a link 
between a subject, and an object, via a predicate.  This is 
similar to the RDF standard.

With the triples package, a schema can be defined, which also is 
stored in the same triples data.  The schema controls what are 
valid representations in the database.  This takes the form of 
types and their properites.  Data about entities, and their types 
and properties can be stored and retrieved according to that 
schema, and the schema can be added by other clients, letting 
packages build on top of the data by adding new types, and letting 
the data live together in a way that's difficult to do otherwise. 
For example, one package could provide a way to store contact 
information in the database.  Another package could layer on an 
annotation package onto that that lets contact and any other 
entities contain annotations.

Another way to think of this is that it's a database that allows 
independent types, each type having a predefined set of 
properties, and entities that are stored can have an arbitrary set 
of those types.

You can see a use of this in my other package that I'm developing: 
https://github.com/ahyatt/ekg.  The package does work, and I am 
using ekg regularly at the moment without issues.

I am the sole contributor, and have FSF papers.



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-11-03 16:57 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-26  0:54 [ELPA] New package: triples Andrew Hyatt
2022-10-26  2:52 ` Stefan Monnier
2022-10-26  5:52   ` Stefan Kangas
2022-10-26 13:23   ` Andrew Hyatt
2022-10-26 13:29     ` Stefan Monnier
2022-10-27  5:15       ` Andrew Hyatt
2022-10-27 15:34         ` Stefan Monnier
2022-11-03  2:32           ` Andrew Hyatt
2022-10-27  3:36 ` Jean Louis
2022-10-27  5:19   ` Andrew Hyatt
2022-10-27 19:15     ` Jean Louis
2022-10-27 23:33     ` Jean Louis
2022-11-03  2:37       ` Andrew Hyatt
2022-11-03 16:57         ` Jean Louis

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.