-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# huggingface_rdf | ||
|
||
`huggingface_rdf` is a Python tool that generates RDF (Resource Description Framework) data from datasets available on Hugging Face. This tool enables researchers and developers to convert data into a machine-readable format for enhanced querying and data analysis. | ||
|
||
## Features | ||
|
||
- Fetch datasets from Hugging Face. | ||
- Convert datasets to RDF format. | ||
- Generate Turtle (.ttl) files for easy integration with SPARQL endpoints. | ||
|
||
## Installation | ||
|
||
To install `huggingface_rdf`, clone the repository and install the package using pip: | ||
|
||
```bash | ||
git clone https://github.com/yourusername/huggingface_rdf.git | ||
cd huggingface_rdf | ||
pip install . | ||
``` | ||
|
||
## Usage | ||
|
||
After installing the package, you can use the command-line interface (CLI) to generate RDF data: | ||
|
||
``` | ||
huggingface-rdf --fname huggingface.ttl --limit 10 | ||
``` | ||
|
||
Check out the `qlever_scripts` directory to get help loading the RDF into qlever for querying. | ||
|
||
## Contributing | ||
|
||
We welcome contributions! Please open an issue or submit a pull request! | ||
|