Databus Gitbook
Databus Client
Databus Client
  • Overview
    • Features
  • Usage
    • JAR
    • CLI
    • Docker
      • Docker Compose
    • Scala/Java API
  • Examples
    • Loading data into Virtuoso (Docker)
    • Download data using Collection Uri
Powered by GitBook
On this page
  • Requirements
  • Example
  1. Usage
  2. Docker

Docker Compose

PreviousDockerNextScala/Java API

Last updated 1 year ago

Whether you prefer to use docker or docker compose is a matter of taste. We provide both options.

Requirements

  • Docker: ^3.5

Example

Installation

get the file of the Databus Client Repository

Select Data

echo "PREFIX dcat:   <http://www.w3.org/ns/dcat#>
PREFIX databus: <https://dataid.dbpedia.org/databus#>

SELECT ?file WHERE
{
        GRAPH ?g
        {
                ?dataset databus:artifact <https://dev.databus.dbpedia.org/tester/testgroup/testartifact> .
                { ?distribution <http://purl.org/dc/terms/hasVersion> '2023-06-23' . }
                ?dataset dcat:distribution ?distribution .
                ?distribution databus:file ?file .
        }
}" > myQuery.sparql

Execute

docker compose up

-> the resulting files can be found in the toLoad Volume

docker-compose.yml