SemWeb.Query.SparqlEngine.Select C# (CSharp) Method

Select() public method

public Select ( SelectableSource source, TextWriter output ) : void
source SelectableSource
output TextWriter
return void
        public void Select(SelectableSource source, TextWriter output)
        {
            QueryResultSink sink;
            if (MimeType == SparqlXmlQuerySink.MimeType || MimeType == "text/xml")
                sink = new SparqlXmlQuerySink(output);
            else if (MimeType == "text/html")
                sink = new HTMLQuerySink(output);
            else if (MimeType == "text/csv")
                sink = new CSVQuerySink(output);
            else
                throw new InvalidOperationException("MIME type not supported.");
            Select(source, sink);
        }

Same methods

SparqlEngine::Select ( SelectableSource source, QueryResultSink sink ) : void