https://github.com/dbpedia/databus-moss

Docker Setup for MOSS

https://github.com/dbpedia/databus-moss

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.7%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Docker Setup for MOSS

Basic Info
  • Host: GitHub
  • Owner: dbpedia
  • Default Branch: main
  • Size: 79.1 KB
Statistics
  • Stars: 3
  • Watchers: 13
  • Forks: 0
  • Open Issues: 12
  • Releases: 0
Created about 2 years ago · Last pushed about 1 year ago
Metadata Files
Readme

README.md

Databus MOSS

Welcome to the main repository of the Databus Metadata Overlay Search System (MOSS). Here you can find instructions for deployment of a MOSS instance with Docker and examples to get your started. The code for the two main components (server and frontend) are held in separate repositories.

Deployment and Example

Run

git clone https://github.com/dbpedia/databus-moss-docker.git cd databus-moss-docker docker compose pull docker compose up

Go to http://localhost:5000

Login at the top right and click on your username. Alternatively go to http://localhost:5000/user

Navigate to Keys, create an API key and save your key on your local machine. Your API key should look something like this: OWM3ZTY3NTItNjQ2ZC00ZDE5LWE4ZTctYjc4NGFkNjkyZDFj_17784836-6dc2-4880-96ac-42a0f3570bb2

To create a layer entry on your MOSS instance, issue the following curl: curl -X POST 'http://localhost:5000/api/save?layer=simple&resource=https://databus.openenergyplatform.org/hu_wu/test_group' \ -H 'accept: application/json' \ -H 'X-API-KEY: OWM3ZTY3NTItNjQ2ZC00ZDE5LWE4ZTctYjc4NGFkNjkyZDFj_17784836-6dc2-4880-96ac-42a0f3570bb2' \ -H 'Content-Type: text/turtle' \ -d '@prefix dct: <http://purl.org/dc/terms/> . <https://databus.openenergyplatform.org/hu_wu/test_group> <https://saref.etsi.org/core/isAbout> <http://openenergy-platform.org/ontology/oeo/OEO_00020054> ; <https://saref.etsi.org/core/isAbout> <http://openenergy-platform.org/ontology/oeo/OEO_00020053> .'

Searching for nuclear in the main search field at http://localhost:5000 should now show the new layer.

About

The Databus MOSS (Metadata Overlay Search System) is a system of creating modular metadata extensions for the metadata graphs provided by Databus entries. The general idea is that a Databus instance provides stable identifiers for your files along with the most basic metadata for file usage (format, comppression, licensing). However, more domain or file-type specific metadata is often needed. MOSS provides a system for the management of additional metadata graphs. With MOSS, you can:

  • Create schema for metadata extensions
  • Create and manage additional metadata graphs
  • Tailor a flexible indexed searcher directly to your specific RDF-metadata
  • Enjoy enhanced data retrieval based on your metadata entries

Containers

dbpedia/databus-moss-frontend:dev Frontend using Svelte. Running on port 5000

dbpedia/databus-moss-server:dev Server with MOSS API. Running on port 5001

dbpedia/lookup:dev Lookup Server for Search API. Running on port 5002

dbpedia/gstore:dev Gstore. Running on port 5003

openlink/virtuoso-opensource-7:latest Triple Store Backend. Running on port 5004

Proxy Setup

If both backend and frontend are on the same host, MOSS requires some routes to be proxied to the backend (listed as apache2 proxy pass and http://localhost:5001/ as the address of the backend container):

ProxyPass /api http://localhost:5001/api ProxyPass /layer http://localhost:5001/layer ProxyPass /g http://localhost:5001/g ProxyPass /file http://localhost:5001/file ProxyPass /sparql http://localhost:5001/sparql

sparql can optionally be proxied to the virtuoso container directly.

Environment Variables

Frontend:

```

URL for backend requests

PUBLICMOSSBASE_URL: https://dev.moss.dbpedia.org

Required for authentication: Origin and OIDC parameters

ORIGIN: https://dev.moss.dbpedia.org AUTHOIDCCLIENTID: moss-dev AUTHOIDCCLIENTSECRET: z7feqbX7lGyAFzPzGIaC4LT7vidPqrP5 AUTHOIDCISSUER: https://auth.dbpedia.org/realms/dbpedia AUTHOIDCCLIENT_SCOPE: "openid profile email" ```

Backend:

```

Base path for MOSS identifiers

MOSSBASEURL: https://dev.moss.dbpedia.org

Path of the sqlite user database

USERDATABASEPATH: /users/users.db

Configuration file

CONFIG_PATH: /config/moss-config.yml

Other services in the environment

LOOKUPBASEURL: http://lookup:8082 GSTOREBASEURL: http://gstore:8080 ```

Legacy Code (LODGEOSS)

You can find the old version of MOSS (LODGEOSS project result) here.

Owner

  • Name: DBpedia
  • Login: dbpedia
  • Kind: organization
  • Email: dbpedia-discussion@lists.sourceforge.net

GitHub Events

Total
  • Issues event: 11
  • Watch event: 2
  • Push event: 8
Last Year
  • Issues event: 11
  • Watch event: 2
  • Push event: 8

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 6
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 6
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • kurzum (6)
Pull Request Authors
  • holycrab13 (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

docker-compose.yml docker
  • dbpedia/databus-moss-client dev
  • dbpedia/databus-moss-server dev
  • dbpedia/gstore rogue-jan
  • dbpedia/lookup dev
  • openlink/virtuoso-opensource-7 latest