| Safe Haskell | None |
|---|
Database.HSparql.Connection
- type EndPoint = String
- data BindingValue
- selectQuery :: EndPoint -> Query SelectQuery -> IO (Maybe [[BindingValue]])
- constructQuery :: forall rdf. RDF rdf => EndPoint -> Query ConstructQuery -> IO rdf
- askQuery :: EndPoint -> Query AskQuery -> IO Bool
- describeQuery :: forall rdf. RDF rdf => EndPoint -> Query DescribeQuery -> IO rdf
Documentation
selectQuery :: EndPoint -> Query SelectQuery -> IO (Maybe [[BindingValue]])Source
Connect to remote EndPoint and find all possible bindings for the
Variables in the SelectQuery action.
constructQuery :: forall rdf. RDF rdf => EndPoint -> Query ConstructQuery -> IO rdfSource
Connect to remote EndPoint and construct TriplesGraph from given
ConstructQuery action. Provisional implementation.
askQuery :: EndPoint -> Query AskQuery -> IO BoolSource
Connect to remote EndPoint and find all possible bindings for the
Variables in the SelectQuery action.
describeQuery :: forall rdf. RDF rdf => EndPoint -> Query DescribeQuery -> IO rdfSource
Connect to remote EndPoint and construct TriplesGraph from given
ConstructQuery action. Provisional implementation.