description: >- Download data from DBpedia Databus using SPARQL and make it data fit for your applications. —
The DBpedia Databus Client simplifies data consumption and compilation from the DBpedia Databus, addressing challenges in using data from different publishers and domains.
Data is often released in various serialization and compression formats, requiring conversion before it can be utilized. Additionally, tabular structured data like in relational databases or data from community-specific formats necessitates mapping for integration with knowledge graphs. Currently, mapping efforts are dispersed, leading to reduced reusability and unclear provenance.
To address these issues, we propose a client that can automatically convert and compile data assets registered on any DBpedia Databus distribution into formats supported by the target infrastructure. It enables seamless consumption of compiled data, similar to traditional software dependency management systems. By shifting the burden of format conversion from data providers to the client, we reduce the publishing effort, enhance data consumption with fewer conversion problems, enable data-driven applications with automatically updated dependencies and enhance the findability and reuse of mapping definitions.
The client brings us closer to realizing a unified and efficient data ecosystem, promoting reusability and maintaining clear provenance.
Beta: The Databus Client produces expected results for compression conversion and file format conversion. Errors could occure for the mapping process. Please expect some code refactoring and fluctuation.
You have multiple options to run the client (shown in usage). For the standalone approach (.jar file) you only need Java
installed on your machine.
JDK 8
or JDK 11
Download databus-client.jar
of the latest Databus Client release.
To select data from DBpedia Databus, you can perform queries. Databus provides two mechanisms for this, which are described in detail here.
We use this query as selection for this example.
In order to download the data we need to pass the query as the -s
argument. Furthermore if we want to convert the files to .jsonld we need to specify if in the -f
parameter and finally we need to tell the client the desired compression. There are more options described in #cli-options
java -jar databus-client.jar \
-s "PREFIX dataid: <http://dataid.dbpedia.org/ns/core#>
PREFIX dataid-cv: <http://dataid.dbpedia.org/ns/cv#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX dcat: <http://www.w3.org/ns/dcat#>
SELECT DISTINCT ?file WHERE {
?dataset dataid:version <https://databus.dbpedia.org/dbpedia/enrichment/specific-mappingbased-properties/2019.03.01> .
?dataset dcat:distribution ?distribution .
?distribution dcat:downloadURL ?file .
}" \
-f jsonld \
-c gz
Per default the resulting files will be saved to ./files/
.
Please report issues in our github repository.
If you would like to submit a non-trivial patch or pull request we will need you to sign the Contributor License Agreement, we will send it to you in that case.
The source code of this repo is published under the Apache License Version 2.0
Databus is configured so that the default license of all metadata is CC-0, which is relevant for all data of the Model, i.e. who published which data, when and under which license.
The individual datasets are referenced via links (dcat:downloadURL) and can have any license.
If you use the DBpedia Databus Client in your research, please cite the following paper:
@InProceedings{mcdc2021,
author = {Johannes Frey and Fabian G\"otz and Marvin Hofer and Sebastian Hellmann},
title = {Managing and Compiling Data Dependencies for Semantic Applications using Databus Client},
booktitle = {Metadata and Semantic Research. MTSR 2021}
year = {2021},
}