cayley

package module
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

README

Cayley

Cayley is an open-source graph inspired by the graph database behind Freebase and Google's Knowledge Graph.

Its goal is to be a part of the developer's toolbox where Linked Data and graph-shaped data (semantic webs, social networks, etc) in general are concerned.

Build Status Container Repository on Quay

Slack Status

Features

  • Community driven
  • Written in Go
    • can be used as a Go library
  • Easy to get running (3 or 4 commands)
  • RESTful API
    • or a REPL if you prefer
  • Built-in query editor and visualizer
  • Multiple query languages:
  • Plays well with multiple backend stores:
  • Modular design; easy to extend with new languages and backends
  • Good test coverage
  • Speed, where possible.

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

Documentation

Index

Constants

This section is empty.

Variables

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

	NewTransaction = graph.NewTransaction
)

Functions

func Quad

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

func Triple

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

Types

type Handle

type Handle = graph.Handle

func NewGraph

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

func NewMemoryGraph

func NewMemoryGraph() (*Handle, error)

type Iterator

type Iterator = graph.Iterator

type Path

type Path = path.Path

type QuadStore

type QuadStore = graph.QuadStore

type QuadWriter

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
kv/btree
Package b implements a B+tree.
Package b implements a B+tree.
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
lru
Package quad defines quad and triple handling.
Package quad defines quad and triple handling.
dot
Package dot provides an encoder for DOT format (graphviz).
Package dot provides an encoder for DOT format (graphviz).
gml
Package gml provides an encoder for Graph Modeling Format
Package gml provides an encoder for Graph Modeling Format
graphml
Package graphml provides an encoder for GraphML format
Package graphml provides an encoder for GraphML format
json
Package json provides an encoder/decoder for JSON quad formats
Package json provides an encoder/decoder for JSON quad formats
jsonld
Package jsonld provides an encoder/decoder for JSON-LD quad format
Package jsonld provides an encoder/decoder for JSON-LD quad format
nquads
Package nquads implements parsing the RDF 1.1 N-Quads like line-based syntax for RDF datasets.
Package nquads implements parsing the RDF 1.1 N-Quads like line-based syntax for RDF datasets.
pquads
Package pquads implements Cayley-specific protobuf-based quads format.
Package pquads implements Cayley-specific protobuf-based quads format.
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 implements an RDF namespace (vocabulary) registry.
Package voc implements an RDF namespace (vocabulary) registry.
core
Package core imports all well-known RDF vocabularies.
Package core imports all well-known RDF vocabularies.
rdf
Package rdf contains constants of the RDF Concepts Vocabulary (RDF)
Package rdf contains constants of the RDF Concepts Vocabulary (RDF)
rdfs
Package rdfs contains constants of the RDF Schema vocabulary (RDFS)
Package rdfs contains constants of the RDF Schema vocabulary (RDFS)
schema
Package schema contains constants of the Schema.org vocabulary.
Package schema contains constants of the Schema.org vocabulary.

Jump to

Keyboard shortcuts

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