jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1209550 - /incubator/jena/Jena2/Fuseki/trunk/soh
Date Fri, 02 Dec 2011 15:57:48 GMT
Author: andy
Date: Fri Dec  2 15:57:48 2011
New Revision: 1209550

URL: http://svn.apache.org/viewvc?rev=1209550&view=rev
Log: (empty)

Modified:
    incubator/jena/Jena2/Fuseki/trunk/soh

Modified: incubator/jena/Jena2/Fuseki/trunk/soh
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/Fuseki/trunk/soh?rev=1209550&r1=1209549&r2=1209550&view=diff
==============================================================================
--- incubator/jena/Jena2/Fuseki/trunk/soh (original)
+++ incubator/jena/Jena2/Fuseki/trunk/soh Fri Dec  2 15:57:48 2011
@@ -39,7 +39,7 @@ $mtSparqlResultsTSV = 'application/sparq
 $mtSparqlResultsCSV = 'application/sparql-results+csv'
 $mtSparqlUpdate     = 'application/sparql-update'
 $mtWWWForm          = 'application/x-www-form-urlencoded'
-# $mtSparqlQuery      = "application/sparql-query" ;
+$mtSparqlQuery      = "application/sparql-query" ;
 
 # Global media type table.
 $fileMediaTypes = {}
@@ -400,10 +400,9 @@ def string_or_file(arg)
   open(a, 'rb'){|f| f.read}
 end
 
-## -------- SPARQL query
-
-## By GET
+## -------- SPARQL Query
 
+## Choose method
 def SPARQL_query(service, query, query_file, args2={})
    if ! query_file.nil?
     query = open(query_file, 'rb'){|f| f.read}
@@ -415,6 +414,8 @@ def SPARQL_query(service, query, query_f
   end
 end
 
+## By GET
+
 def SPARQL_query_GET(service, query, args2)
   args = { "query" => query }
   args.merge!(args2)



Mime
View raw message