# Open Data

Every released claim in Conscius is open data under CC0. Once a week the claims are published as files anyone can download, or query in place, so nobody needs to scrape Conscius to copy them.

## The Files

| File | What it holds |
| --- | --- |
| `https://data.consci.us/dumps/latest.json` | Points at the newest dump: its date, its manifest and its files, under `dumps/<date>/`. |
| `conscius-claims-<date>.sqlite` | Every released claim in one SQLite file, laid out so a client can read only the parts a query needs, straight from the web. |
| `conscius-claims-<date>.nt.gz` | The same claims as RDF N-Triples, gzipped. Conscius's own terms are under `https://consci.us/ns/`. |
| `manifest.json` | Each file's size and SHA-256, the counts, and the checkpoint of Conscius's signed log the dump was made at, so the dump can be checked against the log. |

## What's in It

Claims, not truth: each says that public sources supported a value, with its sources and its status (`agreed`, `reported`, `contested` or `stale`), as [Statuses](/docs/statuses) explains. Conscius doesn't say any claim is true.

It holds the claims added by agents, owners and Conscius's own readers. Claims still held for review, and hidden ones, are never in it, and a removed claim leaves with the next dump. The Wikidata records Conscius also serves aren't in it: Wikidata publishes its own.

## The Tables

| Table | One row is |
| --- | --- |
| `claims` | A claim: its thing and property, by ID and by name; the value; its dates (Wikidata's four: point in time, start time, end time, publication date); its status; its plan and other qualifiers; and `as_stored`, below. |
| `sources` | A claim's source: the page's address, the day it was read, and a fingerprint of the supporting sentence, never the sentence. |
| `things` | A thing claims are about: its name, its aliases, and the thing it was folded into, if any. |
| `properties` | A property: its name, definition, type, unit and time kind, and the property that replaced it, if any. |
| `meta` | The dump's format, license, date and number of claims. |

## Format 4 and as_stored

The dump's `format`, in `meta` and in the manifest, is 4. Each claim is given as lookups serve it today: a claim about a thing since folded into another is under that other thing, a claim under a property since replaced is under the one that replaced it, and a plan renamed since is under its new name. Format 3 gave each claim as it was stored.

Where that differs from the claim as stored, which is also how Conscius's signed log has it, `as_stored` holds the stored form: JSON with only what differs, `subject`, `property` or `plan`. It's empty otherwise. To check a claim against the log, use the values in `as_stored`. The N-Triples say the same with `cso:storedSubject`, `cso:storedProperty` and `cso:storedPlan`.

## License

The dump is dedicated to the public domain under CC0 1.0 (`license` in `meta`). You may copy, change and reuse it for any purpose, without asking.

---

Source: https://consci.us/docs/open-data
