Strabon

changeset 1389:5fe556c2d923

changed the URL for the DBpedia endpoint in the corresponding test
author Babis Nikolaou <charnik@di.uoa.gr>
date Wed Sep 17 18:33:09 2014 +0300 (2014-09-17)
parents 3368376972f5
children 903d19424c75
files endpoint-client/src/test/java/eu/earthobservatory/org/StrabonEndpoint/client/TestSPARQLEndpointWithVirtuoso.java
line diff
     1.1 --- a/endpoint-client/src/test/java/eu/earthobservatory/org/StrabonEndpoint/client/TestSPARQLEndpointWithVirtuoso.java	Wed Sep 17 18:20:09 2014 +0300
     1.2 +++ b/endpoint-client/src/test/java/eu/earthobservatory/org/StrabonEndpoint/client/TestSPARQLEndpointWithVirtuoso.java	Wed Sep 17 18:33:09 2014 +0300
     1.3 @@ -34,7 +34,8 @@
     1.4  	@Before
     1.5  	public void init() {
     1.6  		// initialize endpoint
     1.7 -		endpoint = new SPARQLEndpoint("dbpedia.org", 80, "sparql");
     1.8 +		//endpoint = new SPARQLEndpoint("dbpedia.org", 80, "sparql");
     1.9 +		endpoint = new SPARQLEndpoint("lod.openlinksw.com", 80, "sparql");
    1.10  		
    1.11  		// set query
    1.12  		query = "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> \n" +
    1.13 @@ -60,8 +61,6 @@
    1.14  			try {
    1.15  				EndpointResult response = endpoint.query(query, stSPARQLQueryResultFormat.TSV);
    1.16  				
    1.17 -			//	System.out.println(response.getResponse());
    1.18 -				
    1.19  				if (response.getStatusCode() != 200) {
    1.20  					System.err.println("Status code ("+response.getStatusCode()+"):" + response.getStatusText());
    1.21