Command Line Interface Reference#

This document is a reference guide for commands available through the Corese CLI a.k.a. Corese-Command. Corese-Command provides the built-in Corese engine and a set of commands to interact with it. Corese-Command is designed to simplify and streamline tasks related to querying, converting, and validating RDF data,

For the User Guide on how to set up and get started with Corese-Command, please refer to its User Guide.

Note

The installation instructions for non-Java users are not very clear.

The general syntax for Corese-Command is as follows:

corese-command [GLOBAL_OPTIONS] [COMMAND] [COMMAND_OPTIONS [ARGUMENT] ...]

Global Options

Global options can be used without specifying a command and include:

  • -h, --help : Display a list of available commands.

  • -V, --version : Display version information.

corese-command -V
corese-command --help

Note

The –help option can be used with any command to display detailed information about the command.

corese-command sparql --help

Commands#

Command

Summary

sparql

Run a SPARQL query on RDF datasets.

convert

Convert RDF dataset from one format to another.

shacl

Validate RDF dataset against SHACL shapes.

remote-sparql

Execute a SPARQL query on a remote endpoint.

remote-sparql

Applying a specific canonicalization algorithm to RDF dataset.