示例#1
0
 private SparqlResponseProperty GetDataFromNode(SparqlResult sparqlResult, string key)
 {
     return(sparqlResult.GetNodeValuesFromSparqlResult(key));
 }
 private dynamic GetEntityPropertyFromSparqlResult(SparqlResult res)
 {
     return(res.GetNodeValuesFromSparqlResult("object").Value);
 }
示例#3
0
 /// <summary>
 /// Extract the string based entitiy property from the SPARQL result
 /// </summary>
 /// <param name="res">The SPARQL result.</param>
 /// <returns>The string based entitiy property.</returns>
 private SparqlResponseProperty GetEntityPropertyFromSparqlResult(SparqlResult res)
 {
     return(res.GetNodeValuesFromSparqlResult("object"));
 }