hsparql-0.1.1: A SPARQL query generator and DSL, and a client to query a SPARQL server.

Database.HSparql.Connection

Synopsis

Documentation

type EndPoint = StringSource

URI of the SPARQL endpoint.

data BindingValue Source

Local representations of incoming XML results.

Constructors

URI String

Absolute reference to remote resource.

Literal String

Simple literal string.

TypedLiteral String String

Literal element with type resource

LangLiteral String String

Literal element with language resource

Unbound

Unbound result value

query :: EndPoint -> Query [Variable] -> IO (Maybe [[BindingValue]])Source

Connect to remote EndPoint and find all possible bindings for the Variables in the Query action.