freebase / README.md
alex999819's picture
Update dataset card for verified 2015-08-09 dump
27ed14e verified
|
Raw
History Blame Contribute Delete
7.94 kB
---
license: cc-by-2.5
pretty_name: Freebase RDF Historical Final Dump (2015-08-09)
tags:
- freebase
- knowledge-graph
- rdf
- n-triples
- linked-data
- knowledge-base
---
# Freebase RDF Final Dump - 2015-08-09
This repository provides a preservation mirror of the final regular Freebase
RDF dump published by Google on August 9, 2015.
The uploaded file retains its historical alias:
```text
freebase-rdf-latest.gz
```
It has been verified to be byte-for-byte identical to the explicitly dated
final dump:
```text
freebase-rdf-2015-08-09-00-01.gz
```
Both compressed files have the same exact size and the same SHA-256 checksum:
```text
b3d21c80dc512c8ed3c37279516340ef7a77027d593932c7c3fb22d40dfd47f4
```
This is an independent community preservation mirror. It is not an official
Google, Freebase, Microsoft, or Hugging Face release.
## File information
| Field | Value |
|---|---|
| Repository filename | `freebase-rdf-latest.gz` |
| Canonical dated filename | `freebase-rdf-2015-08-09-00-01.gz` |
| Snapshot date | `2015-08-09` |
| File size | `32,191,685,487 bytes` |
| Compression | Gzip |
| RDF serialization | N-Triples |
| Text encoding | UTF-8 |
| SHA-256 | `b3d21c80dc512c8ed3c37279516340ef7a77027d593932c7c3fb22d40dfd47f4` |
| Original publisher | Google / Freebase |
| Verification | Byte-for-byte identical to the dated final dump |
| Modification status | Redistributed without modification |
A checksum is also provided in:
```text
SHA256SUMS
```
## Snapshot identification
The file in this repository has been cryptographically verified against the
explicitly dated final Freebase RDF dump:
```text
freebase-rdf-2015-08-09-00-01.gz
```
The following properties were compared for both compressed files:
exact file size;
SHA-256 checksum of the complete Gzip file.
Both files are exactly 32,191,685,487 bytes and have the same SHA-256
checksum:
```text
b3d21c80dc512c8ed3c37279516340ef7a77027d593932c7c3fb22d40dfd47f4
```
Therefore, freebase-rdf-latest.gz is confirmed to be byte-for-byte identical
to freebase-rdf-2015-08-09-00-01.gz, the final regular Freebase RDF dump
dated August 9, 2015.
The original freebase-rdf-latest.gz filename is preserved in this repository
because it was the filename used by Google's historical official download URL.
## Provenance
Two independently named copies of the dump were obtained:
1. `freebase-rdf-latest.gz`, retrieved through Xunlei cloud offline retrieval
using Google's historical official download URL;
2. `freebase-rdf-2015-08-09-00-01.gz`, extracted from Microsoft's historical
`FastRDFStore-data.zip` package.
The two files were compared locally and found to have identical sizes and
identical SHA-256 checksums. They are therefore the same compressed file, not
merely RDF dumps with equivalent contents.
The historical Google download URL was:
```text
https://commondatastorage.googleapis.com/freebase-public/rdf/freebase-rdf-latest.gz
```
The original endpoint is no longer reliably accessible. This repository
preserves the exact historical file for archival use and research
reproducibility.
## Dataset description
Freebase was a large collaborative knowledge base containing entities,
relations, schema definitions, identifiers, and literal values.
The dump is serialized as RDF N-Triples. Each record generally follows this
form:
```text
<subject> <predicate> <object> .
```
Freebase identifiers are represented in the RDF namespace. For example, a
Freebase MID such as:
```text
/m/012rkqx
```
is represented in RDF as:
```text
http://rdf.freebase.com/ns/m.012rkqx
```
The object may be another Freebase entity, a schema item, an RDF resource, or a
literal such as a string, number, Boolean value, or date.
## Repository contents
```text
.
├── README.md
├── SHA256SUMS
└── freebase-rdf-latest.gz
```
This repository contains the raw compressed RDF dump. It does not provide
train, validation, or test splits, and it has not been converted to Parquet,
JSON, SQLite, or another processed representation.
## Download
Using the Hugging Face CLI:
```bash
hf download alex999819/freebase \
freebase-rdf-latest.gz \
SHA256SUMS \
--repo-type dataset \
--local-dir .
```
The file can also be downloaded independently:
```bash
hf download alex999819/freebase \
freebase-rdf-latest.gz \
--repo-type dataset \
--local-dir .
```
## Checksum verification
On Linux:
```bash
sha256sum -c SHA256SUMS
```
Alternatively:
```bash
sha256sum freebase-rdf-latest.gz
```
On Windows PowerShell:
```powershell
Get-FileHash ".\freebase-rdf-latest.gz" -Algorithm SHA256
```
The calculated hash must match the SHA-256 value published in this data card
and in `SHA256SUMS`.
## Gzip integrity verification
On Linux:
```bash
gzip -t freebase-rdf-latest.gz
echo $?
```
An exit code of `0` indicates that the Gzip stream passed its integrity check.
Using 7-Zip on Windows:
```powershell
& "C:\Program Files\7-Zip\7z.exe" t ".\freebase-rdf-latest.gz"
```
A successful test should report:
```text
Everything is Ok
```
## Reading the dump
It is generally unnecessary to fully extract the dump before processing it.
View the first few triples:
```bash
gzip -dc freebase-rdf-latest.gz | head
```
Stream the file in Python:
```python
import gzip
from pathlib import Path
dump_path = Path("freebase-rdf-latest.gz")
with gzip.open(dump_path, mode="rt", encoding="utf-8", errors="replace") as file:
for line_number, line in enumerate(file, start=1):
print(line.rstrip())
if line_number >= 10:
break
```
For large-scale processing, read and process the Gzip stream incrementally
instead of extracting the entire uncompressed dump to disk.
## License
The Freebase data dumps were distributed under the Creative Commons
Attribution 2.5 Generic license:
```text
https://creativecommons.org/licenses/by/2.5/
```
Users must provide appropriate attribution when redistributing or using the
dataset.
Suggested attribution:
```text
Google, Freebase Data Dumps
```
Original documentation:
```text
https://developers.google.com/freebase
```
This repository preserves the original license and does not impose additional
restrictions.
## Citation
A general citation for the original dataset is:
```text
Google, Freebase Data Dumps,
https://developers.google.com/freebase
```
BibTeX:
```bibtex
@misc{google_freebase_data_dumps,
author = {Google},
title = {Freebase Data Dumps},
howpublished = {\url{https://developers.google.com/freebase}},
note = {Historical Freebase RDF data dump}
}
```
## Limitations and responsible use
Freebase is a historical and discontinued knowledge base. The data is no
longer maintained and may contain:
* outdated information;
* incomplete or incorrect facts;
* duplicate or conflicting statements;
* obsolete identifiers and external links;
* historical descriptions that no longer reflect current reality;
* sensitive, offensive, or otherwise problematic literals inherited from
historical source data.
Users should not treat the dump as an authoritative source for current facts.
Applications involving people, medicine, law, finance, safety, or other
high-impact decisions should independently verify all relevant information.
## Acknowledgements
Freebase was originally developed by Metaweb and later operated by Google.
The explicitly dated copy used for byte-level verification was preserved in
Microsoft's historical FastRDFStore data package.
This repository provides an archival mirror of the final regular Freebase RDF
dump dated August 9, 2015.