# Install fourstore with Homebrew

Efficient, stable RDF database. Version 1.1.7 via Homebrew; verified 2026-06-15.

## Install

```sh
sudo av install brew:fourstore
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install fourstore
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:fourstore
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/fourstore>
- **Version:** 1.1.7
- **Source summary:** Efficient, stable RDF database
- **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
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- 4s-admin (cli)
- 4s-backend (cli)
- 4s-backend-copy (cli)
- 4s-backend-destroy (cli)
- 4s-backend-info (cli)
- 4s-backend-passwd (cli)
- 4s-backend-setup (cli)
- 4s-boss (cli)
- 4s-cluster-copy (cli)
- 4s-cluster-create (cli)
- 4s-cluster-destroy (cli)
- 4s-cluster-file-backup (cli)
- 4s-cluster-info (cli)
- 4s-cluster-start (cli)
- 4s-cluster-stop (cli)
- 4s-delete-model (cli)
- 4s-dump (cli)
- 4s-file-backup (cli)
- 4s-httpd (cli)
- 4s-import (cli)
- 4s-info (cli)
- 4s-query (cli)
- 4s-restore (cli)
- 4s-size (cli)
- 4s-ssh-all (cli)
- 4s-ssh-all-parallel (cli)
- 4s-update (cli)
- 4s-admin (alias)
- 4s-backend (alias)
- 4s-backend-copy (alias)
- 4s-backend-destroy (alias)
- 4s-backend-info (alias)
- 4s-backend-passwd (alias)
- 4s-backend-setup (alias)
- 4s-boss (alias)
- 4s-cluster-copy (alias)
- 4s-cluster-create (alias)
- 4s-cluster-destroy (alias)
- 4s-cluster-file-backup (alias)
- 4s-cluster-info (alias)
- 4s-cluster-start (alias)
- 4s-cluster-stop (alias)
- 4s-delete-model (alias)
- 4s-dump (alias)
- 4s-file-backup (alias)
- 4s-httpd (alias)
- 4s-import (alias)
- 4s-info (alias)
- 4s-query (alias)
- 4s-restore (alias)
- 4s-size (alias)
- 4s-ssh-all (alias)
- 4s-ssh-all-parallel (alias)
- 4s-update (alias)

## Dependencies

- dbus
- gettext
- glib
- pcre
- raptor
- rasqal
- readline

## Build dependencies

- autoconf
- automake
- libtool
- pkgconf

## Install behavior

- Post-install hook: not defined
- 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.
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.1.7
- Package-manager updated: 2026-06-15
- Local data: ok
- Upstream repository: https://github.com/4store/4store
- Upstream latest detected: v1.1.7 (current)
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 2009: Public GitHub repository was created.
- v1.1.3: lib4store allowed C programs to connect to 4store backends directly.
- v1.1.5: Added features including non-MDNS administration, RDF 1.1 bNode skolemisation, SPARQL Update, and access-control work.
- v1.1.7: README and build documentation were refreshed.

### Related projects

- Raptor and Rasqal are closely related dependencies for RDF parsing and SPARQL parsing.
- 4store belongs to the same broad RDF triplestore and SPARQL database family as other semantic-web storage systems, but its official material emphasizes its own command-line and clustered backend tooling.

### Sources

- <https://api.github.com/repos/4store/4store>
- <https://github.com/4store/4store>
- <https://raw.githubusercontent.com/4store/4store/master/CHANGELOG.md>
- <https://raw.githubusercontent.com/4store/4store/master/README.md>


## Security Notes

broad file, network, media, or database tool signal. infrastructure mutation or orchestration signal.

- **Geiger risk:** orange / medium
- broad file, network, media, or database tool signal
- infrastructure mutation or orchestration signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** fourstore
- **Aliases:** 4store
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** yes
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [dbus](https://www.automicvault.com/pkg/brew/dbus/) - Runtime dependency declared by Homebrew.
- [gettext](https://www.automicvault.com/pkg/brew/gettext/) - Runtime dependency declared by Homebrew.
- [glib](https://www.automicvault.com/pkg/brew/glib/) - Runtime dependency declared by Homebrew.
- [pcre](https://www.automicvault.com/pkg/brew/pcre/) - Runtime dependency declared by Homebrew.
- [raptor](https://www.automicvault.com/pkg/brew/raptor/) - Runtime dependency declared by Homebrew.
- [rasqal](https://www.automicvault.com/pkg/brew/rasqal/) - Runtime dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://www.automicvault.com/pkg/brew/automake/) - Build dependency declared by Homebrew.
- [libtool](https://www.automicvault.com/pkg/brew/libtool/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [redstore](https://www.automicvault.com/pkg/brew/redstore/) - Shares av.db curated category or tags: cli, data, database, rdf, sparql.
- [apache-geode](https://www.automicvault.com/pkg/brew/apache-geode/) - Shares av.db curated category or tags: cli, data, database, databases.
- [cassandra](https://www.automicvault.com/pkg/brew/cassandra/) - Shares av.db curated category or tags: cli, data, database, databases.
- [cdb](https://www.automicvault.com/pkg/brew/cdb/) - Shares av.db curated category or tags: cli, data, database, databases.
- [check_postgres](https://www.automicvault.com/pkg/brew/check-postgres/) - Shares av.db curated category or tags: cli, data, database, databases.
- [cql](https://www.automicvault.com/pkg/brew/cql/) - Shares av.db curated category or tags: cli, data, database, databases.
- [fuseki](https://www.automicvault.com/pkg/brew/fuseki/) - Shares av.db curated category or tags: cli, data, rdf, semantic-web, sparql.
- [garnet](https://www.automicvault.com/pkg/brew/garnet/) - Shares av.db curated category or tags: cli, data, database, databases.
- [mdbtools](https://www.automicvault.com/pkg/brew/mdbtools/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, data, database, databases, gettext.

## Combined YAML source

View the package source record on GitHub. [combined/fourstore.yml](https://github.com/automic-vault/db/blob/main/combined/fourstore.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
