0.3.6 • Published 5 years ago
obda-converter v0.3.6
OBDA Converter
JS library for converting common file types used in Ontology-Based Data Access
Provides both CLI and JS API for handling OWL, SPARQL, and ChaseBench common format files
James Errington and George Konstantinidis
--- WARNING - THIS LIBRARY IS STILL UNDER HEAVY DEVELOPMENT - IT IS NOT CURRENTLY FOR USE IN SERIOUS APPLICATIONS ---
Installation
Local
For use of the Javascript API in applications
NPM
npm i obda-converter
Yarn
yarn add obda-converter
then
var OBDAconverter = require('obda-converter').default
Global
For use of the CLI tool
NPM
npm i obda-converter -g
Yarn
yarn global add obda-converter
Usage
ChaseBench Schema to SQL
Javascript API
OBDAconverter.convertSchemaToSql(schema : string, options? : { clean? : boolean }) : string[]
CLI
obdaconvert schema <file> [{-o|--output} <file>] [{-c|--clean}]
ChaseBench TGDs to ChaseBench Schema
Javascript API
OBDAconverter.convertTgdToSchema(tgds : string[]) : string[]
CLI
obdaconvert tgd <file>
Rapid / Iqaros UCQs to SQL
Javascript API
OBDAconverter.convertUcqToSql(ucq : string[], schema : string, options : { format : 'rapid' | 'iqaros' }) : string[]
CLI
obdaconvert ucq <file> [{-o|--output} <file>]
SPARQL query to ChaseBench query
Javascript API
OBDAconverter.convertSparqlToQuery(sparql : string) : string
CLI
obdaconvert query <file> [{-o|--output} <file>]
OWL ontology to ChaseBench TGDs
Javascript API
OBDAconverter.convertOwlToTgd(owl : string) : Promise<string[]>
CLI
obdaconvert owl <file> [{-o|--output} <file>]
ChaseBench TGDs to OWL ontology
Javascript API
OBDAconverter.convertTgdToOwl(tgds : string[], options? : { uri? : string }) : string
CLI
obdaconvert tgdowl <file> [{-o|--output} <file>] [{-u|--uri} <uri>]
0.3.6
5 years ago
0.3.5
5 years ago
0.3.4
5 years ago
0.3.3
5 years ago
0.3.2
5 years ago
0.3.1
5 years ago
0.3.0
5 years ago
0.2.21
5 years ago
0.2.20
5 years ago
0.2.19
5 years ago
0.2.18
5 years ago
0.2.17
5 years ago
0.2.16
5 years ago
0.2.15
5 years ago
0.2.14
5 years ago
0.2.13
5 years ago
0.2.12
5 years ago
0.2.11
5 years ago
0.2.10
5 years ago
0.2.9
5 years ago
0.2.8
5 years ago
0.2.7
5 years ago
0.2.6
5 years ago
0.2.5
5 years ago
0.2.4
5 years ago
0.2.3
5 years ago
0.2.2
5 years ago
0.2.1
5 years ago
0.2.0
5 years ago
0.1.1
5 years ago
0.1.0
5 years ago
0.0.8
5 years ago
0.0.7
5 years ago
0.0.6
5 years ago
0.0.5
5 years ago
0.0.4
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago