gecko-dev/tripledb
terry%mozilla.org d6f2742782 Very quick description of what TripleDB is. 1999-07-06 23:46:05 +00:00
..
README Very quick description of what TripleDB is. 1999-07-06 23:46:05 +00:00
add.c Initial checkin of tripledb, the 'triples' database engine. 1999-07-06 23:36:39 +00:00
callback.c Initial checkin of tripledb, the 'triples' database engine. 1999-07-06 23:36:39 +00:00
debug.c Initial checkin of tripledb, the 'triples' database engine. 1999-07-06 23:36:39 +00:00
node.c Initial checkin of tripledb, the 'triples' database engine. 1999-07-06 23:36:39 +00:00
query.c Initial checkin of tripledb, the 'triples' database engine. 1999-07-06 23:36:39 +00:00
record.c Initial checkin of tripledb, the 'triples' database engine. 1999-07-06 23:36:39 +00:00
tdb.c Initial checkin of tripledb, the 'triples' database engine. 1999-07-06 23:36:39 +00:00
tdbapi.h Initial checkin of tripledb, the 'triples' database engine. 1999-07-06 23:36:39 +00:00
tdbdebug.h Initial checkin of tripledb, the 'triples' database engine. 1999-07-06 23:36:39 +00:00
tdbtypes.h Initial checkin of tripledb, the 'triples' database engine. 1999-07-06 23:36:39 +00:00

README

This is the TripleDB, a way of persistantly remembering "triples" of data.

Each entry is kind of a "subject-verb-object" set. For example, some
entries might be:

Noun            Verb            Object
=========================================
File1           Length          1253254
File1           MimeType        text/html
File1           Author          Ralph
File2           Length          32542
File2           MimeType        image/gif
File2           Author          Bertha


This API is about storing, deleting, and querying such triples to a
database. Each member of a triple can be a string, integer, or date.

For more details, read the API, in tdbapi.h.


FAQ:

Q: "Hey!  There's no Makefile!"
A: Yeah, yeah, I know.  This is developed as part of a project at
work, and our Makefiles are all messed up.  If you have one that fits in well
with other stuff at mozilla.org, please feel free to contribute it.

Q: Um, so else here uses this?
A: That's right.  But this maps in pretty well to RDF, I believe.  I wouldn't
be surprised if someone decides to use it to store a biggish RDF database,
and adds it to mozilla for that purpose.



- Terry Weissman                        terry@mozilla.org