Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close
PACKAGE

package gorasqal
import "bitbucket.org/ww/gorasqal"

Rasqal bindings for Go. Written by William Waites in 2011.

SPARQL and related RDF query language bindings and utilities.

These are minimal and reflect only the parts of rasqal that I
need at the moment. Contributions to make it more complete are
more than welcome.


FUNCTIONS

func GoRasqal_log_handler(user_data unsafe.Pointer, messagep unsafe.Pointer)
export GoRasqal_log_handler

func QueryPrint(query string)


TYPES

type Query struct {
    // contains unexported fields
}

func NewQuery(w *World) *Query

func (q *Query) Free()

func (q *Query) Prepare(query string) (err os.Error)

func (q *Query) Print()

type Service struct {
    // contains unexported fields
}
The rasqal service enables queries against remote SPARQL endpoints.
It is a one-off construct, used to execute a single query.

func NewService(world *World, endpoint string, query string) *Service

func (s *Service) Execute() (err os.Error)
Perform the operation as a query and return a set of results. This is usually
used for SPARUL INSERT/DELETE queries.

func (s *Service) Free()

func (s *Service) Query() (results chan map[string]goraptor.Term, err os.Error)
Perform the operation as a query and return a set of results.

func (s *Service) SetFormat(format string)

func (s *Service) SetProxy(proxy string)

func (s *Service) SetUserAgent(user_agent string)

type World struct {
    // contains unexported fields
}

func NewWorld() (w *World)

func (w *World) Free()


SUBDIRECTORIES

	.hg

Recent activity

website_scraping

website_scraping began watching ww/gorasqal

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.