Public Member Functions | Private Attributes

PD_RDFQuery Class Reference

Execute a SPARQL query returning a model containing the results. More...

#include <pd_RDFQuery.h>

List of all members.

Public Member Functions

 PD_RDFQuery (PD_DocumentRDFHandle rdf, PD_RDFModelHandle m=PD_RDFModelHandle())
 Perpare to execute a SPARQL query on the submodel 'm' of the whole document RDF 'rdf'.
 ~PD_RDFQuery ()
PD_ResultBindings_t executeQuery (const std::string &sparql)

Private Attributes

PD_DocumentRDFHandle m_rdf
PD_RDFModelHandle m_model

Detailed Description

Execute a SPARQL query returning a model containing the results.


Constructor & Destructor Documentation

PD_RDFQuery::PD_RDFQuery ( PD_DocumentRDFHandle  rdf,
PD_RDFModelHandle  m = PD_RDFModelHandle() 
)

Perpare to execute a SPARQL query on the submodel 'm' of the whole document RDF 'rdf'.

If you want to execute the query against all the RDF for a document omit the submodel PD_RDFModelHandle parameter 'm'.

References m_model, and m_rdf.

PD_RDFQuery::~PD_RDFQuery (  ) 

Member Function Documentation

PD_ResultBindings_t PD_RDFQuery::executeQuery ( const std::string &  sparql  ) 

Member Data Documentation

Referenced by executeQuery(), and PD_RDFQuery().

Referenced by PD_RDFQuery().


The documentation for this class was generated from the following files: