cayley

package module
v0.7.7 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2019 License: Apache-2.0 Imports: 5 Imported by: 176

README

Build Status Container Repository

Cayley is an open-source database for Linked Data. It is inspired by the graph database behind Google's Knowledge Graph (formerly Freebase).

Get it from the Snap Store

Documentation

Features

  • Built-in query editor, visualizer and REPL
  • Multiple query languages:
  • Modular: easy to connect to your favorite programming languages and back-end stores
  • Production ready: well tested and used by various companies for their production workloads
  • Fast: optimized specifically for usage in applications

Performance

Rough performance testing shows that, on 2014 consumer hardware and an average disk, 134m quads in LevelDB is no problem and a multi-hop intersection query -- films starring X and Y -- takes ~150ms.

Community

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StartMorphism = path.StartMorphism
	StartPath     = path.StartPath

	NewTransaction = graph.NewTransaction
)

Functions

func Quad added in v0.5.0

func Quad(subject, predicate, object, label interface{}) quad.Quad

func Triple added in v0.5.0

func Triple(subject, predicate, object interface{}) quad.Quad

Types

type Handle added in v0.5.0

type Handle struct {
	graph.QuadStore
	graph.QuadWriter
}

func NewGraph added in v0.5.0

func NewGraph(name, dbpath string, opts graph.Options) (*Handle, error)

func NewMemoryGraph added in v0.5.0

func NewMemoryGraph() (*Handle, error)

func (*Handle) Close added in v0.5.0

func (h *Handle) Close() error

type Iterator added in v0.5.0

type Iterator = graph.Iterator

type Path added in v0.5.0

type Path = path.Path

type QuadStore added in v0.5.0

type QuadStore = graph.QuadStore

type QuadWriter added in v0.5.0

type QuadWriter = graph.QuadWriter

Directories

Path Synopsis
Package clog provides a logging interface for cayley packages.
Package clog provides a logging interface for cayley packages.
cmd
examples
all
kv
log
memstore
Package b implements a B+tree.
Package b implements a B+tree.
proto
Package proto is a generated protocol buffer package.
Package proto is a generated protocol buffer package.
sql
http
You can use the "packr clean" command to clean up this, and any other packr generated files.
You can use the "packr clean" command to clean up this, and any other packr generated files.
lru
Package quad is deprecated.
Package quad is deprecated.
dot
Package dot is deprecated.
Package dot is deprecated.
gml
Package gml is deprecated.
Package gml is deprecated.
graphml
Package graphml is deprecated.
Package graphml is deprecated.
json
Package json is deprecated.
Package json is deprecated.
jsonld
Package jsonld is deprecated.
Package jsonld is deprecated.
nquads
Package nquads is deprecated.
Package nquads is deprecated.
pquads
Package pquads is deprecated.
Package pquads is deprecated.
Package query defines the graph session interface general to all query languages.
Package query defines the graph session interface general to all query languages.
mql
Package schema contains helpers to map Go objects to quads and vise-versa.
Package schema contains helpers to map Go objects to quads and vise-versa.
server
voc
Package voc is deprecated.
Package voc is deprecated.
core
Package core is deprecated.
Package core is deprecated.
rdf
Package rdf is deprecated.
Package rdf is deprecated.
rdfs
Package rdfs is deprecated.
Package rdfs is deprecated.
schema
Package schema is deprecated.
Package schema is deprecated.

Jump to

Keyboard shortcuts

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