sparql

package
v0.0.0-...-e211119 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
}

Service SHOULD implement the Executor interface It currently does NOT

func NewService

func NewService() *Service

NewService creates a new ArangoDB executor service

Return: *Service, the new service

func (*Service) ExecuteQuery

func (s *Service) ExecuteQuery(query string, incomingTriplesJSON string, endpoint string) (*[]byte, error)

ExecuteQuery executes the given query on an ArangoDB instance Currently DOES NOT actually implement the Executor interface, since it requires a different set of parameters Since this code is essentially a proof-of-concept/template-to-be-extended,

 there is no reason to mess with the current, and working, interface definition and its implementations
	query: string, the query to be executed
	endpoint: string, the public SPARQL endpoint to query
	incomingTriplesJSON: string, the triples used in the query corresponding to their select identifiers
	Return: (*[]byte, error), returns the result of the query and a potential error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL