SDB Installation test problem

2013-08-19 Thread Steven Seida
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 downloaded (by its lonesome) from http:/

Re: jena.textindexer error

2013-08-19 Thread Brad Moran
Just opened in Xcode, and TextEdit was adding to the file, thanks for your help. On Mon, Aug 19, 2013 at 5:32 PM, Brad Moran wrote: > Actually just tried saving as .rdf and I get a similar error (content not > allowed in prolog, which does not make sense to me because there is nothing > before

Re: jena.textindexer error

2013-08-19 Thread Brad Moran
Actually just tried saving as .rdf and I get a similar error (content not allowed in prolog, which does not make sense to me because there is nothing before the @prefix, I am wondering if TextEdit could be causing this problem? On Mon, Aug 19, 2013 at 5:01 PM, Andy Seaborne wrote: > On 19/08/13

Re: jena.textindexer error

2013-08-19 Thread Brad Moran
Sorry, it actually saves as .rtf On Mon, Aug 19, 2013 at 5:08 PM, Brad Moran wrote: > In TextEdit there does not appear to be any '{' in the file. However,if I > save the file it automatically saves as .rdf file. Then I manually convert > to .ttl file. Do you think this could be causing a probl

Re: jena.textindexer error

2013-08-19 Thread Brad Moran
In TextEdit there does not appear to be any '{' in the file. However,if I save the file it automatically saves as .rdf file. Then I manually convert to .ttl file. Do you think this could be causing a problem? Do I need to use a different editor to generate a .ttl file? On Mon, Aug 19, 2013 at 5:0

Re: jena.textindexer error

2013-08-19 Thread Andy Seaborne
On 19/08/13 21:26, Brad Moran wrote: Where exactly? As far as I see there is no '{' in the file, am I missing one? The only way I can create the error message you report is to chnage it and put a "{" at the start of the file. There should not be one. The file you sent in email works for me

Re: jena.textindexer error

2013-08-19 Thread Brad Moran
Where exactly? As far as I see there is no '{' in the file, am I missing one? On Mon, Aug 19, 2013 at 3:45 PM, Brad Moran wrote: > *Hi,* > *tried running jena.textindexer from bash like:* > > java -cp jena-2.10.2/jena-fuseki-0.2.8-SNAPSHOT/fuseki-server.jar > jena.textindexer --desc=NetBeansPro

Re: jena.textindexer error

2013-08-19 Thread Andy Seaborne
There is a "{" on the first line, first column of the assembler file. That's a graph literals / N3 formula which is not supported by the Turtle reader. (the file you provided works for me) Andy On 19/08/13 20:45, Brad Moran wrote: *Hi,* *tried running jena.textindexer from bash like

Re: SPARQL Query which Connects Individuals from Different Classes

2013-08-19 Thread Joshua TAYLOR
On Mon, Aug 19, 2013 at 2:32 PM, Darius Miliauskas wrote: > yes, the file was not correctly formatted because I just write it by hand, > not with any editor. Thanks, Joshua! Anyway, it was just an example. Maybe I > did not formulate the question precisely. It is how to write a query which > resul

jena.textindexer error

2013-08-19 Thread Brad Moran
*Hi,* *tried running jena.textindexer from bash like:* java -cp jena-2.10.2/jena-fuseki-0.2.8-SNAPSHOT/fuseki-server.jar jena.textindexer --desc=NetBeansProjects/mdr-older/trunk/data.ttl *But i am receiving this error:* ERROR [line: 1, col: 1 ] Not implemented com.hp.hpl.jena.sparql.ARQException

Re: SPARQL Query which Connects Individuals from Different Classes

2013-08-19 Thread Milorad Tosic
Yes, there is a syntax error in the query. Instead of VALUES (?gender ?city) {base:Gender base:City} it should be VALUES (?gender ?city) {(base:Gender base:City)} Regards, Milorad > > From: Darius Miliauskas >To: users@jena.apache.org; joshuaaa...@gmail.com

Re: SPARQL Query which Connects Individuals from Different Classes

2013-08-19 Thread Darius Miliauskas
Dear Joshua and others, yes, the file was not correctly formatted because I just write it by hand, not with any editor. Thanks, Joshua! Anyway, it was just an example. Maybe I did not formulate the question precisely. It is how to write a query which results connects two categories ("person" and "

Re: Website Redesign

2013-08-19 Thread Márcio Vinicius
Hello, do you know if you are in need of translation for pt-br (Portuguese - Brazil)? I could help. carefully. 2013/8/19 Rob Vesse > Hi All > > The Jena project has received a significant contribution of a website > redesign from Samuel Croset (https://github.com/loopasam) > > His redesign aim

Warnings about invalid data types

2013-08-19 Thread Norman Walsh
Hi, I'm calling RdfDataMgr.read() to load a model (into either a Model or a Dataset depending on some other parameters). When the data loaded contains errors, such as: http://www.w3.org/2001/XMLSchema#date";>2012-11-00 I get logged WARNings. Do I have any control over what happens when inv

Website Redesign

2013-08-19 Thread Rob Vesse
Hi All The Jena project has received a significant contribution of a website redesign from Samuel Croset (https://github.com/loopasam) His redesign aims to make it easier to quickly navigate to the key content items and give the site a more modern look and feel, the current state of this redes

Re: SPARQL Query which Connects Individuals from Different Classes

2013-08-19 Thread Joshua TAYLOR
The ontology data that you provided is not well formed XML, let alone RDF/XML. It looks like, however, that you're aiming for something like: http://www.w3.org/1999/02/22-rdf-syntax-ns#"; xmlns:owl="http://www.w3.org/2002/07/owl#"; xmlns:xsd="http://www.w3.org/2001/XMLSchema#"; xmlns

Re: SPARQL Query which Connects Individuals from Different Classes

2013-08-19 Thread Darius Miliauskas
Dear Arthur, Thanks for the prompt answer, I will try. Here, is the ontology as RDF/XML file: http://www.w3.org/2002/07/owl#"; > http://www.w3.org/2001/XMLSchema#"; > http://www.w3.org/2000/01/rdf-schema#"; > http://www.w3.org/1999/02/22-rdf-syntax-ns#"; > ]> http://www.semanticwe

Re: SPARQL Query which Connects Individuals from Different Classes

2013-08-19 Thread Arthur Vaïsse-Lesteven
There is missing information about object properties. And the link between Ivan and London isn't clear. Assuming you are requesting a query to create a triple of type (Ivan, a relation, London) you could try something like this: INSERT{ ?person isRelatedTo ?city} WHERE{ ?person a Person. ?perso

SPARQL Query which Connects Individuals from Different Classes

2013-08-19 Thread Darius Miliauskas
Dear Sir or Madam, let's say I have an ontology, to make things clear and simple it looks like this one: a) three classes, every one has two individuals: Person: Ivan and Ana; City: London and Paris; Gender: Male and Female. b) Ivan from the class "Person" is related to Male from the class "Gend

Re: Two tdb instances using same data files

2013-08-19 Thread Andy Seaborne
On 19/08/13 13:21, Shapiro, Alexander wrote: Hi, A while ago I've asked a question about two tdb instances using same data files (see below). Now I'm using the following code to open a model on both instances: SystemTDB.setFileMode(FileMode.direct); TDBMaker.setImplFactor

Re: how do I create named individuals by jena rules?

2013-08-19 Thread Joshua TAYLOR
Ah, sorry for the noise, then! //JT On Mon, Aug 19, 2013 at 3:53 AM, Andy Seaborne wrote: > Joshua, > > When kamil's message originally arrived, I ask kamil to subscribe and > resend, and it's the resent message the list got first. > > The earlier message may then have been let through by anothe

RE: Two tdb instances using same data files

2013-08-19 Thread Shapiro, Alexander
Hi, A while ago I've asked a question about two tdb instances using same data files (see below). Now I'm using the following code to open a model on both instances: SystemTDB.setFileMode(FileMode.direct); TDBMaker.setImplFactory(TDBMaker.uncachedFactory); model

Re: how do I create named individuals by jena rules?

2013-08-19 Thread Andy Seaborne
Joshua, When kamil's message originally arrived, I ask kamil to subscribe and resend, and it's the resent message the list got first. The earlier message may then have been let through by another moderator ... which then looks like a duplicate. Andy On 18/08/13 22:59, Joshua TAYLOR