Beispiel #1
0
 /// <summary>
 /// Converts a Sesame URI to a URI
 /// </summary>
 /// <param name="uri">URI</param>
 /// <returns></returns>
 internal static Uri FromSesameUri(dotSesame.URI uri)
 {
     return new Uri(uri.stringValue());
 }
Beispiel #2
0
 /// <summary>
 /// Converts a Sesame URI to a dotNetRDF Node
 /// </summary>
 /// <param name="uri">URI</param>
 /// <param name="mapping">Blank Node Mapping</param>
 /// <returns></returns>
 internal static INode FromSesameUri(dotSesame.URI uri, SesameMapping mapping)
 {
     return mapping.Graph.CreateUriNode(new Uri(uri.stringValue()));
 }