How to use @comunica/actor-init-sparql - 7 common examples

To help you get started, we’ve selected a few @comunica/actor-init-sparql examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github comunica / comunica / packages / actor-init-sparql-file / bin / http.ts View on Github external
#!/usr/bin/env node
import {HttpServiceSparqlEndpoint} from "@comunica/actor-init-sparql";

const defaultConfigPath = __dirname + '/../config/config-default.json';

HttpServiceSparqlEndpoint.runArgsInProcess(process.argv.slice(2), process.stdout, process.stderr,
    __dirname + '/../', process.env, defaultConfigPath, () => process.exit(1));
github comunica / comunica / packages / actor-init-sparql-rdfjs / webpack.config.js View on Github external
const path = require('path');
const superConfig = require('@comunica/actor-init-sparql/webpack.config');
superConfig.entry = [ '@babel/polyfill', path.resolve(__dirname, 'index-browser.js') ];
superConfig.output.path = __dirname;
module.exports = superConfig;
github comunica / comunica / packages / actor-init-sparql-file / webpack.config.js View on Github external
const path = require('path');
const superConfig = require('@comunica/actor-init-sparql/webpack.config');
superConfig.entry = [ '@babel/polyfill', path.resolve(__dirname, 'index-browser.js') ];
superConfig.output.path = __dirname;
module.exports = superConfig;
github comunica / comunica / packages / actor-init-sparql-file / webpack.config.js View on Github external
const path = require('path');
const superConfig = require('@comunica/actor-init-sparql/webpack.config');
superConfig.entry = [ '@babel/polyfill', path.resolve(__dirname, 'index-browser.js') ];
superConfig.output.path = __dirname;
module.exports = superConfig;
github comunica / comunica / packages / actor-init-sparql-rdfjs / webpack.config.js View on Github external
const path = require('path');
const superConfig = require('@comunica/actor-init-sparql/webpack.config');
superConfig.entry = [ '@babel/polyfill', path.resolve(__dirname, 'index-browser.js') ];
superConfig.output.path = __dirname;
module.exports = superConfig;
github pheyvaer / graphqlld-on-file / lib / engine / index.js View on Github external
const https___linkedsoftwaredependencies_org_bundles_npm__comunica_actor_init_sparql__1_0_0_config_sets_sparql_queryoperator_path_json_mySeqPathOperator = new (require('@comunica/actor-query-operation-path-seq').ActorQueryOperationPathSeq)({
  'mediatorQueryOperation': https___linkedsoftwaredependencies_org_bundles_npm__comunica_actor_init_sparql__1_0_0_config_sets_sparql_queryoperators_json_mediatorQueryOperation,
  'name': 'https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-init-sparql/^1.0.0/config/sets/sparql-queryoperator-path.json#mySeqPathOperator',
  'bus': https___linkedsoftwaredependencies_org_bundles_npm__comunica_bus_query_operation_Bus_QueryOperation
});
const https___linkedsoftwaredependencies_org_bundles_npm__comunica_actor_init_sparql__1_0_0_config_sets_sparql_queryoperator_path_json_myZeroOrMorePathOperator = new (require('@comunica/actor-query-operation-path-zero-or-more').ActorQueryOperationPathZeroOrMore)({
  'mediatorQueryOperation': https___linkedsoftwaredependencies_org_bundles_npm__comunica_actor_init_sparql__1_0_0_config_sets_sparql_queryoperators_json_mediatorQueryOperation,
  'name': 'https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-init-sparql/^1.0.0/config/sets/sparql-queryoperator-path.json#myZeroOrMorePathOperator',
  'bus': https___linkedsoftwaredependencies_org_bundles_npm__comunica_bus_query_operation_Bus_QueryOperation
});
const https___linkedsoftwaredependencies_org_bundles_npm__comunica_actor_init_sparql__1_0_0_config_sets_sparql_queryoperator_path_json_myZeroOrOnePathOperator = new (require('@comunica/actor-query-operation-path-zero-or-one').ActorQueryOperationPathZeroOrOne)({
  'mediatorQueryOperation': https___linkedsoftwaredependencies_org_bundles_npm__comunica_actor_init_sparql__1_0_0_config_sets_sparql_queryoperators_json_mediatorQueryOperation,
  'name': 'https://linkedsoftwaredependencies.org/bundles/npm/@comunica/actor-init-sparql/^1.0.0/config/sets/sparql-queryoperator-path.json#myZeroOrOnePathOperator',
  'bus': https___linkedsoftwaredependencies_org_bundles_npm__comunica_bus_query_operation_Bus_QueryOperation
});
const urn_comunica_sparqlinit = new (require('@comunica/actor-init-sparql').ActorInitSparql)({
  'mediatorOptimizeQueryOperation': https___linkedsoftwaredependencies_org_bundles_npm__comunica_actor_init_sparql__1_0_0_config_sets_sparql_init_json_mediatorOptimizeQueryOperation,
  'mediatorQueryOperation': https___linkedsoftwaredependencies_org_bundles_npm__comunica_actor_init_sparql__1_0_0_config_sets_sparql_queryoperators_json_mediatorQueryOperation,
  'mediatorSparqlParse': https___linkedsoftwaredependencies_org_bundles_npm__comunica_actor_init_sparql__1_0_0_config_sets_sparql_init_json_mediatorSparqlParse,
  'mediatorSparqlSerialize': https___linkedsoftwaredependencies_org_bundles_npm__comunica_actor_init_sparql__1_0_0_config_sets_sparql_init_json_mediatorSparqlSerialize,
  'mediatorSparqlSerializeMediaTypeCombiner': __b0bnode258,
  'mediatorContextPreprocess': https___linkedsoftwaredependencies_org_bundles_npm__comunica_actor_init_sparql__1_0_0_config_sets_sparql_init_json_mediatorContextPreprocess,
  'mediatorHttpInvalidate': https___linkedsoftwaredependencies_org_bundles_npm__comunica_actor_init_sparql__1_0_0_config_sets_sparql_init_json_mediatorHttpInvalidate,
  'logger': __b15bnode122,
  'contextKeyShortcuts': {
    'source': '@comunica/bus-rdf-resolve-quad-pattern:source',
    'sources': '@comunica/bus-rdf-resolve-quad-pattern:sources',
    'initialBindings': '@comunica/actor-init-sparql:initialBindings',
    'queryFormat': '@comunica/actor-init-sparql:queryFormat',
    'baseIRI': '@comunica/actor-init-sparql:baseIRI',
    'log': '@comunica/core:log',
    'datetime': '@comunica/actor-http-memento:datetime',
github comunica / comunica / packages / actor-init-sparql / spec / sparql-engine.js View on Github external
const newEngine = require('@comunica/actor-init-sparql').newEngine;
module.exports = require('@comunica/actor-init-sparql/spec/sparql-engine-base.js')(newEngine());

@comunica/actor-init-sparql

Deprecated: A SPARQL query engine for querying over decentralized RDF knowledge graphs on the Web

MIT
Latest version published 2 years ago

Package Health Score

56 / 100
Full package analysis

Similar packages