Click or drag to resize

StringParserParse Method (IGraph, String, IRdfReader)

Parses a raw RDF String using the given IRdfReader.

Namespace:  VDS.RDF.Parsing
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public static void Parse(
	IGraph g,
	string data,
	IRdfReader reader
)

Parameters

g
Type: VDS.RDFIGraph
Graph to load into.
data
Type: SystemString
Raw RDF String.
reader
Type: VDS.RDFIRdfReader
Parser to use to read the data.
Remarks
Use this when you have a raw RDF string and you know the syntax the RDF is in.
See Also