Re: SDB Installation test problem

2013-08-20 Thread Andy Seaborne
On 20/08/13 03:49, Steven Seida wrote: I am attempting to install SDB per instructions at http://jena.apache.org/documentation/sdb/index.html but I am unable to complete the SDB test of: bin/sdbtest --sdb=sdb.ttl testing/manifest-sdb.ttl I have two issues: 1. the jena-sdb-1.3.6 that I

how to unsubscribe

2013-08-20 Thread Katja Siegemund
Hi, sorry for this question. I somehow cannot figure out how to unsubscribe from the mailinglist. I was looking for the link which is usually below the mails, but didn't find one. Can someone please let me know? Thanks! Katja -- Dipl.-Medieninf. Katja Siegemund Research Assistant

Re: how to unsubscribe

2013-08-20 Thread Andy Seaborne
On 20/08/13 08:29, Katja Siegemund wrote: Hi, sorry for this question. I somehow cannot figure out how to unsubscribe from the mailinglist. I was looking for the link which is usually below the mails, but didn't find one. Can someone please let me know? Thanks! Katja Send email to:

RE: Two tdb instances using same data files

2013-08-20 Thread Shapiro, Alexander
Andy, Thank you for your answer. We have about 10,000,000 triples in the data files. We will work on architecture changes. Meanwhile, if we take the close-reopen way, what is the best way to completely close the model? Thank you, Alex -Original Message- From: Andy Seaborne

Re: Two tdb instances using same data files

2013-08-20 Thread Andy Seaborne
On 20/08/13 12:49, Shapiro, Alexander wrote: Andy, Thank you for your answer. We have about 10,000,000 triples in the data files. We will work on architecture changes. Meanwhile, if we take the close-reopen way, what is the best way to completely close the model?

RE: Two tdb instances using same data files

2013-08-20 Thread Shapiro, Alexander
Unfortunately, we also have an old versions of jena - TDB version is 0.8.9 and jena's version is 2.6.4. So we do not have the StoreConnection class. Do you remember how to close the model right in this old version? Alex -Original Message- From: Andy Seaborne [mailto:a...@apache.org]

Fwd: The Better Looking Output After the SPARQL Query in Java Code

2013-08-20 Thread Darius Miliauskas
Subject: The Better Looking Output After the SPARQL Query in Java Code To: users@jena.apache.org Dear Sir or Madam, I am using the SPARQL query in Java (actually, NetBeans). The query works fine, however, the results are outputted not in the nice form. The example of my code (Java) is the

Re: The Better Looking Output After the SPARQL Query in Java Code

2013-08-20 Thread Darius Miliauskas
Dear All, I already solved the issue using the manipulations with Java code. However, the question how to solve it in a SPARQL query is still open. My solution with Java code is: String result: while (results.hasNext()) { QuerySolution solution = results.next();

Re: The Better Looking Output After the SPARQL Query in Java Code

2013-08-20 Thread Joshua TAYLOR
On Tue, Aug 20, 2013 at 11:01 AM, Darius Miliauskas dariui.miliaus...@gmail.com wrote: Subject: The Better Looking Output After the SPARQL Query in Java Code To: users@jena.apache.org Dear Sir or Madam, I am using the SPARQL query in Java (actually, NetBeans). The query works fine,

Re: The Better Looking Output After the SPARQL Query in Java Code

2013-08-20 Thread Dave Reynolds
On 20/08/13 16:12, Darius Miliauskas wrote: Dear All, I already solved the issue using the manipulations with Java code. However, the question how to solve it in a SPARQL query is still open. You can do things like: BIND(REPLACE(str(?person),'.*[/#]([^/#]+)','$1') as ?label) then display

Re: Two tdb instances using same data files

2013-08-20 Thread Andy Seaborne
On 20/08/13 14:53, Shapiro, Alexander wrote: Unfortunately, we also have an old versions of jena - TDB version is 0.8.9 and jena's version is 2.6.4. So we do not have the StoreConnection class. Do you remember how to close the model right in this old version? January 2011. Err. Something

Re: Fwd: The Better Looking Output After the SPARQL Query in Java Code

2013-08-20 Thread Chris Dollin
On Tuesday, August 20, 2013 06:01:43 PM Darius Miliauskas wrote: The example of my code (Java) is the following: String queryString2 =PREFIX base: http://www.semanticweb.org/darius/ontologies/2013/6/rooms# + PREFIX rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# Aside:

Properties not indexed by jena.textindexer

2013-08-20 Thread Brad Moran
*I am running jena.textindexer from bash on a jena TDB that is similar to:* * * xmlns:mms=http://rdf.cdisc.org/mms#; xmlns:sdtm=http://rdf.cdisc.org/sdtm-1-2/std#; xmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; xmlns:skos=http://www.w3.org/2004/02/skos/core#;

Re: Properties not indexed by jena.textindexer

2013-08-20 Thread Andy Seaborne
Your mails are corrupted - see below. Works for me. I fixed up your data [newlines in bad places] (please - use Turtle!), loaded it with tdbloader (one warning) and ran textindexers. 20:53:07.581 INFO textindexer :: 10 (10 per second) properties indexed Andy On 20/08/13

Re: Properties not indexed by jena.textindexer

2013-08-20 Thread Brad Moran
Ok, the problem was that my TDB was built from RDF/XML I guess. I have a prebuilt TDB that was built from RDF/XML. Just wondering is there a way to run textindexer on a TDB that is not turtle? If not I will just convert to turtle using jena then reload the tdb. On Tue, Aug 20, 2013 at 4:02 PM,

Re: Properties not indexed by jena.textindexer

2013-08-20 Thread Andy Seaborne
On 20/08/13 21:20, Brad Moran wrote: Ok, the problem was that my TDB was built from RDF/XML I guess. I have a prebuilt TDB that was built from RDF/XML. Just wondering is there a way to run textindexer on a TDB that is not turtle? If not I will just convert to turtle using jena then reload the

Obtaining only object's from Model

2013-08-20 Thread Lewis John Mcgibbney
Hi All, I get a results stream from Fuseki as follows SPARQL_Rresult.getModel() for clarity, then I do model.toString() the results stream looks like this ModelCom {mheq:ModelTA_Horizontal_Belt_Conveyor @rdfs:comment The ModelTA_Horizontal_Belt_Conveyor individual is a representation of the

Re: Obtaining only object's from Model

2013-08-20 Thread Joshua TAYLOR
On Tue, Aug 20, 2013 at 6:18 PM, Lewis John Mcgibbney lewis.mcgibb...@gmail.com wrote: Hi All, I get a results stream from Fuseki as follows SPARQL_Rresult.getModel() for clarity, then I do model.toString() the results stream looks like this ModelCom

Re: Obtaining only object's from Model

2013-08-20 Thread Lewis John Mcgibbney
Hi Joshua, Thanks for reply On Tue, Aug 20, 2013 at 6:40 PM, Joshua TAYLOR joshuaaa...@gmail.comwrote: It's sort of surprising to me that you don't seem to care about what subjects those properties and values are attached to, but at any rate, if that's really what you want to do, then