jena generic rule question

2014-07-31 Thread Wang Darrell
Here is my data in tdb - (yago:Majid_Majidi yago:hasGender yago:male) - (yago:Majid_Majidi yago:actedIn yago:Boycott_film) - (yago:Majid_Majidi yago:directed yago:Baran_film) - (yago:Majid_Majidi yago:directed yago:The_Color_of_Paradise) - (yago:Majid_Majidi yago:created yago:Children_of_Heav

How to call CREATE / DELETE GRAPH in Fuseki

2014-07-31 Thread Arthur Keen
For executing CREATE or DELETE GRAPH in Fuseki I tried to use them the same way as SPARQL INSERT/DELETE by posting to ../ds/update, but this did not work Which Endpoint URL pattern I should use: http://localhost:8080/ds/update, http://localhost:8080/ds/graph For Creating a graph do you use an

Re: Using Fuseki 2 as a web application

2014-07-31 Thread Amira Sifaoui Ep Ghaddab
Hi all, FUSEKI_BASE is an environment variable that points the fuseki directory/run. I don't find the fuseki log file: I find the directory log but il's empty. The version of Fuseki2 is 03/2014. Thanks !!! 2014-07-31 21:48 GMT+02:00 Andy Seaborne : > On 31/07/14 14:48, Amira Sifaoui Ep Ghaddab

Re: Using Fuseki 2 as a web application

2014-07-31 Thread Andy Seaborne
On 31/07/14 14:48, Amira Sifaoui Ep Ghaddab wrote: When I put any file in the FUSEKI_BASE/configuration I have a file NotFound. I put the configuration files in FUSEKI_BASE FUSEKI_BASE is an environment variable - in Tomcat it should be set to /etc/fuseki unless it's been changed. What file

RE: Using Fuseki 2 as a web application

2014-07-31 Thread John A. Fereira
Are you putting the configuration file into a directory named FUSEKI_BASE/configuration? FUSEKI_BASE is an environment variable which points to a fuseki "base" directory. For example, if you copied the distribution into /usr/local/fuseki2 you'd set the environment variable as follows: export

Re: Problem moving to latest Jena code

2014-07-31 Thread Don Flinn
Andy, Thank you. The problem was inconsistent jar files. As you may suspect I have many other jars for the full program and thought I was careful - but was not. Should have followed the principal of Occam's Razor , but was looking everywhere else for a solution. Again thanks Don On 7/3

Re: Problem moving to latest Jena code

2014-07-31 Thread Don Flinn
Thanks Andy. I'll try your suggestion and let you know the outcome. Sorry about the local paths, I'll correct these after the reinstall of Jena jars. The original product was developed on the original Apache Jena code, the periodically I moved to newer versions, Don On 7/31/2014 10:00 AM, A

Re: SPARQL protocol and using-graph-uri parameter

2014-07-31 Thread Andy Seaborne
On 31/07/14 10:33, Rob Walpole wrote: Thanks for the explanation Andy. I'm still a bit confused about what is meant by the default graph though TBH... I thought starting Fuseki with "tdb:unionDefaultGraph true" might mean that queries and updates would work without specifying the graph name? It c

Re: Problem moving to latest Jena code

2014-07-31 Thread Andy Seaborne
Which version are you upgrading from? > The stack trace, attached, seems to indicate a bad character I don't understand that - the stacktrace is: > Exception in thread "main" java.lang.NoSuchFieldError: actualValueType >at > com.hp.hpl.jena.datatypes.xsd.XSDDatatype.convertValidatedDataVa

Problem moving to latest Jena code

2014-07-31 Thread Don Flinn
Hi, I have a large project that uses Jena extensively, and which was developed under the very early Jena code base. I'm trying to move to the latest Jena code 2.11.2. Creating a default Model and creating a query execution now fail. I've written and attached a small test case to help solve

Re: Using Fuseki 2 as a web application

2014-07-31 Thread Amira Sifaoui Ep Ghaddab
When I put any file in the FUSEKI_BASE/configuration I have a file NotFound. I put the configuration files in FUSEKI_BASE 2014-07-31 15:45 GMT+02:00 Andy Seaborne : > On 31/07/14 10:44, Amira Sifaoui Ep Ghaddab wrote: > >> Thank you Andy for your reply, >> >> In fact, my project is to store ont

Re: Using Fuseki 2 as a web application

2014-07-31 Thread Andy Seaborne
On 31/07/14 10:44, Amira Sifaoui Ep Ghaddab wrote: Thank you Andy for your reply, In fact, my project is to store ontologies and datasets with jena TDB and then I want to query them with Fuseki (which runs with Tomcat). So, I want to query my data with Fuseki through the storage directory creat

Re: Using Fuseki 2 as a web application

2014-07-31 Thread Amira Sifaoui Ep Ghaddab
Thank you Andy for your reply, In fact, my project is to store ontologies and datasets with jena TDB and then I want to query them with Fuseki (which runs with Tomcat). So, I want to query my data with Fuseki through the storage directory created with TDB. I put the configure-tdb.ttl in $FUSEKI_

Re: SPARQL protocol and using-graph-uri parameter

2014-07-31 Thread Rob Walpole
Thanks for the explanation Andy. I'm still a bit confused about what is meant by the default graph though TBH... I thought starting Fuseki with "tdb:unionDefaultGraph true" might mean that queries and updates would work without specifying the graph name? It certainly seems to be true of queries (El