Skip to content

Jena Fuseki Service setup for learning SPARQL, Development and Testing purposes

License

Notifications You must be signed in to change notification settings

dgwnu/fuseki-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fuseki Service License: MIT

Jena Fuseki Service setup for learning SPARQL, Development and Testing purposes.

The binary distribution of Fuseki v3.17.0 is used to provide the service.

is used to start Fuseki as a permanent background service.

Install

npm install https://github.com/dgwnu/fuseki-service.git --save

Commands

You can use the service from the command line like this:

npx fuseki-service run

or in a NPM-script:

"scripts": {
    ...
    "cli:run": "fuseki-service run",
    ...
Command Function
run (args) Run Fuseki Service in a terminal session (stops after closing terminal session)
start (args) Start Fuseki as PM2 Service (permanent in the background)
stop Stop Fuseki as PM2 Service
restart Restart Fuseki as PM2 Service

The Jena Fuseki Server server will execute with default arg(ument)s for the run and start commands:

  • -- localhost
  • --mem /dgwnu

You can replace the default args with all possible args that are available. See options by running the following at the command line:

npx fuseki-service run --help

TypeScript Library Support

It is possible to import the commands and use these for Node-based TypeScript applications:

import { startServer } from '@dgwnu/fuseki-service';

...
        startServer(serverArgs).subscribe({
            next: () => console.log('Server Started!'),
            error: (err) => console.error(err)
        });
...

The Fuseki Service CLI source provides all examples you need.

About

Jena Fuseki Service setup for learning SPARQL, Development and Testing purposes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published