Re: fuseki, vivo, mysql. How to set this up?

2013-09-06 Thread Andy Seaborne
Hi Michel, Looks more like a question for the VIVO people. The fact you get (empty) results suggests the Fuseki setup is fine. An easy mistake to make is to connect to the wrong database or connect to one that isn't an SDB database. Looking with the MySQL admin tools may help. Try the quer

Re: fuseki, vivo, mysql. How to set this up?

2013-09-06 Thread Michel de Lange
Hi Andy, Thank you very much for your help. I must confess that I barely know what I am doing, and I have been tearing my hear out, so I very much appreciate your help. I have run the query you gave me (select * WHERE { { ?a ?b ?c } UNION { GRAPH ?g { ?s ?p ?o } } } LIMIT 10) , and it ret

users@jena.apache.org

2013-09-06 Thread Darius Miliauskas
Hi again, Andy, the file content is given below (in p. s.). There is the ontology in RDF. But as I said the code compiles, file is not updated, so, basically, when the next time the file is read, no last entries/updates are saved. Thanks, Darius p. s. http://www.w3.org/2002/07/owl#

users@jena.apache.org

2013-09-06 Thread Chris_Dollin
On Friday, September 06, 2013 12:51:33 PM Darius Miliauskas wrote: > Hi again, Andy, > > the file content is given below (in p. s.). There is the ontology in RDF. > But as I said the code compiles, file is not updated, so, basically, when > the next time the file is read, no last entries/updates a

Fuseki configuration

2013-09-06 Thread Frederic Toublanc
Hello, I'd like to know how i can specify the system file mode of the fuseki server when it access the TDB. I'm using the following property when initializing the TDB in java : TDB.getContext().set(SystemTDB.symFileMode, FileMode.direct); And when i use Fuseki i would like it to connect to the

vocab2jena - Create Jena Property and Resource constants from a vocabulary

2013-09-06 Thread Tom Emerson
Hello List, I am working with SKOS in Jena and needed to create a utility class containing the properties and resources defined in the vocabulary (just like those in com.hp.hpl.jena.vocabulary). Instead of creating these manually, I did the normal engineer thing and wrote a program to generate the

Re: vocab2jena - Create Jena Property and Resource constants from a vocabulary

2013-09-06 Thread Tom Emerson
The output is very similar: you can see the output of vocab2jena here: https://gist.github.com/TreeRex/6464149 The main difference is that I use use the ResourceFactory methods instead of creating the static Model. And I don't use the * wildcard on the imports. So... I guess it would have behoved

Re: vocab2jena - Create Jena Property and Resource constants from a vocabulary

2013-09-06 Thread Tom Emerson
It would probably make more sense for me to go and tweak schemagen and submit a patch than to continue with vocab2jena, which I wrote really for the one purpose of generating the SKOS definitions and is undoubtedly useless for anything else. But... the code is there for people to look at. :-) As f

Re: vocab2jena - Create Jena Property and Resource constants from a vocabulary

2013-09-06 Thread Joshua TAYLOR
On Fri, Sep 6, 2013 at 12:17 PM, Tom Emerson wrote: > The output is very similar: you can see the output of vocab2jena here: > https://gist.github.com/TreeRex/6464149 > > The main difference is that I use use the ResourceFactory methods instead of > creating the static Model. And I don't use the *

Re: vocab2jena - Create Jena Property and Resource constants from a vocabulary

2013-09-06 Thread Joshua TAYLOR
On Fri, Sep 6, 2013 at 10:49 AM, Tom Emerson wrote: > I am working with SKOS in Jena and needed to create a utility class > containing the properties and resources defined in the vocabulary (just > like those in com.hp.hpl.jena.vocabulary). Instead of creating these > manually, I did the normal en

Re: vocab2jena - Create Jena Property and Resource constants from a vocabulary

2013-09-06 Thread Joshua TAYLOR
On Fri, Sep 6, 2013 at 11:44 AM, Joshua TAYLOR wrote: > On Fri, Sep 6, 2013 at 10:49 AM, Tom Emerson wrote: >> I am working with SKOS in Jena and needed to create a utility class >> containing the properties and resources defined in the vocabulary (just >> like those in com.hp.hpl.jena.vocabulary

Fwd: Re: @context vs. Turtle @prefix

2013-09-06 Thread Adrian Gschwend
Hi group, As a followup to the JSON-LD discussion. IMHO this makes it very useful for web developers so it would be great if - Fuseki would return JSON-LD when application/ld+json is requested - Fuseki is using @context for all the prefixes defined in a DESCRIBE or CONSTRUCT query what do you th

Re: fuseki, vivo, mysql. How to set this up?

2013-09-06 Thread Andy Seaborne
On 06/09/13 10:41, Michel de Lange wrote: Hi Andy, Thank you very much for your help. I must confess that I barely know what I am doing, and I have been tearing my hear out, so I very much appreciate your help. I have run the query you gave me (select * WHERE { { ?a ?b ?c } UNION { GRAPH ?g {

Re: Binding Variables for sparqlService

2013-09-06 Thread Phil Ashworth
Hi Joshua Sorry to revisit this thread In one of the links you kindly provided there is a great example for using PSS in a construct ( see below) I really like the example. It's neat that you combine the models together in a new model before writing it out. I have a similar problem but I want to r

Re: Approaching release : Jena 2.11.0

2013-09-06 Thread Charles Li
Is there a release time yet? Thanks! - Charles On Sep 6, 2013, at 4:54 PM, Andy Seaborne wrote: > We're working towards a release. > > This will be Jena 2.11.0 and Fuseki 1.0.0. > > This release includes several new things: > (all links are to the staging site) > > * New website design >

Approaching release : Jena 2.11.0

2013-09-06 Thread Andy Seaborne
We're working towards a release. This will be Jena 2.11.0 and Fuseki 1.0.0. This release includes several new things: (all links are to the staging site) * New website design http://jena.staging.apache.org/ with thanks to Samuel Croset * Text search http://jena.staging.apache.org/docum

RE: fuseki, vivo, mysql. How to set this up?

2013-09-06 Thread John A. Fereira
I don't know if this will help but I've got Fuseki + SDB +MySQL built based on the 0.2.6 code that we've been using for VIVO at Cornell (my boss was the original developer of VIVO. It has a few sample sparql queries for pulling data out of VIVO and include a startup script. It's all zipped up

Can I pass a SPARQL query and return only the regex pattern

2013-09-06 Thread Saud Al-Jaloud
Hi, Is there a way with Jena api to pass a SPARQL query that can return the regex pattern? For example: A query like: "PREFIX dc: SELECT ?title WHERE { ?x dc:title ?title FILTER regex(?title, "^SPARQL") }" Should return "^SPARQL". if the