Hi Alexander
You can either use the SparqlRemoteEndpoint
(VDS.RDF.Query.SparqlRemoteEndpoint) class which provides specific methods
for making SELECT/ASK and CONSTRUCT/DESCRIBE queries and can connect to any
SPARQL endpoint with the ability to specify the default & named graph URIs
you want to use.
Or you can use the SparqlConnector (VDS.RDF.Storage.SparqlConnector) which
has the same basic interface (IGenericIOManager) as the VirtuosoManager and
gives you read-only storage access to an endpoint. The disadvantage of
this class is that it isn't as easy to specify default/named graph URIs if
you need to (the advantage being that it implements the IGenericIOManager
interface)
Take a look at
http://dotnetrdf.org/content.asp?pageID=Querying%20with%20SPARQL for
details on using the SparqlRemoteEndpoint class
If you have any further questions let me know
Rob Vesse
----------------------------------------
From: "Alexander Sidorov" <ale...@gm...>
Sent: Tuesday, March 09, 2010 6:52 PM
To: dot...@li...
Subject: [dotNetRDF-develop] Access general SPARQL-endpoint
Hello!
I need to access Virtuoso but not their ADO.NET provider (so
VirtuosoManager doesn't work for me) but through SPARQL protocol
(lod.openlinksw.com/sparql). What classes should I use?
Regards,
Alexander
|