C# Class Dimi.InstantRDF.RDF.Helper

RDF helper methods
Datei anzeigen Open project: coding3d/InstantRDF

Public Methods

Method Description
AddTripleLiteral ( VDS.RDF.Graph graph, string subject, string predicate, string obj, string datatype ) : void

Adds the literal triple to a graph.

AddTripleResource ( VDS.RDF.Graph graph, string subject, string predicate, string obj ) : void

Adds a resource triple to a graph.

Method Details

AddTripleLiteral() public static method

Adds the literal triple to a graph.
public static AddTripleLiteral ( VDS.RDF.Graph graph, string subject, string predicate, string obj, string datatype ) : void
graph VDS.RDF.Graph The graph.
subject string The subject.
predicate string The predicate.
obj string The object (resource).
datatype string
return void

AddTripleResource() public static method

Adds a resource triple to a graph.
public static AddTripleResource ( VDS.RDF.Graph graph, string subject, string predicate, string obj ) : void
graph VDS.RDF.Graph The graph.
subject string The subject.
predicate string The predicate.
obj string The object (resource).
return void