sesame

Sesame 2.8.6 repository not persists

孤街醉人 提交于 2019-12-08 04:52:57
问题 I have deployed Sesame 2.8.6 server and workbench on Wildfly-8.2.0.Final. I created a new In Memory repository like this: I clicked "Create" and the repository was created: If I restart Wildfly-8.2.0.Final the repository that I created disappears. It doesn't persist. Am I missing something? I also tried versions 2.8.5 and 2.8.4 and it was the same result: the repository did not persist. When I tried version 2.8.3 of sesame the repository persisted. Logs from [ADUNA_DATA]/OpenRDF Sesame/logs

Single quad + most basic SPARQL query = 1 result in Jena, 2 results in Sesame - who is right?

≡放荡痞女 提交于 2019-12-07 05:30:27
问题 Add just this one quad to an empty store: <http://x.com/s> <http://x.com/p> 2 <http://x.com/g> . Then execute this SPARQL query (taken from per Bob DuCharme's book 'Learning SPARQL', so this must be standard SPARQL for retrieving all quads across the dataset, regardless of implementation, right!?): SELECT ?g ?s ?p ?o WHERE { { ?s ?p ?o } UNION { GRAPH ?g { ?s ?p ?o } } } But Jena and Sesame reply with different answers!!? Here's what I see: Jena Fuseki console on Tomcat 6.0.37 (version 2.10.0

Sparql - delete queries stop working after update

荒凉一梦 提交于 2019-12-06 15:33:26
I've created an application, which works with openrdf sesame and owlim module. Recently, I needed to update licence key to owlim (I received a key for the newest owlim version), so I was forced to update sesame as well. Application was build with sesame 2.6.0 and owlim 4.3, now updated to sesame 2.6.8 and owlim 5.2 There are issues with delete sparql queries, which works in older version, so I got a hunch, that update is the problem. Here is one such query: PREFIX oporg: <http://sesame.company.org/OPropertiesOrg#> WITH <users:> DELETE { ?userID oporg:sessionID ?sessionID } INSERT { ?userID

Single quad + most basic SPARQL query = 1 result in Jena, 2 results in Sesame - who is right?

人走茶凉 提交于 2019-12-05 11:16:01
Add just this one quad to an empty store: <http://x.com/s> <http://x.com/p> 2 <http://x.com/g> . Then execute this SPARQL query (taken from per Bob DuCharme's book 'Learning SPARQL', so this must be standard SPARQL for retrieving all quads across the dataset, regardless of implementation, right!?): SELECT ?g ?s ?p ?o WHERE { { ?s ?p ?o } UNION { GRAPH ?g { ?s ?p ?o } } } But Jena and Sesame reply with different answers!!? Here's what I see: Jena Fuseki console on Tomcat 6.0.37 (version 2.10.0 - out-of-the-box, no configuration changes!) - (the correct answer as I understand things): ----------

Copy a Sesame repository into a new one

谁说胖子不能爱 提交于 2019-12-02 06:23:10
I'd like to copy all the data from an existing Sesame repository into a new one. I need the migration so that I use OWL-inferencing on my triplestore which is not possible using OWLIM in an In Memory repository (the type of my existing repository). What is the most efficient way to copy all triples from a repository into a new one? UPDATE 1: I'm curious to understand why using SPARQL INSERT cannot be a valid approach. I tried this code under the SPARQL Update section of a new repository: PREFIX : <http://dbpedia.org/resource/> INSERT{?s ?p ?o} WHERE { SERVICE <http://my.ip.ad.here:8080/openrdf

Compare models for identity, but with variables? Construct with minus?

情到浓时终转凉″ 提交于 2019-12-02 03:30:49
问题 My team is implementing a variation of Ceusters's Referent Tracking. In our implementation, the original URI for an entity can be changed (to something containing a UUID), although a link to the original URI is always kept. For example: :Joey rdf:type :person . :New_York_City rdf:type :locality . :Joey :hometown :New_York_City . might become: :Joey :replacedWith :ABC123 . :ABC123 rdf:type :person . :New_York_City :replacedWith :FFF555 . :FFF555 rdf:type :locality . :ABC123 :hometown :FFF555 .

Compare models for identity, but with variables? Construct with minus?

旧街凉风 提交于 2019-12-02 02:01:20
My team is implementing a variation of Ceusters's Referent Tracking . In our implementation, the original URI for an entity can be changed (to something containing a UUID), although a link to the original URI is always kept. For example: :Joey rdf:type :person . :New_York_City rdf:type :locality . :Joey :hometown :New_York_City . might become: :Joey :replacedWith :ABC123 . :ABC123 rdf:type :person . :New_York_City :replacedWith :FFF555 . :FFF555 rdf:type :locality . :ABC123 :hometown :FFF555 . I am writing some Scala integration tests to see if our software does the referent tracking correctly

OpenRDF Sesame - 404 error

浪尽此生 提交于 2019-12-01 18:47:07
问题 I have OpenRDF Sesame in my webapps folder under my Apache Tomcat installation. I can access the /openrdf-workbench webapp, but /openrdf-sesame gives me a 404 error. Literally all it says is: HTTP Status 404 - type Status report message description The requested resource () is not available. Apache Tomcat/7.0.26 回答1: This is a known issue (SES-845) in OpenRDF Sesame in combination with Tomcat 7. The Sesame server runs normally, but there is a problem with the redirect handler in the servlet

RDF list subjects with their objects in a single line

偶尔善良 提交于 2019-11-29 15:21:50
I have an RDF file and I need to extract some information from it and write it to a file. I understood how it basically works, but I'm stuck with this: String queryString = "select ?person ?children where { ?person ?hasChildren ?children}"; TupleQuery tupleQuery = conn.prepareTupleQuery(QueryLanguage.SPARQL, queryString); TupleQueryResult result = tupleQuery.evaluate(); while (result.hasNext()) { BindingSet bindingSet = result.next(); Value p1 = bindingSet.getValue("person"); Value p2 = bindingSet.getValue("child"); println(p1 + " has children " + p2 +""); } result.close(); The output I get is

How do I find where Sesame stores repositories?

試著忘記壹切 提交于 2019-11-29 12:59:17
I'm using booth Sesame .wars in Tomcat 7 on OS X 10.8, but now it doesn't work any more. I set up a new Tomcat with two new Sesame .war but now it uses the old repository. Where are these stored? (Couldn't add a new Repo or delete the old one). Sesame Server by default stores its configuration data and database files in %APPDATA%\Aduna on Windows, $HOME/.aduna on Linux, and $HOME/Library/Application Support/Aduna on Mac OS X. If you want a completely new install, simply delete this directory. See the Sesame manual for more info. Update you can check where your Sesame server installation stores