sparql

package
v0.0.0-...-3dc4d02 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: LGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRepository

func NewRepository(cacheStrategy string, queryIndex map[string]string, verbose bool) error

func ParseSPARQLJSON

func ParseSPARQLJSON(r io.Reader) []map[string]rdf.Term

Types

type Repository

type Repository struct {
	CacheManager *cache.CacheManager
	QueryIndex   map[string]string
	// contains filtered or unexported fields
}
var CurrentRepository Repository

func (*Repository) Query

func (r *Repository) Query(queryLocation string, arguments ...interface{}) ([]map[string]rdf.Term, error)

func (*Repository) QueryCall

func (r *Repository) QueryCall(query string) (*string, error)

type Results

type Results struct {
	Variables []string
	Results   results
}

Jump to

Keyboard shortcuts

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