macOS
brew install fourstorelocal Homebrew formula metadata
brew
Efficient, stable RDF database. Version 1.1.7 via Homebrew; verified 2026-06-15.
install
brew install fourstorelocal Homebrew formula metadata
overview
Efficient, stable RDF database
history
4store is an RDF database and SPARQL-oriented triplestore whose official README describes it as efficient, scalable, and stable. It sits in the semantic-web database niche rather than the general SQL or document-store lineage.
The project was designed by Steve Harris and developed at Garlik to support Semantic Web applications. The README says it had already served as Garlik's base platform for about three years, including databases of about 15GT and a web application used by thousands of people.
The public GitHub repository dates to 2009 and uses the 4store name for a suite of administrative, backend, import, HTTP, query, dump, restore, and cluster tools. Its changelog shows continued maintenance through the 1.1.x line, including SPARQL Update, RDF 1.1 bNode skolemisation, clustering/admin changes, HTTP output formats, and portability fixes.
The strongest official adoption signal is Garlik's own use: 4store was built to underpin production Semantic Web applications before being packaged as a standalone open source database. In package-manager culture it became a compact command-line triplestore option for developers who needed RDF and SPARQL without deploying a larger semantic-web stack.
A typical workflow creates and manages knowledge bases with tools such as 4s-backend-setup and 4s-admin, imports RDF with 4s-import, queries with 4s-query or the HTTP daemon, and uses dump, restore, backup, and cluster commands for operations.
The README documents Raptor and Rasqal as RDF/SPARQL prerequisites, and notes operational details such as the store directory under /var/lib/4store and /etc/4s-cluster for clustered frontends.
4store is package-nerd interesting because it is a C-era Unixy semantic-web database delivered as many small executables rather than a single monolithic service. It exposes the operational vocabulary of RDF stores directly: import, query, update, dump, cluster copy, cluster start/stop, and HTTP serving.
It also captures a historical moment when RDF/SPARQL infrastructure was commonly distributed through native package managers and built against libraries such as Raptor and Rasqal.
security posture
broad file, network, media, or database tool signal. infrastructure mutation or orchestration signal.
orange risk · medium confidence · infrastructure
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
4s-admin | cli | global executable | |
4s-backend | cli | global executable | |
4s-backend-copy | cli | global executable | |
4s-backend-destroy | cli | global executable | |
4s-backend-info | cli | global executable | |
4s-backend-passwd | cli | global executable | |
4s-backend-setup | cli | global executable | |
4s-boss | cli | global executable | |
4s-cluster-copy | cli | global executable | |
4s-cluster-create | cli | global executable | |
4s-cluster-destroy | cli | global executable | |
4s-cluster-file-backup | cli | global executable | |
4s-cluster-info | cli | global executable | |
4s-cluster-start | cli | global executable | |
4s-cluster-stop | cli | global executable | |
4s-delete-model | cli | global executable | |
4s-dump | cli | global executable | |
4s-file-backup | cli | global executable | |
4s-httpd | cli | global executable | |
4s-import | cli | global executable | |
4s-info | cli | global executable | |
4s-query | cli | global executable | |
4s-restore | cli | global executable | |
4s-size | cli | global executable | |
4s-ssh-all | cli | global executable | |
4s-ssh-all-parallel | cli | global executable | |
4s-update | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/4store/4store
install metadata
| Package key | brew:fourstore |
|---|---|
| Version | 1.1.7 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/fourstore |
| Homepage | https://4store.github.io |
| Repository | https://github.com/4store/4store |
| Upstream docs | https://github.com/4store/4store#readme |
| License | GPL-3.0-or-later |
| Source archive | https://github.com/4store/4store/archive/refs/tags/v1.1.7.tar.gz |
| Last updated | 2026-06-15T10:20:16-04:00 |
| Pulse | updated |
| Dependencies | dbus, gettext, glib, pcre, raptor, rasqal, readline |
| Build dependencies | autoconf, automake, libtool, pkgconf |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
| Caveats | Databases will be created at $HOMEBREW_PREFIX/var/fourstore. Create and start up a database: 4s-backend-setup mydb 4s-backend mydb Load RDF data: 4s-import mydb datafile.rdf Start up HTTP SPARQL server without daemonizing: 4s-httpd -p 8000 -D mydb See https://4store.danielknoell.de/trac/wiki/Documentation/ for more information. |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | fourstore |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | yes |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.