C# Class mergedServices.ResSetToJSON

Afficher le fichier Open project: sherifkandeel/weet-it_WCF Class Usage Examples

Méthodes publiques

Méthode Description
ToListOfJsonObj ( List b ) : List

gets the list of the json objects to be drawn for each query

namer ( string URI ) : string

renames the string;

Private Methods

Méthode Description
ToJsonObj ( List b ) : string
innerResultToURIs ( List inner ) : List>

get the value of each variable

reArrangeRelationVariables ( List query ) : List

This function sorts the results and the variables names to be different from each side Egypt->Type->Country<-Type<-Syria The first Type should be drawn separately from the second one

toJSONEdge ( List query ) : string

get the nodes of each query

toJSONNode ( List query ) : string

get all the results of each variable

valuesOfResults ( SparqlResult sq ) : List

we get the values of each result from here

Method Details

ToListOfJsonObj() public static méthode

gets the list of the json objects to be drawn for each query
public static ToListOfJsonObj ( List b ) : List
b List the result list of each query
Résultat List

namer() public static méthode

renames the string;
public static namer ( string URI ) : string
URI string
Résultat string