Skip to content

Commit

Permalink
Inconsequential tweak.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshsh committed Nov 4, 2011
1 parent 2ac94cc commit e2b896d
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -39,14 +39,14 @@ private static Sail createSail(final String queryEndpointUrl,
}

public static void main(final String[] args) throws Exception {
Repository r = new SPARQLRepository("http://flux.franz.com/catalogs/demos/repositories/iswc2010");
Repository r = new SPARQLRepository("http://dbpedia.org/sparql");
Sail s = new RepositorySail(r);
s.initialize();
try {
SailConnection sc = s.getConnection();
try {
CloseableIteration<? extends Statement, SailException> iter
= sc.getStatements(new URIImpl("http://twitlogic.fortytwo.net/person/twitter/20353953"), null, null, false);
= sc.getStatements(new URIImpl("http://dbpedia.org/resource/Beijing"), null, null, false);
try {
while (iter.hasNext()) {
System.out.println("statement: " + iter.next());
Expand Down

0 comments on commit e2b896d

Please sign in to comment.