Created
October 30, 2013 10:19
-
-
Save rvesse/7230219 to your computer and use it in GitHub Desktop.
Issuing a SPARQL Query to Stardog with dotNetRDF
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Assume we already have a StardogConnector in the variable Stardog | |
SparqlResultSet results = stardog.Query(@" | |
SELECT DISTINCT ?type WHERE { [] a ?type } LIMIT 10 | |
") as SparqlResultSet; | |
// Now work with the SPARQL Results as desired... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment