1 #ifndef HAVE_SPARQL_CLIENT_H
2 #define HAVE_SPARQL_CLIENT_H 1
6 #include "http_client.hpp"
7 #include "rdf_model.hpp"
8 #include "rdf_query.hpp"
25 long getStatus()
const {
return status; };
27 const std::string& getMessage()
const {
return message; };
42 SPARQLClient(std::string base_url) : base_url(base_url) {};
48 const bool ask(std::string sparqlAsk);
59 const void update(std::string sparqlUpdate);
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in c...
Definition: http_client.cpp:23
Definition: sparql_client.hpp:17
const void update(std::string sparqlUpdate)
Execute a SPARQL 1.1 Update against the Marmotta server.
Definition: sparql_client.cpp:66
A class allowing to run SPARQL requests against a certain endpoint.
Definition: sparql_client.hpp:33
const TupleResult * query(std::string sparqlSelect)
Execute a SPARQL 1.1 tuple query against the Marmotta server.
Definition: sparql_client.cpp:46
const bool ask(std::string sparqlAsk)
Execute a SPARQL 1.1 ask query against the Marmotta server.
Definition: sparql_client.cpp:26
A simple HTTP client.
Definition: http_client.hpp:198
The result of a SPARQL SELECT query.
Definition: rdf_query.hpp:89