Show / Hide Table of Contents

Class TripleStoreExtensions

Provides useful Extension Methods for working with Triple Stores.

Inheritance
object
TripleStoreExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public static class TripleStoreExtensions

Methods

| Edit this page View Source

LoadFromEmbeddedResource(ITripleStore, string)

Loads an RDF dataset from an Embedded Resource into a Triple Store.

Declaration
public static void LoadFromEmbeddedResource(this ITripleStore store, string resource)
Parameters
Type Name Description
ITripleStore store

Triple Store to load into.

string resource

Assembly Qualified Name of the Embedded Resource to load from.

Remarks

This is just a shortcut to using the static Load() methods from the EmbeddedResourceLoader class located in the Parsing namespace.

| Edit this page View Source

LoadFromEmbeddedResource(ITripleStore, string, IStoreReader)

Loads an RDF dataset from an Embedded Resource into a Triple Store.

Declaration
public static void LoadFromEmbeddedResource(this ITripleStore store, string resource, IStoreReader parser)
Parameters
Type Name Description
ITripleStore store

Triple Store to load into.

string resource

Assembly Qualified Name of the Embedded Resource to load from.

IStoreReader parser

Parser to use.

Remarks

This is just a shortcut to using the static Load() methods from the EmbeddedResourceLoader class located in the Parsing namespace.

| Edit this page View Source

LoadFromFile(ITripleStore, string)

Loads an RDF dataset from a file into a Triple Store.

Declaration
public static void LoadFromFile(this ITripleStore store, string file)
Parameters
Type Name Description
ITripleStore store

Triple Store to load into.

string file

File to load from.

Remarks

This is just a shortcut to using the static Load() methods from the FileLoader class located in the Parsing namespace.

| Edit this page View Source

LoadFromFile(ITripleStore, string, IStoreReader)

Loads an RDF dataset from a file into a Triple Store.

Declaration
public static void LoadFromFile(this ITripleStore store, string file, IStoreReader parser)
Parameters
Type Name Description
ITripleStore store

Triple Store to load into.

string file

File to load from.

IStoreReader parser

Parser to use.

Remarks

This is just a shortcut to using the static Load() methods from the FileLoader class located in the Parsing namespace.

| Edit this page View Source

LoadFromString(ITripleStore, string)

Loads an RDF dataset from a String into a Triple Store.

Declaration
public static void LoadFromString(this ITripleStore store, string data)
Parameters
Type Name Description
ITripleStore store

Triple Store to load into.

string data

Data to load.

Remarks

This is just a shortcut to using the static ParseDataset() methods from the StringParser class located in the Parsing namespace.

| Edit this page View Source

LoadFromString(ITripleStore, string, IStoreReader)

Loads an RDF dataset from a String into a Triple Store.

Declaration
public static void LoadFromString(this ITripleStore store, string data, IStoreReader parser)
Parameters
Type Name Description
ITripleStore store

Triple Store to load into.

string data

Data to load.

IStoreReader parser

Parser to use.

Remarks

This is just a shortcut to using the static ParseDataset() methods from the StringParser class located in the Parsing namespace.

| Edit this page View Source

LoadFromUri(ITripleStore, Uri)

Loads an RDF dataset from a URI into a Triple Store.

Declaration
public static void LoadFromUri(this ITripleStore store, Uri u)
Parameters
Type Name Description
ITripleStore store

Triple Store to load into.

Uri u

URI to load from.

Remarks

This is just a shortcut to using the static LoadDataset() methods from the UriLoader class located in the Parsing namespace.

| Edit this page View Source

LoadFromUri(ITripleStore, Uri, IStoreReader)

Loads an RDF dataset from a URI into a Triple Store.

Declaration
public static void LoadFromUri(this ITripleStore store, Uri u, IStoreReader parser)
Parameters
Type Name Description
ITripleStore store

Triple Store to load into.

Uri u

URI to load from.

IStoreReader parser

Parser to use.

Remarks

This is just a shortcut to using the static LoadDataset() methods from the UriLoader class located in the Parsing namespace.

| Edit this page View Source

LoadFromUri(ITripleStore, Uri, IStoreReader, Loader)

Loads an RDF dataset from a URI into a Triple Store.

Declaration
public static void LoadFromUri(this ITripleStore store, Uri u, IStoreReader parser, Loader loader)
Parameters
Type Name Description
ITripleStore store

Triple Store to load into.

Uri u

URI to load from.

IStoreReader parser

Parser to use.

Loader loader

Loader to use.

Remarks

This is just a shortcut to using the static LoadDataset() methods from the UriLoader class located in the Parsing namespace.

| Edit this page View Source

SaveToFile(ITripleStore, string)

Saves a Triple Store to a file.

Declaration
public static void SaveToFile(this ITripleStore store, string file)
Parameters
Type Name Description
ITripleStore store

Triple Store to save.

string file

File to save to.

| Edit this page View Source

SaveToFile(ITripleStore, string, IStoreWriter)

Saves a Triple Store to a file.

Declaration
public static void SaveToFile(this ITripleStore store, string file, IStoreWriter writer)
Parameters
Type Name Description
ITripleStore store

Triple Store to save.

string file

File to save to.

IStoreWriter writer

Writer to use.

  • Edit this page
  • View Source
In this article
  • Methods
    • LoadFromEmbeddedResource(ITripleStore, string)
    • LoadFromEmbeddedResource(ITripleStore, string, IStoreReader)
    • LoadFromFile(ITripleStore, string)
    • LoadFromFile(ITripleStore, string, IStoreReader)
    • LoadFromString(ITripleStore, string)
    • LoadFromString(ITripleStore, string, IStoreReader)
    • LoadFromUri(ITripleStore, Uri)
    • LoadFromUri(ITripleStore, Uri, IStoreReader)
    • LoadFromUri(ITripleStore, Uri, IStoreReader, Loader)
    • SaveToFile(ITripleStore, string)
    • SaveToFile(ITripleStore, string, IStoreWriter)
Back to top Generated by DocFX