# SHMARQL
A Linked Data publishing platform for semantic web professionals in a hurry. Make compelling queries and documentation of your RDF data, using an open-source, simple platform.
Documentation here: https://shmarql.com/
## TL;DR
SHMARQL also has a built-in triplestore which you can use to share your RDF data over a SPARQL interface. To use it, you need to specify the path from which to load the datafiles at startup, using an environment variable: `DATA_LOAD_PATHS`.
This also means that the path in which the data is stored is is "visible" to the docker container via for example a mounted volume.
Here is an example, where you have some .ttl files stored in your current directory:
```shell
docker run --rm -p 8000:8000 -it -v $(pwd):/data -e DATA_LOAD_PATHS=/data ghcr.io/epoz/shmarql:latest
```
This will load all .ttl files found in the specified directory, and make it available under a /sparql endpoint, eg. http://localhost:8000/sparql
## Development instructions
If you would like to run and modify the code in this repo, there is a [Dockerfile](Dockerfile) which includes the necessary versions of the required libraries.
First, build the Docker image like so:
```shell
docker build -t shmarql .
```
Now you can run a local copy with:
```shell
docker run -it --rm -p 8000:8000 shmarql
```
Raw data
{
"_id": null,
"home_page": "https://shmarql.com/",
"name": "shmarql",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.10",
"maintainer_email": null,
"keywords": "SPARQL, search, RDF, Linked Data",
"author": "Etienne Posthumus",
"author_email": "ep@epoz.org",
"download_url": "https://files.pythonhosted.org/packages/70/de/8bfdb23e351d29ea26bfb1270722f47a3e774e04bea2b622f499569ac81d/shmarql-0.46.tar.gz",
"platform": null,
"description": "# SHMARQL\n\nA Linked Data publishing platform for semantic web professionals in a hurry. Make compelling queries and documentation of your RDF data, using an open-source, simple platform.\n\nDocumentation here: https://shmarql.com/\n\n## TL;DR\n\nSHMARQL also has a built-in triplestore which you can use to share your RDF data over a SPARQL interface. To use it, you need to specify the path from which to load the datafiles at startup, using an environment variable: `DATA_LOAD_PATHS`.\nThis also means that the path in which the data is stored is is \"visible\" to the docker container via for example a mounted volume.\n\nHere is an example, where you have some .ttl files stored in your current directory:\n\n```shell\ndocker run --rm -p 8000:8000 -it -v $(pwd):/data -e DATA_LOAD_PATHS=/data ghcr.io/epoz/shmarql:latest\n```\n\nThis will load all .ttl files found in the specified directory, and make it available under a /sparql endpoint, eg. http://localhost:8000/sparql\n\n## Development instructions\n\nIf you would like to run and modify the code in this repo, there is a [Dockerfile](Dockerfile) which includes the necessary versions of the required libraries.\n\nFirst, build the Docker image like so:\n\n```shell\ndocker build -t shmarql .\n```\n\nNow you can run a local copy with:\n\n```shell\ndocker run -it --rm -p 8000:8000 shmarql\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Linked Data publishing platform for semantic web professionals in a hurry.",
"version": "0.46",
"project_urls": {
"Homepage": "https://shmarql.com/",
"Repository": "https://github.com/epoz/shmarql"
},
"split_keywords": [
"sparql",
" search",
" rdf",
" linked data"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e77c91520bca688710a301e015e937f16a4c80f5b6a50164d205d95e9155b65d",
"md5": "87818f416db044ea7389fbdfdd458953",
"sha256": "c7ed607c53f83922759aaf27e09b60e7e84f603a2a9310a19a7ee7594fd8934c"
},
"downloads": -1,
"filename": "shmarql-0.46-py3-none-any.whl",
"has_sig": false,
"md5_digest": "87818f416db044ea7389fbdfdd458953",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.10",
"size": 16948,
"upload_time": "2024-12-12T14:09:22",
"upload_time_iso_8601": "2024-12-12T14:09:22.062758Z",
"url": "https://files.pythonhosted.org/packages/e7/7c/91520bca688710a301e015e937f16a4c80f5b6a50164d205d95e9155b65d/shmarql-0.46-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "70de8bfdb23e351d29ea26bfb1270722f47a3e774e04bea2b622f499569ac81d",
"md5": "676666358fad11924ad28f93a759d6a9",
"sha256": "3d1643c5d32890632909dd27bfd0c07f64672a3fa6a005389e0d42244a28ff2f"
},
"downloads": -1,
"filename": "shmarql-0.46.tar.gz",
"has_sig": false,
"md5_digest": "676666358fad11924ad28f93a759d6a9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.10",
"size": 15099,
"upload_time": "2024-12-12T14:09:24",
"upload_time_iso_8601": "2024-12-12T14:09:24.528709Z",
"url": "https://files.pythonhosted.org/packages/70/de/8bfdb23e351d29ea26bfb1270722f47a3e774e04bea2b622f499569ac81d/shmarql-0.46.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-12 14:09:24",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "epoz",
"github_project": "shmarql",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "python-fasthtml",
"specs": [
[
"==",
"0.6.9"
]
]
},
{
"name": "httpx",
"specs": [
[
"==",
"0.27.2"
]
]
},
{
"name": "tree-sitter",
"specs": [
[
"==",
"0.20.1"
]
]
},
{
"name": "rdflib",
"specs": [
[
"==",
"7.1.1"
]
]
},
{
"name": "pyoxigraph",
"specs": [
[
"==",
"0.4.1"
]
]
},
{
"name": "fizzysearch",
"specs": [
[
"==",
"0.28"
]
]
},
{
"name": "mkdocs-material",
"specs": [
[
"==",
"9.5.42"
]
]
}
],
"lcname": "shmarql"
}