Hi Hasan, everyone, I'm working on a module [1] intended to plug in to the Fusepool extension of Stanbol. It's a feed reader back by an RDF store, the store being addressed entirely through SPARQL (over HTTP).
I developed the app outside of OSGi and am now in the process of integrating. I have been using a Fuseki store/endpoint but need to move this over to using Stanbol/Clerezza's SPARQL facilities. So what I'd like to know is how to set up SPARQL endpoints. The config I've got for Fuseki is below, essentially I need a dataset in a TDB-like store that supports named graphs, accessed via SPARQL query (GET) & update (POST). There's an example of the kind of update I'm doing at [2] - it's actually a freemarker template with simple placeholder substitution, but the SPARQL is pretty clear. Right now with a running Fusepool/Stanbol, pointing a browser at http://localhost:8080/query?sparql= gives the kind of SPARQL parsing error you'd expect, but giving it a genuine query leads to a HTTP 500. Any help greatly appreciated. Cheers, Danny. ## --------------------------------------------------------------- ## Updatable in-memory dataset. <#feedreader> rdf:type fuseki:Service ; # URI of the dataset -- http://host:port/feedreader fuseki:name "feedreader" ; # SPARQL query services e.g. http://host:port/feedreader/sparql?query=... fuseki:serviceQuery "sparql" ; fuseki:serviceQuery "query" ; # SPARQL Update service -- http://host:port/feedreader/update?request=... fuseki:serviceUpdate "update" ; # SPARQL query service -- /feedreader/update # Upload service -- http://host:port/feedreader/upload?graph=default or ?graph=URI or ?default # followed by a multipart body, each part being RDF syntax. # Syntax determined by the file name extension. fuseki:serviceUpload "upload" ; # Non-SPARQL upload service # SPARQL Graph store protocol (read and write) # GET, PUT, POST DELETE to http://host:port/feedreader/data?graph= or ?default= fuseki:serviceReadWriteGraphStore "data" ; # A separate read-only graph store endpoint: fuseki:serviceReadGraphStore "get" ; # Graph store protocol (read only) -- /feedreader/get fuseki:dataset <#emptyDataset> ; . ## In-memory, initially empty. <#emptyDataset> rdf:type ja:RDFDataset . ## ------------------------------------------------------------------ [1] https://github.com/danja/NewsMonitor [2] https://github.com/danja/NewsMonitor/blob/master/src/main/resources/templates/html/it/danja/newsmonitor/resource/update-links.ftl
