예제 #1
0
        /// <summary>
        /// Parse the RDF using supplied stream and base URI
        /// </summary>
        public void Parse(Stream stream, string baseUri)
        {
            RdfXmlParser parser = new RdfXmlParser();

            ReadGraph(parser.ParseRdf(stream, baseUri));
        }
예제 #2
0
        /// <summary>
        /// Parse the RDF using supplied XmlReader and base URI
        /// </summary>
        public void Parse(XmlReader reader, string baseUri)
        {
            RdfXmlParser parser = new RdfXmlParser();

            ReadGraph(parser.ParseRdf(reader, baseUri));
        }