Deprecated knowledge base for graph-based reasoning
Top 93.1% on sourcepulse
ZincBase is a deprecated Python kit for building knowledge graphs from unstructured data, targeting researchers and developers interested in combining neural networks with symbolic logic for complex querying. It extracts facts (triples), stores them efficiently, builds a graph, and supports querying via graph neural networks, enabling probabilistic reasoning and classification.
How It Works
ZincBase integrates neural network embeddings with symbolic logic, inspired by expert systems and Prolog. It represents facts as triples and uses graph search and neural models (like RotatE) to infer relationships and probabilities, allowing queries such as "what is the probability that Tom likes LARPing". This hybrid approach aims to provide a richer understanding and querying capability than purely symbolic or neural methods.
Quick Start & Requirements
pip install -r requirements.txt
.from zincbase import KB; kb = KB(); kb.store('eats(tom, rice)'); print(kb.query('eats(tom, Food)'))
Highlighted Details
Maintenance & Community
This repository is deprecated. The active development has moved to a new owner, ComplexDB, at [link to new repo].
Licensing & Compatibility
The repository does not explicitly state a license in the README. The citation format suggests a permissive license, but users should verify compatibility for commercial or closed-source use.
Limitations & Caveats
The project is explicitly marked as deprecated, with active development moved to a new repository. The to_csv
/from_csv
methods do not support node attributes, and relation extraction from arbitrary text is a planned but not yet implemented feature.
4 years ago
Inactive