0.3.6 • Published 6 years ago

obda-converter v0.3.6

Weekly downloads
145
License
MIT
Repository
github
Last release
6 years ago

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

6 years ago

0.3.5

6 years ago

0.3.4

6 years ago

0.3.3

6 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.21

6 years ago

0.2.20

6 years ago

0.2.19

6 years ago

0.2.18

6 years ago

0.2.17

6 years ago

0.2.16

6 years ago

0.2.15

6 years ago

0.2.14

6 years ago

0.2.13

6 years ago

0.2.12

6 years ago

0.2.11

6 years ago

0.2.10

6 years ago

0.2.9

6 years ago

0.2.8

6 years ago

0.2.7

6 years ago

0.2.6

6 years ago

0.2.5

6 years ago

0.2.4

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago