SemanticSearchImplementation
Public Member Functions | List of all members
SemanticSearchImplementation.IRdfConnector Interface Reference

Provides all necessary functions for querying and manipulating the RDF-based knowledge graph. More...

Inheritance diagram for SemanticSearchImplementation.IRdfConnector:
SemanticSearchImplementation.VirtuosoRdfConnector

Public Member Functions

Graph GetGraph (string graphName)
 Returns a metadata graph. More...
 
IGraph QueryWithResultGraph (SparqlParameterizedString query)
 Queries the knowledge graph with a parametrized string and a Graph as result. More...
 
SparqlResultSet QueryWithResultSet (string query, bool withInference=true)
 Queries the knowledge graph with a query and possibly with stored inference rules. More...
 
SparqlResultSet QueryWithResultSet (SparqlParameterizedString query)
 Queries the knowledge graph with a parametrized string and a SparqlResultSet as result. More...
 
void Update (SparqlParameterizedString query)
 Updates the knoeldge graph with a parametrized string. More...
 

Detailed Description

Provides all necessary functions for querying and manipulating the RDF-based knowledge graph.

Member Function Documentation

◆ GetGraph()

Graph SemanticSearchImplementation.IRdfConnector.GetGraph ( string  graphName)

Returns a metadata graph.

Parameters
graphNameID of the metadata graph.
Returns
A graph.

Implemented in SemanticSearchImplementation.VirtuosoRdfConnector.

◆ QueryWithResultGraph()

IGraph SemanticSearchImplementation.IRdfConnector.QueryWithResultGraph ( SparqlParameterizedString  query)

Queries the knowledge graph with a parametrized string and a Graph as result.

Parameters
queryParametrized SPARQL query which returns a Graph.
Returns
A Graph.

Implemented in SemanticSearchImplementation.VirtuosoRdfConnector.

◆ QueryWithResultSet() [1/2]

SparqlResultSet SemanticSearchImplementation.IRdfConnector.QueryWithResultSet ( SparqlParameterizedString  query)

Queries the knowledge graph with a parametrized string and a SparqlResultSet as result.

Parameters
queryParametrized SPARQL query which returns a SparqlResultSet.
Returns
A SparqlResultSet.

Implemented in SemanticSearchImplementation.VirtuosoRdfConnector.

◆ QueryWithResultSet() [2/2]

SparqlResultSet SemanticSearchImplementation.IRdfConnector.QueryWithResultSet ( string  query,
bool  withInference = true 
)

Queries the knowledge graph with a query and possibly with stored inference rules.

Parameters
queryString representation of a SPARQL query.
withInferenceFlag which indicates the use of the inference rules.
Returns
A SparqlResultSet.

Implemented in SemanticSearchImplementation.VirtuosoRdfConnector.

◆ Update()

void SemanticSearchImplementation.IRdfConnector.Update ( SparqlParameterizedString  query)

Updates the knoeldge graph with a parametrized string.

Parameters
queryParametrized SPARQL query.

Implemented in SemanticSearchImplementation.VirtuosoRdfConnector.


The documentation for this interface was generated from the following file: