C# Class mergedServices.QueryHandler

Afficher le fichier Open project: sherifkandeel/weet-it_WCF

Méthodes publiques

Свойство Type Description
manager VDS.RDF.Storage.VirtuosoManager

Méthodes publiques

Méthode Description
ExecuteQueryWithString ( string input ) : SparqlResultSet

overload of Execute query

closeConnection ( ) : void

closes connection to the server

convertToDbpedia ( string input ) : string

converts the localhost to dbpedia, not recommended

convertToLocalhost ( string input ) : string

converts any domain name to the localhost:8890

getGraphFromURIWithlocalHost ( string input ) : VDS.RDF.Graph

gets the graph from the input Uri(changes the uri to localhost)

getLabelIfAny ( string node ) : string

Gets label of given node.

startConnection ( ) : void

starts connection with the server

Method Details

ExecuteQueryWithString() public static méthode

overload of Execute query
public static ExecuteQueryWithString ( string input ) : SparqlResultSet
input string the query text as string
Résultat SparqlResultSet

closeConnection() public static méthode

closes connection to the server
public static closeConnection ( ) : void
Résultat void

convertToDbpedia() public static méthode

converts the localhost to dbpedia, not recommended
public static convertToDbpedia ( string input ) : string
input string the localhost input
Résultat string

convertToLocalhost() public static méthode

converts any domain name to the localhost:8890
public static convertToLocalhost ( string input ) : string
input string url with any domain name
Résultat string

getGraphFromURIWithlocalHost() public static méthode

gets the graph from the input Uri(changes the uri to localhost)
public static getGraphFromURIWithlocalHost ( string input ) : VDS.RDF.Graph
input string the input string uri
Résultat VDS.RDF.Graph

getLabelIfAny() public static méthode

Gets label of given node.
public static getLabelIfAny ( string node ) : string
node string Node
Résultat string

startConnection() public static méthode

starts connection with the server
public static startConnection ( ) : void
Résultat void

Property Details

manager public_oe static_oe property

public static VirtuosoManager,VDS.RDF.Storage manager
Résultat VDS.RDF.Storage.VirtuosoManager