Strabon

changeset 1165:8f33dfbb8c50

added an important comment for sparql endpoint client
author Kallirroi Dogani <kallirroi@di.uoa.gr>
date Fri May 10 15:11:53 2013 +0300 (2013-05-10)
parents 42caaa72ddf8
children 8f35157e8fc2
files endpoint-client/src/main/java/eu/earthobservatory/org/StrabonEndpoint/client/SPARQLEndpoint.java
line diff
     1.1 --- a/endpoint-client/src/main/java/eu/earthobservatory/org/StrabonEndpoint/client/SPARQLEndpoint.java	Fri May 10 14:40:32 2013 +0300
     1.2 +++ b/endpoint-client/src/main/java/eu/earthobservatory/org/StrabonEndpoint/client/SPARQLEndpoint.java	Fri May 10 15:11:53 2013 +0300
     1.3 @@ -161,6 +161,15 @@
     1.4  	 * @return <code>true</code> if store was successful, <code>false</code> otherwise
     1.5  	 */
     1.6  
     1.7 +
     1.8 +	/*
     1.9 +	 * Comment: in order to make queries to strabon endpoint we must create a SPARQLEndpoint
    1.10 +	 * with endpointName ".../Query". To store data to strabon endpoint the endpointName of
    1.11 +	 * SPARQLEndpoint must be something like ".../Store". This means that the same object of
    1.12 +	 * SPARQLEndpoint cannot execute store and query operations for strabon endpoints.
    1.13 +	 * This is wrong and must be fixed. Also, the main idea is that the SPARQLEndpoint client 
    1.14 +	 * should be a general endpoint client that supports strabon, virtuoso and parliament endpoints.
    1.15 +	 */
    1.16  	public boolean store(URL data, RDFFormat format, URL namedGraph) throws IOException{
    1.17  		
    1.18  		assert(format != null);