Safe Haskell | None |
---|---|
Language | Haskell98 |
Synopsis
- type EndPoint = String
- data BindingValue
- selectQuery :: EndPoint -> Query SelectQuery -> IO (Maybe [[BindingValue]])
- constructQuery :: Rdf a => EndPoint -> Query ConstructQuery -> IO (RDF a)
- askQuery :: EndPoint -> Query AskQuery -> IO Bool
- updateQuery :: EndPoint -> Query UpdateQuery -> IO Bool
- describeQuery :: Rdf a => EndPoint -> Query DescribeQuery -> IO (RDF a)
- selectQueryRaw :: EndPoint -> String -> IO (Maybe [[BindingValue]])
- constructQueryRaw :: Rdf a => EndPoint -> String -> IO (RDF a)
- askQueryRaw :: EndPoint -> String -> IO Bool
- updateQueryRaw :: EndPoint -> String -> IO Bool
- describeQueryRaw :: Rdf a => EndPoint -> String -> IO (RDF a)
Documentation
data BindingValue Source #
Local representations of incoming XML results.
Instances
Eq BindingValue Source # | |
Defined in Database.HSparql.Connection (==) :: BindingValue -> BindingValue -> Bool # (/=) :: BindingValue -> BindingValue -> Bool # | |
Show BindingValue Source # | |
Defined in Database.HSparql.Connection showsPrec :: Int -> BindingValue -> ShowS # show :: BindingValue -> String # showList :: [BindingValue] -> ShowS # |
submit queries using HSparql DSL
selectQuery :: EndPoint -> Query SelectQuery -> IO (Maybe [[BindingValue]]) Source #
constructQuery :: Rdf a => EndPoint -> Query ConstructQuery -> IO (RDF a) Source #
Connect to remote EndPoint
and construct TriplesGraph
from given
'ConstructQueryRaw action. Provisional implementation.
updateQuery :: EndPoint -> Query UpdateQuery -> IO Bool Source #
describeQuery :: Rdf a => EndPoint -> Query DescribeQuery -> IO (RDF a) Source #
Connect to remote EndPoint
and construct TriplesGraph
from given
'ConstructQueryRaw action. Provisional implementation.
submit queries using raw SPARQL strings
selectQueryRaw :: EndPoint -> String -> IO (Maybe [[BindingValue]]) Source #