Re: Fuseki OIDC: OpenId authenticated Fuseki access

2019-05-30 Thread Andy Seaborne
Hi Reto, Looks interesting. Fuseki Main should be able to have the Shiro filter added to it which might be a easier way to build the server, rather than unpack/pack. Fuseki main does have read-level access control per graph:

Re: How can I dynamically set http headers using RDFConnectionRemote

2019-05-23 Thread Andy Seaborne
On 23/05/2019 09:05, 刑天 wrote: I'm using RDFConnectionRemote via Spring as a singleton component, I'm designing a http proxy which redirect query through http header. So I want to dynamically set http headers for every query I issued. How can I do that? Hi there, RDFConnectionRemote is

Re: Multi-tenant Fuseki

2019-05-22 Thread Andy Seaborne
There is no leakage between datasets in Fuseki. Access control will prevent external access across users. To have different host, it would need a reverse proxy; in a single Fuseki it will be the dataset name that separates the tenants. The tenants have to trust the server to do the right

Re: question about RDFPatch headers

2019-05-17 Thread Andy Seaborne
Hi Chris, If the "meta" part becomes complicated, it might be better to put a link in the header that goes to another file. There is balance to be struck between arbitrary structures and simple processing. It does make some sense to have a multi-valued patch header. (all one line with or

Re: concatenating patches

2019-05-17 Thread Andy Seaborne
On 16/05/2019 18:48, Chris Tomlinson wrote: Hello, As part of our editing service development, using at least aspects of RDFPatch, we have a use-case that goes like this: User U_A does some work on a number of resources resulting in patch P_01 and then stashes the patch on the editing

[ANN] Apache Jena 3.11.0

2019-04-30 Thread Andy Seaborne
The Apache Jena development community is pleased to announce the release of Apache Jena 3.11.0! == Key features of the release 37 JIRA: https://s.apache.org/jena-3.11.0-jira == Changes of note: JENA-1691 : Metric services for Fuseki Sean Ryan JENA-1664, JENA-1665, JENA-1673 SDB

Re: Fuseki authentication

2019-04-30 Thread Andy Seaborne
different, service-only facilities via Shiro and/or web.xml) woudl be disruptive. The Fuseki Main line is triple-store as publishing server. It also all means Fuseki Full is stable while Fuseki Main evolved. Andy On 29/04/2019 20:01, Andy Seaborne wrote: Are you running the war file, full

Re: Fuseki authentication

2019-04-29 Thread Andy Seaborne
On 29/04/2019 18:01, Andy Seaborne wrote: Are you running the war file, full server jar with UI?  That stiul uses still shiro.ini. The data-access-control.html applies to Fuseki Main. 3.10.0 works for me. [] rdf:type

Re: Fuseki authentication

2019-04-29 Thread Andy Seaborne
e      fuseki:serviceQuery "sparql" ;   # SPARQL query service      fuseki:serviceUpdate    "update" ;   # SPARQL update service fuseki:serviceUpload    "upload" ;   # Non-SPARQL upload service fuseki:serviceReadWriteGraphStore &quo

Re: Fuseki authentication

2019-04-29 Thread Andy Seaborne
Could you file a JIRA please? On 29/04/2019 16:09, Andy Seaborne wrote: On 29/04/2019 15:42, Mikael Pesonen wrote: I'm using Fuseki 3.10.0 and following this guide: http://jena.staging.apache.org/documentation/fuseki2/data-access-control.html#authentication Fuseki server doesnt

Re: Fuseki authentication

2019-04-29 Thread Andy Seaborne
On 29/04/2019 15:42, Mikael Pesonen wrote: I'm using Fuseki 3.10.0 and following this guide: http://jena.staging.apache.org/documentation/fuseki2/data-access-control.html#authentication Fuseki server doesnt recognize --passwd from command line, and adding this <#server> rdf:type

Re: Use same endpoint URL for both SPARQL query and update

2019-04-27 Thread Andy Seaborne
Use http://fuseki:3030/ds/ When sent to the dataset URL, Fuseki works out which kind of request it is and passes it on the the service if that service is defined (so no /ds/update => this does not make update available by a back door). Treat the fuseki:service* as controls as to whether the

Re: RdfDelta and RDFPatch javadocs, documentation and examples

2019-04-25 Thread Andy Seaborne
enables blank node handling such as fetching one graph with blank node labels not transformed by syntax issues of _:label. Andy I am gonna check the docs and code in more details. Any input and advice from you will be greatly appreciated! Marc Le 25 avr. 2019 à 06:19, Andy Seaborne a

Re: Having problem returning result using Jena and get output with http://dbpedia.org/sparql

2019-04-25 Thread Andy Seaborne
Hi there - there is an answer on StackOverflow - the timeout is only 3 seconds. Andy On 25/04/2019 12:44, Alnazer, Ahmed wrote: Hi , Having problem returning result using Jena The result is not the same if I use Jena VS http://dbpedia.org/sparql my Code in Jena I try to return two

Re: RdfDelta and RDFPatch javadocs, documentation and examples

2019-04-25 Thread Andy Seaborne
On 24/04/2019 14:20, agate.m...@gmail.com wrote: Hi, We are planning to use RDF Patch and RDF Delta (https://github.com/afs/rdf-delta) to edit our TDB dataset served through a fuseki endpoint. Interesting! We took a look at various docs pertaining to Delta and Patch and browse the github

Re: Migrate CVS data into RDF

2019-04-09 Thread Andy Seaborne
Yet another choice is tarql: https://github.com/tarql/tarql On 08/04/2019 14:13, Glenn Eriksson wrote: Hi, I am a Jena newbie and done a couple of example and tutorials. Now that actually have a use-case for Jean I've got stuck converting CVS into RDF. CVS is a common format within

Re: sparql.org allows invalid Turtle

2019-04-03 Thread Andy Seaborne
riot --strict produces ERROR [line: 3, col: 5 ] Base directive not terminated by a dot Andy On 03/04/2019 20:45, Martynas Jusevičius wrote: Hi, I've started using http://sparql.org/data-validator.html instead of http://ttl.summerofcode.be. However given such invalid Turtle with a

SPARQL 1.2 Community Group

2019-03-29 Thread Andy Seaborne
SPARQL 1.2 Community Group starts up: http://www.w3.org/community/sparql-12/ . It will document features found as extensions and capture common needs from the user community. Andy

Re: Substring implementation difference between jena, rdf4j and virtuoso

2019-03-24 Thread Andy Seaborne
On 24/03/2019 14:34, Jerven Tjalling Bolleman wrote: Hi All, Cross posting as this seems to be a question of spec implementation and I am not sure what the correct answer is supposed to be. SELECT * WHERE {   BIND("ABCDEFGHIJK" AS ?s2)   BIND(SUBSTR(?s2, 0, 1) AS ?sub) } SUBSTR =>

Re: First Transformations

2019-03-24 Thread Andy Seaborne
Hi Dan, Glad you've make progress. Processing aggregations is harder than most other forms because one piece of syntax has multiple effects on the resulting algebra. LIMIT only causes a (slice ...), COUNT is grouping and aggregation function. In ARQ, the aggreagion is always assigned to

Re: AW: AW: AW: AW: Error 500: No conversion to a Node:

2019-03-20 Thread Andy Seaborne
still want me to run a test, I'd be happy to, but I guess this may not be necessary in that case. Best, Andreas Von: Andy Seaborne Gesendet: Mittwoch, 20. März 2019 00:15:48 An: users@jena.apache.org Betreff: Re: AW: AW: AW: Error 500: No conversion to a Node:

Re: AW: AW: AW: Error 500: No conversion to a Node:

2019-03-19 Thread Andy Seaborne
a file upload or there is a data error. I can build a special for you with a layer of node write caching removed if its easier to run an test case in your environment rather than try to extract one. Andy On 11/03/2019 21:59, Andy Seaborne wrote: Hi Andreas, On 11/03/2019 14:37, Walker

Re: AW: AW: AW: Error 500: No conversion to a Node:

2019-03-11 Thread Andy Seaborne
. Andy Thanks again for your help, Andreas Von: Andy Seaborne Gesendet: Freitag, 8. März 2019 10:50:28 An: users@jena.apache.org Betreff: Re: AW: AW: Error 500: No conversion to a Node: Hi Andreas, Is this a database that has only ever been used with 3.10.0

Re: AW: AW: Error 500: No conversion to a Node:

2019-03-08 Thread Andy Seaborne
3.10.0. The problem with reloading the database is the regular (multiple times a day) recurrence of the problem, so if there are any strategies to avoid it, I'd appreciate any advice. Best, Andreas Von: Andy Seaborne Gesendet: Donnerstag, 7. März 2019 21:12

Re: AW: Error 500: No conversion to a Node:

2019-03-07 Thread Andy Seaborne
Hi Andreas - which version are you running? It does not look like the corruption problem, which is now fixed. The best thing to do is reload the database again. Whatever terms were messed up are permanently damaged I'm afraid. Andy On 07/03/2019 10:49, Walker, Andreas wrote: Dear all,

Re: Equivalent query and performances

2019-03-07 Thread Andy Seaborne
It might be going to the network though as far as I can tell, http://givingsense.eu/datamusee/onto/contextgraph18022019 does not have any triples. In order to do FROM, the query engine has to create create a different dataset and that can imped some TDB features. Have you tried: where {

Re: Storing a lot of strings in TDB store

2019-03-07 Thread Andy Seaborne
At the level of that description, they are much the same. TDB2 differs in actual inline encoding of literals (it keeps the datatype). TDB2 B+Trees are "copy on-write" (MVCC) and TDB2 has a different transaction mechanism resulting in arbitrary large transaction changes being supported. TDB2

Re: WELCOME to users@jena.apache.org

2019-03-01 Thread Andy Seaborne
On 01/03/2019 09:02, pranav.puri wrote: Hi I have been going through the apache jena documentation and needed some clarity. I have been using Jena TDB and its taking a lot of time to upload TTL file. Most probably the size of file(8gb) is the issue. Is there a way to open this file in

Re: Persistent DB creation

2019-02-28 Thread Andy Seaborne
On 28/02/2019 05:00, Laura Morales wrote: https://jena.apache.org/documentation/fuseki2/fuseki-configuration.html Also, the command line fuseki server programs have a "--help" that list the options. Arguments: --loc DB /ds start with a database in directory "DB" and name

Re: Inverse SPARQL Property Path won't match non-distinct [bug?]

2019-02-25 Thread Andy Seaborne
On 24/02/2019 15:51, Kevin Dreßler wrote: Apologies for double posting, but I just tried to delete the "?" modifier as I only needed it in my original query and not in the example provided here. After that, it works as expected. So it's not simply tied to inverse property paths but to this

Re: missing xml:base

2019-02-24 Thread Andy Seaborne
On 23/02/2019 23:43, Chris Tomlinson wrote: Hi Andy, On Feb 23, 2019, at 3:14 PM, Andy Seaborne wrote: I thought xml:base has to be enabled in the RDF/XML writer, it's no on by default. https://jena.apache.org/documentation/io/rdfxml_howto.html#advanced-rdfxml-output <ht

Re: missing xml:base

2019-02-23 Thread Andy Seaborne
I thought xml:base has to be enabled in the RDF/XML writer, it's no on by default. https://jena.apache.org/documentation/io/rdfxml_howto.html#advanced-rdfxml-output However, we are wanting to ensure that there is an explicit baseURI present in the resulting serialization. Out of curiosity,

Re: Fuskei2 configuration, TDB2 data, Inferencing with ontologies, Persisting named graphs upon server restart

2019-02-21 Thread Andy Seaborne
rid of this or just the last clause? See abov about update approach. # Intermediate graph referencing the default union graph :g rdf:type tdb:GraphTDB ; tdb:dataset :tdbDataset ; tdb:graphName ; . Thank you, Pierre From: Andy Seaborne [mailto:a...@apache.org] Sent: 09 February 2019 17:53

Re: TDB2 with negative float values

2019-02-20 Thread Andy Seaborne
Hi Mike, > Is this a known issue / limitation of TDB2? If so, are there any > suggested workarounds other than always using doubles, > at least for negatives? Thanks for the report. Yes, it's a bug in handling negative xsd:float RDF terms in TDB2. (Sign extending an int into a long when it

Re: Running Fuseki 3.10 with Apache Tomcat

2019-02-19 Thread Andy Seaborne
Hi Sorin, What's the config file? And there should be some other info in catalina.out or other log file. openIndexWriter is part of Lucene and at Jena 3.10.0, the lucene version upgraded from 6.x to 7.4.x. You can try extrscting the dastaset configuration from config.ttl and run from the

Re: Storing a lot of strings in TDB store

2019-02-16 Thread Andy Seaborne
On 15/02/2019 13:56, Ekaterina Danilova wrote: I have a dataset describing IT infrastructure. It consists of many lightweight named graphs (about 15 statements each) describing different components. I understand that there is little sense in using RDF if store is used simply as key-value

Re: AW: AW: Using FROM on external RDF files in Fuseki

2019-02-14 Thread Andy Seaborne
I looked - there are a couple of problem bocking its use which need fixing: https://issues.apache.org/jira/browse/JENA-1671 Sorry about that, Andy On 13/02/2019 13:42, Andy Seaborne wrote: Andreas, I'll take a look - one of the problems of running that service has been (unsurprisingly

Re: AW: AW: Using FROM on external RDF files in Fuseki

2019-02-13 Thread Andy Seaborne
ERE { ?s ?p ?o } Do I understand you correctly that this should work? If yes, any idea what I might be doing wrong? And how would I tell my own server to allow queries like that? Thanks for your help, Andreas ____ Von: Andy Seaborne Gesendet: Mittwoch, 13. Februar 2

Re: QueryExecution.exec stops working in Java Web Application

2019-02-13 Thread Andy Seaborne
On 13/02/2019 11:34, Martynas Jusevičius wrote: Are you closing the QueryExecution objects? That is certainly something to look for. The fact it is ~6 connections suggest that as well. There's help for this - QueryExecution is a Java AutoCloseable so you can write: try(QueryExecution

Re: AW: Using FROM on external RDF files in Fuseki

2019-02-13 Thread Andy Seaborne
Fuseki does support loading FROM URLs from the web in the "main" version of Fuseki. If the service is backed by a dataset it will use the graphs from the dataset but there is the "general" query service as well. It is --general in Fuseki.main and that is what

Re: Fuseki remote TLS load

2019-02-10 Thread Andy Seaborne
On 10/02/2019 21:15, ajs6f wrote: Andy, does that go by the usual code paths in ARQ? Yes, it does RDFDataMgr.open(...). QueryEngineWorker, line 150-ish. If the answer to the above question is yes, then it's an Apache Commons HTTP client that is the underlying machine here. You can

Re: Fuskei2 configuration, TDB2 data, Inferencing with ontologies, Persisting named graphs upon server restart

2019-02-09 Thread Andy Seaborne
On 04/02/2019 12:31, Pierre Grenon wrote: Hi, following up after going through my attempts more systematically again. I'm trying to be as specific and clear as I can. Any feedback most appreciated. Many thanks, Pierre 1. It is possible to have a configuration file in which data is loaded

Re: Fuskei2 configuration, TDB2 data, Inferencing with ontologies, Persisting named graphs upon server restart

2019-01-31 Thread Andy Seaborne
4/ "ERROR Exception in initialization: caught: Not in tramsaction" It's a bug : now recorded as JENA-1663. Andy

Re: Fuskei2 configuration, TDB2 data, Inferencing with ontologies, Persisting named graphs upon server restart

2019-01-31 Thread Andy Seaborne
On 31/01/2019 18:27, ajs6f wrote: On Jan 31, 2019, at 1:23 PM, Andy Seaborne wrote: On 31/01/2019 17:57, ajs6f wrote: 2/ It is not possible in an assembler/Fuseki configuration file, to create a new named graph and have a another inference graph put around that new graph at runtime

Re: Fuskei2 configuration, TDB2 data, Inferencing with ontologies, Persisting named graphs upon server restart

2019-01-31 Thread Andy Seaborne
icket just to not forget the possibility. ajs6f On Jan 31, 2019, at 12:41 PM, Andy Seaborne wrote: Hi Pierre, A few points to start with: 1/ For my general understanding of how we might take the inferene provision further in jena, what inferences are you particularly interested in? 2/ It is no

Re: Fuskei2 configuration, TDB2 data, Inferencing with ontologies, Persisting named graphs upon server restart

2019-01-31 Thread Andy Seaborne
Hi Pierre, A few points to start with: 1/ For my general understanding of how we might take the inferene provision further in jena, what inferences are you particularly interested in? 2/ It is not possible in an assembler/Fuseki configuration file, to create a new named graph and have a

Re: Fuskei2 configuration, TDB2 data, Inferencing with ontologies, Persisting named graphs upon server restart

2019-01-31 Thread Andy Seaborne
On 31/01/2019 17:41, Andy Seaborne wrote: Hi Pierre, A few points to start with: 1/ For my general understanding of how we might take the inferene provision further in jena, what inferences are you particularly interested in? 2/ It is not possible in an assembler/Fuseki configuration

Re: wrong content-types in s-get | Re: Export named graph from TDB to several ntriples files

2019-01-31 Thread Andy Seaborne
rint "here is JSONLD!\n"     $accept_rdf = $mtJSONLD   when :json     #print "here is plain JSON"     $accept_rdf = $mtAppJSON   end end ~~~~ Le 31/01/2019 à 15:21, Andy Seaborne a écrit : Jena has it's own content negotiation mechanism - I couldn't find an exi

Re: wrong content-types in s-get | Re: Export named graph from TDB to several ntriples files

2019-01-31 Thread Andy Seaborne
n order to get json instead of XML ; see the file here https://sourceforge.net/projects/ffl-misc/files/fuseki_scripts_custom-ruby/s-get/download) The settings are: ... I made a little test : comment these lines and the "names" part, and you'll get XML! Le 31/01/2019 à 12:48, An

Re: wrong content-types in s-get | Re: Export named graph from TDB to several ntriples files

2019-01-31 Thread Andy Seaborne
the s-get script in the same way as for s-query but it didn't work : if I have a moment I'll try to understand how the options are handled. Le 28/01/2019 à 14:19, Andy Seaborne a écrit : On 28/01/2019 11:04, Vincent Ventresque wrote: Hello, I want to export a named graph which is stored

Re: Out of memory

2019-01-29 Thread Andy Seaborne
to script. So I guess it's about the java memory manager not getting time to free memory? Even with sleep it was barely doable, memory consumption changing rapidly between 1,5 gig - 6 gig. On 29/01/2019 15:50, Andy Seaborne wrote: > Mikael, > > Th

Re: Out of memory

2019-01-29 Thread Andy Seaborne
1,5 gig - 6 gig. On 29/01/2019 15:50, Andy Seaborne wrote: > Mikael, > > There aren't enough details except to mention the suspects like sorting. > > With all the questions on the list, I personally don't track the > details of each

Re: Out of memory

2019-01-29 Thread Andy Seaborne
On 29/01/2019 15:50, Andy Seaborne wrote: > Mikael, > > There aren't enough details except to mention the suspects like sorting. > > With all the questions on the list, I personally don't track the > details of each installation so please also remi

Re: Out of memory

2019-01-29 Thread Andy Seaborne
Mikael, There aren't enough details except to mention the suspects like sorting. With all the questions on the list, I personally don't track the details of each installation so please also remind me of your current setup. Andy On 29/01/2019 11:32, Mikael Pesonen wrote: I'm not able

Re: Export named graph from TDB to several ntriples files

2019-01-28 Thread Andy Seaborne
On 28/01/2019 11:04, Vincent Ventresque wrote: Hello, I want to export a named graph which is stored in a TDB dataset, and I want to store the output in several files (for the named graph contains +/- 9.5 M triples). My idea is to use "split" command in order to cut the output of the

Re: Updating a large TDB database on a live Fuseki server

2019-01-26 Thread Andy Seaborne
On 25/01/2019 20:05, Amit Kumar wrote: My team has a big knowledge graph that we want to server via a Sparql endpoint. We are looking into using Apache Fuseki for the same. I have some questions and was hoping someone here can guide me. Right now, I'm working on a dataset which consists on

Re: Jena / Fuseki distribution with SPARQLer ?

2019-01-19 Thread Andy Seaborne
e argument "--general=" isn't registered - bug - will be fixed). All the command line does is to make calls to a FusekiServer.Builder so anything can be done in Java. The code is in org.apache.jena.fuseki.main.cmds.FusekiMain. Andy On Fri, 18 Jan 2019 at 19:23, Andy Seaborne

Re: Jena / Fuseki distribution with SPARQLer ?

2019-01-18 Thread Andy Seaborne
18 Jan 2019 at 11:44, Andy Seaborne wrote: The SPARQler webpages are at: https://github.com/apache/jena/tree/master/jena-fuseki2/jena-fuseki-main/sparqler Start Fuseki main with "--sparqler LOCATION_OF_SPARQLER_PAGES" Andy On 17/01/2019 18:22, Chris Wood wrote: Hi, It's

Re: Jena / Fuseki distribution with SPARQLer ?

2019-01-18 Thread Andy Seaborne
The SPARQler webpages are at: https://github.com/apache/jena/tree/master/jena-fuseki2/jena-fuseki-main/sparqler Start Fuseki main with "--sparqler LOCATION_OF_SPARQLER_PAGES" Andy On 17/01/2019 18:22, Chris Wood wrote: Hi, It's highly likely I've got several of my wires crossed... but

Re: How can I configure Fuseki so works in-memory with a reasoner on?

2019-01-18 Thread Andy Seaborne
> :dataset a ja:DatasetTxnMem ; This will need to be a ja:RDFDataset. An example: https://github.com/apache/jena/blob/master/jena-fuseki2/examples/service-inference-1.ttl On 17/01/2019 05:58, Frances the mute wrote: I have a ontology with ~5000 triplets and a few rules, with Fuselo 3.10. But

Re: Text search from sparql

2019-01-18 Thread Andy Seaborne
On 17/01/2019 15:45, Mikael Pesonen wrote: On 17/01/2019 17:38, Andy Seaborne wrote: On 17/01/2019 12:51, Mikael Pesonen wrote: On 17/01/2019 13:58, Andy Seaborne wrote: On 16/01/2019 12:50, Mikael Pesonen wrote: Hi, I'm trying to get text search work. Sparql REGEX takes few

Re: Text search from sparql

2019-01-17 Thread Andy Seaborne
On 17/01/2019 12:51, Mikael Pesonen wrote: On 17/01/2019 13:58, Andy Seaborne wrote: On 16/01/2019 12:50, Mikael Pesonen wrote: Hi, I'm trying to get text search work. Sparql REGEX takes few seconds to finish so hoping this would be faster. Application is term search using SKOS

Re: Text search from sparql

2019-01-17 Thread Andy Seaborne
Just on this point: Is that path file:///home/text/tools/apache-jena-fuseki-3.9.0/webapp/ correct, should it be file:/home/text/tools/apache-jena-fuseki-3.9.0/webapp/ ? file:/// is correct An absolute URI is scheme://authority/path (RFC3986). file:/ is what Java produces - strictly, it's

Re: Text search from sparql

2019-01-17 Thread Andy Seaborne
On 16/01/2019 12:50, Mikael Pesonen wrote: Hi, I'm trying to get text search work. Sparql REGEX takes few seconds to finish so hoping this would be faster. Application is term search using SKOS ontology.  First tested if it's enabled by default  ?concept text:query (skos:prefLabel

Re: How to configure Fuseki to work with several graphs as a joint dataset?

2019-01-16 Thread Andy Seaborne
On 16/01/2019 16:04, Svensson, Lars wrote: On Wednesday, January 16, 2019 5:02 PM, ajs6f [mailto:aj...@apache.org] wrote: Yes, the approach that Andy suggested in an email earlier today (use _one_ TDB2 instance, load your graphs into different named graphs in it, and enable the "default

Re: How to configure Fuseki to work with several graphs as a joint dataset?

2019-01-16 Thread Andy Seaborne
On 16/01/2019 15:50, Svensson, Lars wrote: On Wednesday, January 16, 2019 4:17 PM, ajs6f [mailto:aj...@apache.org] wrote: I'm not quite sure what's going on here. It looks like you are trying to load entire datasets as named graphs in another dataset, but that doesn't make any sense.

Re: How to configure Fuseki to work with several graphs as a joint dataset?

2019-01-16 Thread Andy Seaborne
Hi there, For my understanding here: Is there a reason not to have a single TDB2 dataset with several graphs in it with "union graph" set? On 16/01/2019 09:25, Svensson, Lars wrote: Greetings, I have several TDB2 datasets that I want to expose as named graphs and as a joint dataset. My

Re: jena-csv

2019-01-15 Thread Andy Seaborne
More, and these looks like active projects: https://github.com/rdf-ext/rdf-parser-csvw (javascript) https://github.com/Swirrl/csv2rdf Clojure. License: EPL-1.0 Andy On 14/01/2019 16:21, Andy Seaborne wrote: The project can't keep acquiring "stuff" so this is our first attempt t

Re: Fuseki 2: Serving RDF/XML over HTTP

2019-01-14 Thread Andy Seaborne
The problem is that you are asking the dataset for RDF/XML. Datasets include the named graphs. It needs TriG or N-Quads. So you ask for RDF/XML, and content negotiation says "can't - here's nmy default (which is N-Quads) and then the code ignores the Content-type and forces RDF/XML. It then

Re: jena-csv

2019-01-14 Thread Andy Seaborne
retty well. I don't need another W3C standard to produce a ton of boiler-plate code (pardon, set of "metadata" files fot the Web) and then parse it with Ruby scripts from my JAVA application. Thanks, Piotr pon., 14 sty 2019 o 08:32 Andy Seaborne napisał(a): CSVW is the W3C standard r

Re: jena-csv

2019-01-14 Thread Andy Seaborne
CSVW is the W3C standard relating to converting CSV to RDF. There are tools (e.g. below) that will do that and output a file so it is not limited to java. Andy The W3C CSVW implementation report lists a few in the EARL files:

Re: Doubt regarding the returned result

2019-01-08 Thread Andy Seaborne
Hi Ganesh, Are the results a SPARQL Result Set or a RDF Graph? For a SPARQL result Set, formats such as aplication/sparql-results+json do actually stream so you can process the results without having t have them all in the client at the same time. For an RDF Graph, you can load a persistent

[ANN] Apache Jena 3.10.0

2019-01-02 Thread Andy Seaborne
The Apache Jena development community is pleased to announce the release of Apache Jena 3.10.0! == Key features of the release Old modules retired and not in this release: jena-fuseki1 jena-csv See

Re: [ARQ] Programmatically add GRAPH to query

2018-12-21 Thread Andy Seaborne
1/ The data is likely wrong. Get it working with a query string in your program exactly like the tutorial. You have a graph name of in the code and in the data. The relative URIs will be resolved to absolute ones. Try using path.../src/main/resources/dataset-named-graph-1.ttl> in

Re: Retiring Jena modules

2018-12-21 Thread Andy Seaborne
it works now from Greg's repo / maven artifacts. Andy Regards, Barry Nouwt -Original Message- From: Andy Seaborne Sent: zaterdag 15 december 2018 00:04 To: users@jena.apache.org Subject: Retiring Jena modules Hi Jena users, The project team is looking at retiring some lesser used mod

Re: [ARQ] Programmatically add GRAPH to query

2018-12-20 Thread Andy Seaborne
On 19/12/2018 12:43, Stefano Mariani wrote: Hi Andy, Many thanks for your prompt reply. Mine is below. It's OpGraph for GRAPH. Thanks. Any documentation reference? To understand the algebra, I suggest looking at the code. You don't need to manaipulate the algebra to build querys. Jena

Re: blocking IP to prevent malicious sparql queries

2018-12-19 Thread Andy Seaborne
The join-bgp-slice/project could be done better, depending on the data shape. Andy On 19/12/2018 13:08, Marco Neumann wrote: Andy, I did a local profiling of the query in a standard Eclipse/YourKit configuration which took 45s. looks like this is just a matter of increasing heap space to

Re: [ARQ] Programmatically add GRAPH to query

2018-12-19 Thread Andy Seaborne
Hi there. It's OpGraph for GRAPH. I can't see where the dataset is loaded. You don't get a "title" because the BGP is "?g dc:date ?date". Just adding it to project doesn't cause it to be set. Andy On 19/12/2018 10:58, Stefano Mariani wrote: Dear everybody, I’m learning to use Jena

Re: InsertPic_(12-07(12-07-21-26-31)

2018-12-17 Thread Andy Seaborne
On 17/12/2018 07:53, Vincent Ventresque wrote: Are you sure that named graphs have better performance? I'm not a specialist, and I'd like to know other users' opinion about that question. I thinks it depends both on the structure of your data and the queries you run. My use case consisted

Re: Build by program a Dataset that is both textual and spatial

2018-12-17 Thread Andy Seaborne
[] ja:loadClass... Not needed these days. Harmless. :spatial_dataset rdf:type spatial:SpatialDataset ; rdf:type text:TextDataset ; ... Not sure but I think the system will create this twice. It would be better to have two declarations, one for spatial, one for text. I'm not

Retiring Jena modules

2018-12-14 Thread Andy Seaborne
Hi Jena users, The project team is looking at retiring some lesser used modules. In the next release, 3.10.0, the modules jena-fuseki1 jena-csv will not be part of the release and there won't be maven artifacts. There haven't been any changes to these modules and the code will be

Re: Jana + Fuseki + Spatial returns no data

2018-12-13 Thread Andy Seaborne
Hi Johan, With your setup and that data I got this to work: PREFIX spatial: PREFIX rdfs: SELECT ?placeName { ?place spatial:nearby (51.382 -2.71909 10 'km') . ?place rdfs:label ?placeName } Your query has:

Re: Re-Using the GEO Namespace Prefix

2018-12-12 Thread Andy Seaborne
Hi Marco, Where is' geo' being used? Andy On 12/12/2018 12:16, Marco Neumann wrote: What do people on the list think about re-using the namespace prefix geo? it's currently used for WGS84 Geo Positioning: an RDF vocabulary http://www.w3.org/2003/01/geo/wgs84_pos# but becomes more

Re: InsertPic_(12-07(12-07-21-26-31)

2018-12-10 Thread Andy Seaborne
LIMIT 10 doesn't limit very much in the query. It applies after the group and count have happen - it's a limit on the results requirned, not the work done in this query, It has to do all the WHERE part in order to calculate the COUNT. The query is returning any old 10 items (there is no

Re: Is there any way to keep same size between real data and TDB

2018-12-10 Thread Andy Seaborne
e will use SSD) For staging? I'd use the same setup as prod. Andy Thanks Daniel -Original Message----- From: Andy Seaborne Sent: Friday, December 7, 2018 8:09 PM To: users@jena.apache.org Subject: Re: Is there any way to keep same size between real data and TDB On 07/12/2018

Re: Is there any way to keep same size between real data and TDB

2018-12-07 Thread Andy Seaborne
On 07/12/2018 01:03, Lee, Seokju | Daniel | TPDD wrote: Greetings, I am using Apache Jena 3.7.0 now and encounter the following issue so I would like to know how to solve it. Background: * We created our own sparql endpoint for using apache jena. * Sometimes we need to clear

Re: Is it possible to infer new knowledge about an ontology only from a query in SPARQL?

2018-12-05 Thread Andy Seaborne
Hi there, There are two ways (maybe more!) 1/ Query with SPARQL the inference model. The Jena reasoners all provide an "inf model" which is the base data and all the inferred triples. Not all inference can be done this way (some cases of OWL-DL with disjunction can't be turned into

Re: Transactions over Fuseki REST?

2018-12-04 Thread Andy Seaborne
A SPARQL Update request can be several update operations and RDFConnection has the design hooks but, yes, a transaction API would be good to have. It's JENA-700. Andy On 04/12/2018 09:37, Brad Stallion wrote: Ciao ajs6f,my use case is exactly what you imagine: a set of read/write I'd

Re: Fuseki as a Web application in Docker

2018-11-30 Thread Andy Seaborne
On 30/11/2018 14:13, Sorin Gheorghiu wrote: Hi, the first attempt to start fuseki as a web application within a Docker with Apache, Tomcat and Elasticsearch images succeded. But after a restart (i.e. docker-compose down/up) it failed with 'Illegal access' error. Moreover a reboot didn't

Re: Fuseki backup includes inferred triples

2018-11-30 Thread Andy Seaborne
On 30/11/2018 15:49, Brad Stallion wrote: Thanks Andy. I'll try it.What about my second question? is it possible to disable/enable the reasoner on the fly?ThanksIl venerdì 30 novembre 2018, 15:45:05 CET, Andy Seaborne ha scritto: There isn't a way to disable it - what I

Re: JSON & JENA Re: ✅ Literals as subjects Re: Toward easier RDF: a proposal

2018-11-30 Thread Andy Seaborne
json dataset assembler could work for data access and transformation. has anybody done anything here already? On Thu, Nov 22, 2018 at 2:11 PM Andy Seaborne wrote: Internally, that means Graph/Node/Triple and the ARQ engine, Jena really works on what is called "Generalized RDF" in

Re: Fuseki backup includes inferred triples

2018-11-30 Thread Andy Seaborne
You could setup anothe fuseki:Service that uses the same dataset <#tdbDataset>, define query and GSP read access for that service, then backup by doing an HTTP get on that name "http://...:3030/myData; (with content negotation for format). It should be the shared base data. <#tdb> rdf:type

Re: Reasoner and updating data in Fuseki

2018-11-30 Thread Andy Seaborne
On 27/11/2018 16:57, Claude Warren wrote: I have a case using Fuseki. I have 2 named graphs call them "data" and "schema". Data contains all the data, schema contains all the RDFS based triples. I can configure Fuseki so that an inference model uses an RDF Reasoner to apply the "schmea"

Re: Problems clearing/deleting TDB

2018-11-30 Thread Andy Seaborne
Recorded as JENA-1643 On 29/11/2018 18:58, Andy Seaborne wrote: Brad, Thanks for the report. Could you raise a JIRA ticket please? It's a bug. The BaseInfGraph.clear should be inside a transaction and somehow that's getting missed. Other updates work (e.g. insert data) so it's specific

Re: Problems clearing/deleting TDB

2018-11-30 Thread Andy Seaborne
On 30/11/2018 08:56, Brad Stallion wrote: Hi, thanks for your reply.DROP ALL returns "500 Read-only block manager" If I try on of: DROP GRAPH <#model2>DROP GRAPH <#tdbGraph>DROP GRAPH <#dataset2> no error is thrown but nothing change -- no triple is deleted.Any idea?Thanks The graph is

Re: Problems clearing/deleting TDB

2018-11-29 Thread Andy Seaborne
Brad, Thanks for the report. Could you raise a JIRA ticket please? It's a bug. The BaseInfGraph.clear should be inside a transaction and somehow that's getting missed. Other updates work (e.g. insert data) so it's specific to "clear" somehow. It was supposed to be fixed at JENA-1492 which

Re: Altering ARQ query to accept non-executed pattern

2018-11-29 Thread Andy Seaborne
bif:contains uses a Virtuoso full text index. SPARQL's CONTAINS looks for exact substring. (it is the same as XQuery/XPath fn:contains) https://www.w3.org/TR/sparql11-query/#func-contains FILTER(CONTAINS((LCASE(?something), "word"))) or a regex Andy On 29/11/2018 17:51, Dan Davis wrote:

Re: parse error in fuseki UI when typing a query

2018-11-29 Thread Andy Seaborne
to understand : what is exactly the difference between 'lexical error' and 'parse error' in Fuseki? Examples? Your txt file has "400 Parse error" sent back by Fuseki. Le 29/11/2018 à 00:02, Andy Seaborne a écrit : The /MyDataset/ is slightly magic. Fuseki inspects the request and

Re: parse error in fuseki UI when typing a query

2018-11-28 Thread Andy Seaborne
her browsers. Do you think the problem could be linked to javascript or some other piece of the web interface in firefox (maybe a bug in firefox itself) ? Le 28/11/2018 à 14:53, Andy Seaborne a écrit : Vincent, It's a parse because DELETE is SPARQL Update and the query editor is for query. In SPARQL

Re: parse error in fuseki UI when typing a query

2018-11-28 Thread Andy Seaborne
Vincent, It's a parse because DELETE is SPARQL Update and the query editor is for query. In SPARQL, they are different languages. There is some way (IIRC) to use the UI with update but I can't remember how - maybe someone else can answer that part. Andy On 28/11/2018 11:28, Vincent

<    9   10   11   12   13   14   15   16   17   18   >