Re: querying lots of quad files in block storage

2022-04-22 Thread ajs6f
Some potentially interesting projects: https://sansa-stack.net/ https://github.com/rdfhdt/hdt-java RDF HDT has a Jena integration component. Adam On Thu, Apr 14, 2022, 4:47 PM Martynas Jusevičius wrote: > There was a related thread > https://www.mail-archive.com/users@jena.apache.org/msg1857

Re: Apache Jena - 10 years as an Apache Project.

2022-04-19 Thread ajs6f
It's especially impressive because we are thriving with new contributions. Go us! Adam On Mon, Apr 18, 2022, 3:51 PM Dan Brickley wrote: > On Mon, 18 Apr 2022 at 17:39, Andy Seaborne wrote: > > > Today is the 10th anniversary of Apache Jena as a Top Level Project of > > the Apache Software Fou

Re: Fuseki context path?

2022-02-14 Thread ajs6f
I'm afraid that doesn't work because I'm interested in proxying the entire application, not a single dataset. I want to expose the whole UI, admin, SPARQL editor and all. I've tried proxying as you describe using --localhost, but the static resources and JavaScript that compose the UI don't come t

Fuseki context path?

2022-02-14 Thread ajs6f
I'm probably missing something obvious, because I haven't looked at Fuseki in quite some time. I cannot seem to find any way to set the servlet context path for Fuseki in its standalone (non-WAR) incarnation, which I want to do in order to get it proxied behind httpd. Is there a setting here, or w

Re: Sparql Query

2021-12-07 Thread ajs6f
On Tue, Dec 7, 2021, 1:55 PM Matt Whitby wrote: I dare say running an lcase against each field doesn't help matters, but with no other way of doing a case-insensitive search (well, Regex - but who likes Regex?) I'm not sure. On this point alone, if it does turn out that string processing is wha

Re: Parallel SELECT queries in Fuseki or Jena's CLI

2021-11-23 Thread ajs6f
There are a number of points here, but I'm only qualified to speak to one of them. :) On Sun, Nov 21, 2021, 5:51 PM Jakub Jałowiec wrote: > Hi Andy, > sorry for late reply. > Neither the in-memory nor TDB data storage is > > designed for that. Mid-scale LPG systems are, typically (adjacency

Re: Reading JSON-LD

2021-08-08 Thread ajs6f
The instructions for how to convert a given JSON-LD document from JSON into RDF triples are found in a special section of JSON called the "context". That context can be either included directly in the file or imported from an external location, as you have discovered. It's convenient to do the latt

Re: Precomputing OWL inferences

2021-07-02 Thread ajs6f
No, Simon, what Lorenz is saying is that you can precompute the inferences and store them with the data. This will pay the cost of inference up front and prevent you from paying it at the time of first query. You can do this by adding all the inferred statements to your dataset or model before quer

Re: Terms context

2021-04-29 Thread ajs6f
If you are interested ultimately in how the data looks (syntax) and if you can use JSON-LD to transport the data, there are some features in JSON-LD 1.1 that might help: https://www.w3.org/TR/json-ld11/#aliasing-keywords https://www.w3.org/TR/json-ld11/#scoped-contexts Adam On Thu, Apr 29, 202

Re: "Not found" error message loading datasets to Fuseki

2020-04-15 Thread ajs6f
That picture did not come through, and iirc this list does not accept pictures anyway. Please show us a complete example with sample data, the procedure by which you are uploading it, and the exact response. Adam On Wed, Apr 15, 2020, 10:31 AM Luí­s Moreira de Sousa wrote: > Hi all, > > please

Re: Software Site for Apache Jena OSGI

2020-03-19 Thread ajs6f
I'm not quite sure what you mean by "Software Site". Are you looking for a place from which to download that artifact? If so, I don't think we currently provide a direct download of the jena-osgi module. We provide it via Maven repository publication. Are you using a dependency manager as part of

Re: Getting error while checking for model in a dataset in Jena 3

2020-01-15 Thread ajs6f
I'm a little confused. You say you are trying to use Jena 3, but that stacktrace features com.hp.hpl.jena.sdb package names, which are from Jena 2. Which one is executing this code? Are you bringing both on to the classpath together somehow? ajs6f > On Jan 15, 2020, at 7:09 AM, Ashwa

Re: reasoner performance

2020-01-10 Thread ajs6f
Good luck! Please do let us know how you get on. ajs6f > On Jan 9, 2020, at 2:16 AM, Luis Enrique Ramos García > wrote: > > Dear friends, > > given that my larger experience is with OWL; swrl, and swqrl, that was my > first option, my challenge is to get the job done, t

Re: reasoner performance

2020-01-08 Thread ajs6f
experience has been with OWL? ajs6f > On Jan 8, 2020, at 5:14 AM, Luis Enrique Ramos García > wrote: > > Dear friends, > > Thanks so much for your quick answer, > > At first about our use case, I estimate that we will be working with around > 100 millions tri

Re: Access control on Jena/fuseki datasets

2019-11-22 Thread ajs6f
I think that the issue is that Shiro, out of the box, does not address matching by query param. You may wish to configure RegExPatternMatcher, which would be more flexible. https://shiro.apache.org/static/1.4.2/apidocs/org/apache/shiro/util/RegExPatternMatcher.html ajs6f > On Nov 22, 2019,

Re: Access control on Jena/fuseki datasets

2019-11-22 Thread ajs6f
This isn't really a question about Jena, it's a question about Shiro. Have you tried asking that community? ajs6f > On Nov 22, 2019, at 11:41 AM, Jean-Claude Moissinac > wrote: > > Dear Marco, > > I think my previous reading of this documentation was right. &g

Re: Caching in Fuseki service

2019-11-22 Thread ajs6f
You would provide both datasets at Fuseki and then us a reverse proxy (like Varnish) to switch between the two endpoints. Anything more specific would depend on the reverse proxy you select. ajs6f > On Nov 22, 2019, at 1:06 AM, Martynas Jusevičius > wrote: > > Varnish is a r

Re: Caching in Fuseki service

2019-11-21 Thread ajs6f
Why wouldn't you just load these as two separate datasets available at different endpoints in one instance of Fuseki? Why try to fool Fuseki into thinking that two datasets are really one? ajs6f > On Nov 21, 2019, at 6:57 AM, Amandeep Srivastava > wrote: > > Hi, > >

Re: Detecting writes natively to a DatasetGraph since a particular epoch

2019-10-25 Thread ajs6f
> On Oct 24, 2019, at 7:17 AM, Andy Seaborne wrote: > > On 23/10/2019 15:31, ajs6f wrote: >> Hi Dick! >> I'm afraid the answer for TDB2 and TIM is no, not out of the box. Both use >> MVCC techniques, not buffering operations. Andy can tell you about TDB1.

Re: Detecting writes natively to a DatasetGraph since a particular epoch

2019-10-23 Thread ajs6f
t TIM into the design it now has (multiple MVCC indexes connected transactionally) I did another design that _does_ use buffering of operations. Since we didn't go with it, we cut it out of the codebase, but the history is there if you find it useful. ajs6f > On Oct 23, 2019, at

Re: TDBTransactionException: Not in a transaction

2019-09-16 Thread ajs6f
So noted on that ticket, thank you, Barry! ajs6f > On Sep 16, 2019, at 10:41 AM, Nouwt, B. (Barry) > wrote: > > Hi ajs6f, I think it is already filed under JENA-1667. My use case to > reproduce it can be found on github: https://github.com/barrynl/jena-example >

Re: TDBTransactionException: Not in a transaction

2019-09-11 Thread ajs6f
Would you be able to file a ticket (or two) recording those more general issues? That would be really helpful so that we don't lose track of them. ajs6f > On Sep 11, 2019, at 8:01 AM, Nouwt, B. (Barry) > wrote: > > Hi all, just a quick status update about my specific 

Re: Parsing RDFNode.toString()-s (back) to RDFNodes -- or parsing GROUP_CONCAT to RDFLists

2019-09-04 Thread ajs6f
. which doesn't imply a good fit for your case. If possible you might want to think about working from something like Turtle, which can be concise for the case of many triples with the same subject and predicate but different objects: https://www.w3.org/TR/turtle/#h3_object-lists ajs6f

Re: How to parse huge RDF data in a tar.gz file.

2019-08-06 Thread ajs6f
In what format are these RDF files? ajs6f > On Aug 6, 2019, at 10:05 AM, Yasunori Yamamoto wrote: > > Hello, I'm trying to learn how to parse RDF data archived in a tar.gz > file (e.g., rdfdatasets.tar.gz that contains a set of RDF data files) > within my Java program.

Re: OutOfMemoryError when converting a large TTL to a JSON-LD

2019-07-19 Thread ajs6f
ple files in that use, you might try splitting the file and processing it in pieces. Can you tell us a bit more about your use case? There might be another approach someone can recommend. ajs6f > On Jul 19, 2019, at 8:18 AM, Ankit Dangi wrote: > > Hi, > > I am using Apa

Re: TDBTransactionException: Not in a transaction

2019-07-18 Thread ajs6f
lying graphs or datasetgraphs, a little bit like the way TIM keeps a lock in a DatasetGraph to hold while opening transactions against its underlying indexes. Is this worth a ticket? (Recording a desire to have unions that respond fully to read transactions.) ajs6f > On Jul 18, 2019, at 6:53

Re: About fuseki2 load performance by java API

2019-07-18 Thread ajs6f
s this, I suspect it might be the best immediate choice. ajs6f > On Jul 18, 2019, at 8:08 AM, Scarlet Remilia > wrote: > > Thank you for reply! > > > > The server storage is HDD on local with RAID 10. > > CPU is 4x 14 cores with 28 threads but only one core i

Re: Fuseki union of two TDB(2) datasets

2019-06-12 Thread ajs6f
Filed as https://issues.apache.org/jira/browse/JENA-1721. ajs6f > On Jun 12, 2019, at 6:49 PM, Andy Seaborne wrote: > > > > On 12/06/2019 20:07, Laura Morales wrote: >>>> The reason why I would like to be able to do this, instead of merging one >>>>

Re: Fuseki union of two TDB(2) datasets

2019-06-12 Thread ajs6f
elAssembler and you might be able to cobble something together from them. ajs6f > On Jun 12, 2019, at 8:10 AM, Laura Morales wrote: > > Basically I have a Fuseki server with 1 TDB dataset containing multiple > graphs, like this (stripped down configuration): > > >

Re: Creating plain numeric literals using jena

2019-06-12 Thread ajs6f
will have changed the semantics of your data. You may wish to consider a further processing step. ajs6f > On Jun 12, 2019, at 8:21 AM, Martynas Jusevičius > wrote: > > AFAIK there are no "plain numeric literals". That's just syntactic > sugar for numbers in Turt

Re: Making dataset on jena-fuseki available via the web server to non localhost visitors.

2019-06-11 Thread ajs6f
Do you mean you see Fuseki but it has no data in it or that you see nothing? ajs6f > On Jun 11, 2019, at 8:54 AM, Allan Kamau wrote: > > I have deployed fuseki by copying the fuseki.war file to the webapps > directory of my catalina installation. > It seems when I connect to

Re: using a union graph with two different backend graph, how can jena knows when to query a particular backend?

2019-05-13 Thread ajs6f
A union graph built up in that way won't pull in a different way from disk to memory than using just the on-disk resource would. It will find triples in one graph and in the other and merge them; it will not set up any new data structures holding triples on its own account. ajs6f > O

Re: Getting EnhGraph / ModelCom from Resource / Model ?

2019-04-03 Thread ajs6f
410d02df080cca92f324ab@%3Cusers.jena.apache.org%3E> where Chris Dollin gives a bit of history. Perhaps some of the committers with more experience could describe it better? Do we have good examples of that machinery in use? ajs6f > On Apr 3, 2019, at 3:32 AM, Thomas Francart wrote: > > Hell

Re: Getting EnhGraph / ModelCom from Resource / Model ?

2019-04-02 Thread ajs6f
. You are noticing that when you find the constructor odd and hard to fill; that's in part because it mixes Jena's API (Resource, Statement, Model, etc.) with its SPI (Node, Triple, Graph, etc.). Could you tell us a little more about what you are doing? Why do you want to extend Resourc

Re: [GenericRuleReasoner] inner workings

2019-03-13 Thread ajs6f
I'm not sure what you mean by "editors" or "the dev group", but I am one person. Apache committer email addresses are not shared. ajs6f > On Mar 13, 2019, at 7:23 AM, Marco Neumann wrote: > > just for reference is the email "aj...@apache.org" alwa

Re: [GenericRuleReasoner] inner workings

2019-03-13 Thread ajs6f
I'm not at all sure where the idea of a "silent consensus" came from. Certainly there _is_ interest in SHACL (as there should be), but that's all I can see. ajs6f > On Mar 13, 2019, at 7:10 AM, Dave Reynolds wrote: > > Hi Marco, > > Not a "consensus&qu

Re: Running Fuseki 3.10 with Apache Tomcat

2019-02-26 Thread ajs6f
Have you examined, as the log suggests, the appropriate container log file? ajs6f > On Feb 18, 2019, at 10:36 AM, Sorin Gheorghiu > wrote: > > Hi, > > Fuseki 3.10 fails to start with Tomcat, the error is related to > openIndexWriter, but this is too few information for

Re: Using content with meta on text index

2019-02-26 Thread ajs6f
salt. ajs6f > On Feb 21, 2019, at 9:02 AM, Mikael Pesonen > wrote: > > > Reason I'm asking this is that now, with external doxument index, we can't do > any paging which results very slow and heavy queries on document index. We > have to read all results from exter

Re: Storing a lot of strings in TDB store

2019-02-22 Thread ajs6f
TDB's design is given in official documentation here: https://jena.apache.org/documentation/tdb/architecture.html ajs6f > On Feb 22, 2019, at 5:02 AM, Ekaterina Danilova > wrote: > > Thank you, it was exactly what I needed. It is still nice to hear what > others think a

Re: Jena Full Text Search documentation

2019-02-19 Thread ajs6f
Hello, Sorin, thank you for this contribution! Osma and Chris, you guys know the most about the text index by far-- would this make sense as part of the documentation for that module? ajs6f > On Feb 5, 2019, at 7:07 AM, Sorin Gheorghiu > wrote: > > Hi, > > it is a great

Re: Using content with meta on text index

2019-02-19 Thread ajs6f
Are you asking how to use an extant Lucene index with your text documents in it for Jena's text index as well? ajs6f > On Feb 14, 2019, at 6:23 AM, Mikael Pesonen > wrote: > > > Hi, > > Our system stores documents with separate rest API and document id's are

Re: Ontology

2019-02-19 Thread ajs6f
If you are using the same identifiers in each source, then when you merge them the common identifiers will immediately form links. ajs6f > On Feb 18, 2019, at 7:24 AM, elio hbeich wrote: > > Can you explain more this part: > '' If you want to link the two, simply add

Re: Storing a lot of strings in TDB store

2019-02-15 Thread ajs6f
e you using and how? What queries are you running and how? There are lots of opportunities for optimization when using a complex framework like Jena. ajs6f > On Feb 15, 2019, at 8:06 AM, Ekaterina Danilova > wrote: > >> >> No , both better in performance, and in the

Re: Using FROM on external RDF files in Fuseki

2019-02-12 Thread ajs6f
I'm not quite sure what you are asking about here: Do you mean to query both a new graph and the main dataset at the same time, and to do that without using anything other than SPARQL, and without loading the new graph into your dataset? ajs6f > On Feb 12, 2019, at 10:58 AM, Walker,

Re: Fuseki remote TLS load

2019-02-10 Thread ajs6f
Andy, does that go by the usual code paths in ARQ? 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 adjust it with methods in Jena's class HttpOp in jena-arq. ajs6f > On Feb 10, 2019, at 12:56 PM,

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

2019-01-31 Thread ajs6f
> 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 >>> grap

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

2019-01-31 Thread ajs6f
you know when to apply or re-apply the filtering/matching?) and might not be worth doing on those grounds alone, but I might file a ticket 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: >

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

2019-01-31 Thread ajs6f
magine that's what you're looking for. ajs6f > On Jan 31, 2019, at 8:09 AM, vincent ventresque > wrote: > > It seems that the problem is completely independent from s-get (see these > results with curl below). So I think there's a default setting somewhere in > Fuse

Re: Jena / Fuseki distribution with SPARQLer ?

2019-01-18 Thread ajs6f
ain tests) but it should normally build fine. Can you tell us a little about _how_ it fails? ajs6f > On Jan 18, 2019, at 1:33 PM, Chris Wood wrote: > > Hi Andy, > > Thanks for the link. > > I've tried a couple of things: > - the prebuilt executables don't have

Re: Text search from sparql

2019-01-18 Thread ajs6f
w the text-indexing machinery much much better than do I.) ajs6f > On Jan 18, 2019, at 11:32 AM, Vincent Ventresque > wrote: > > Hi Chris, > > I'd like to add sthg about the documentation page : it's a bit laconic, and I > spent a few hours to understand that

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

2019-01-17 Thread ajs6f
Merged, thanks very much! (It won't show up at the public site until we rebuild that site.) ajs6f > On Jan 17, 2019, at 8:57 AM, Svensson, Lars wrote: > > On Wednesday, January 16, 2019 5:36 PM, ajs6f [mailto:aj...@apache.org] wrote: > >> In the top right corner of

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

2019-01-16 Thread ajs6f
In the top right corner of any Jena documentation webpage, you should see an "Improve This Page" link, which will allow you to submit an edit to improve that page. Please do, and thanks in advance! ajs6f > On Jan 16, 2019, at 11:12 AM, Svensson, Lars wrote: > > Thanks ajs6

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

2019-01-16 Thread ajs6f
You should be able to use the --graph option with tdb2.tdbloader. In general, it's useful to check the options for the Jena CLI utilities. There's a lot of functionality there. ajs6f > On Jan 16, 2019, at 11:02 AM, Svensson, Lars wrote: > > OK, thank you. I think I got

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

2019-01-16 Thread ajs6f
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 graph = union graph" option) is the right choice. ajs6f > On Jan 16, 2019, at 10:50 AM, Svensson, Lars wrote: >

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

2019-01-16 Thread ajs6f
r graph from each of these datasets to insert into another? Perhaps you can tell us a bit more about what you are trying to accomplish here, and we can help you find out how to do that. ajs6f > On Jan 16, 2019, at 4:25 AM, Svensson, Lars wrote: > > Greetings, > > I have several

Re: [GenericRuleReasoner] inner workings

2019-01-14 Thread ajs6f
I have no useful general information about the reasoning framework, but I am copying this over to dev@. Discussions of how to extend Jena definitely have a place there. ajs6f > On Jan 14, 2019, at 6:40 AM, Nouwt, B. (Barry) > wrote: > > Hi all, I want to investigate the inner

Re: jena-csv

2019-01-14 Thread ajs6f
The module was retired, as Bruno explained, for lack of any maintainer. We can't keep code in the codebase when no one will take responsibility for it. Do you perchance have some time available to commit to maintaining the jena-csv module? ajs6f > On Jan 14, 2019, at 10:17 AM, Piot

Re: Fuseki 2: Serving RDF/XML over HTTP

2019-01-14 Thread ajs6f
Please show the code you are actually using to make requests. ajs6f > On Jan 14, 2019, at 9:06 AM, Kevin Dreßler wrote: > > Hello, > > for unit testing I need to mock up a HTTP server delivering RDF/XML per > content negotiation (Accept: application/rdf+xml). For a HTTP

Re: ModelChangedListener not triggered when new inferred statements are added.

2019-01-07 Thread ajs6f
hinery, so to speak. As for your use case, perhaps you could use a rule to do this? Again, I don't know a lot about this end of Jena, but perhaps you could write a custom built-in function for the rules system [1] . ajs6f [1] https://jena.apache.org/documentation/inference/index.html#built

Re: Reasoner and updating data in Fuseki

2018-12-30 Thread ajs6f
large amount of work to offer custom endpoints for Fuseki. It might be possible to offer an endpoint to load a new schema or do some other coarser manipulation to get what you need done. ajs6f > On Dec 6, 2018, at 9:55 AM, Claude Warren wrote: > > Somehow I missed this response. > &g

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

2018-12-23 Thread ajs6f
h` methods. How to combine these? It's a good general problem. I can imagine other kinds of indexes that people might want to use (image indexes, timeseries representations) and our basic SPI should be able to support using multiple kinds of special indexes... ajs6f > On Dec 23, 2018

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

2018-12-17 Thread ajs6f
to get to those that won't get thrown away. You can do that by confining the scope of the filter to a graph, as you did, but you can also do it by introducing a scope for the purpose, as Andy showed. ajs6f > On Dec 17, 2018, at 9:53 AM, Vincent Ventresque > wrote: > > > $word

Re: sparql 1.4 billion triples

2018-12-16 Thread ajs6f
it I'm not sure where it would best go, but it might be very helpful to users who can take advantage of it. ajs6f > On Dec 16, 2018, at 6:11 AM, Siddhesh Rane wrote: > > In-memory database has following limitations : > > 1) Time to create the database. Not a problem if

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

2018-12-15 Thread ajs6f
e and I don't know what the intervening years have done to make it more or less feasible. There have been many changes to jena-text in that time and the new spatial module is a whole new story. I'd put a link here but searching lists.apache.org hasn't brought it up for me. ajs6f

Re: sparql 1.4 billion triples

2018-12-15 Thread ajs6f
What is the advantage to doing that as opposed to using Jena's built-in in-memory dataset? ajs6f > On Dec 15, 2018, at 3:04 AM, Siddhesh Rane wrote: > > Bring the entire database in RAM. > Use "vmtouch " > Get vmtouch from https://hoytech.com/vmtouch/ > >

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

2018-12-07 Thread ajs6f
Let's slow down here a bit. We can't give you any reasonable advice until you tell us _much_ more about your work. What is the data like? What kinds of queries are you doing? How are you running them? What do you expect to happen? Please give us a great deal more context. ajs6f

Re: Transactions over Fuseki REST?

2018-12-03 Thread ajs6f
useki to gather, execute, and potentially rollback requests. Can you say a little more about your use case? That might help us give you better advice. ajs6f > On Dec 3, 2018, at 10:20 AM, Brad Stallion > wrote: > > Hi All,is it possible to work with transactions (commit/rollback) u

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

2018-12-01 Thread ajs6f
> On Nov 30, 2018, at 10:24 AM, Andy Seaborne wrote: > On 29/11/2018 15:48, ajs6f wrote: >> I'm not Martynas, so you didn't misname anyone that I saw. >> JSON-LD can certainly help with this: any time you have JSON, and you wish >> it were RDF, JSON-LD is the

Re: Fuseki backup includes inferred triples

2018-11-30 Thread ajs6f
to segregate your asserted and inferred triples in separate graphs within the dataset? If so, perhaps you could use SPARQL Graph Store Protocol [1] to download only those graphs you want to backup. ajs6f [1] https://www.w3.org/TR/sparql11-http-rdf-update > On Nov 30, 2018, at 6:21 AM, B

Re: Problems clearing/deleting TDB

2018-11-29 Thread ajs6f
I can't speak precisely to your error, but have you tried DROP GRAPH [1]? Might be a useful workaround for the moment. ajs6f [1] https://www.w3.org/TR/sparql11-update/#drop > On Nov 29, 2018, at 10:07 AM, Brad Stallion > wrote: > > Hi All, > I'm using Fuseki 3.9.

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

2018-11-29 Thread ajs6f
SON (as JSON) as need be to clean the data, and then apply a context and let Jena read the RDF directly. If the data is already in a form that is close to what you need, the first phase might be short or absent. If the data is wacky, the gains from introducing JSON-LD might be very small. ajs6f

Re: ✅ Literals as subjects Re: Toward easier RDF: a proposal

2018-11-29 Thread ajs6f
Jena tooling needed... is that not possible (or optimal) for some reason? If it's related to Jena, we can talk about it here, and if it's related to JSON-LD, I'd be very happy to take your concern to the WG. ajs6f > On Nov 29, 2018, at 7:40 AM, Marco Neumann wrote: >

Re: typo in tdb2.tdbupdate --help v3.9.0

2018-11-14 Thread ajs6f
#x27;s CLI machinery at all. ajs6f > On Nov 11, 2018, at 4:55 PM, Laura Morales wrote: > > I meant the output of the command > >$ tdb2.tdbupdate --help > > > > > > Sent: Sunday, November 11, 2018 at 10:38 PM > From: "Andy Seaborne"

Re: Problems in querying Fuseki2 programmatically

2018-11-12 Thread ajs6f
This list doesn't accept attachments. You can cut-and-paste your material (if it's reasonably short) or use a service like gist or pastebin to make them available. ajs6f > On Nov 12, 2018, at 2:46 PM, Luigi Asprino wrote: > > Hi, > thanks for the quick reply. >

Re: Problems in querying Fuseki2 programmatically

2018-11-12 Thread ajs6f
itself. ajs6f On Mon, Nov 12, 2018, 2:34 PM Luigi Asprino Hi, > > I have the following problem in querying a dataset created on a Fuseki2 > server. > I have downloaded Apache Jena Fuseki 3.9.0 from this page [1], then I have > created a dataset and uploaded some RDF files (I u

Re: DatasetTDB2 with separate namedGraphs

2018-11-11 Thread ajs6f
ht be better to use TDB1. YMMV. ajs6f > On Nov 11, 2018, at 11:06 AM, Laura Morales wrote: > > To be completely honest, simply because TDB2 is advertised as "next > generation" storage for jena so I prefer to stick with the newer version and > try to avoid any TDB p

Re: DatasetTDB2 with separate namedGraphs

2018-11-11 Thread ajs6f
Then let me ask a different question-- is there a reason in particular that you are using TDB2? TDB1 doesn't have the monotonically-increasing size issue, and you could use the well-defined and standardized SPARQL Graph Store protocol [1] to insert and delete graphs. ajs6f [1] https://w

Re: TDB2 read-only dataset

2018-11-11 Thread ajs6f
I'll let Andy comment on the TDB2 question, but as for compact read-only storage, you may wish to experiment with HDT [1][2]. It is not supported by the Jena project, but some Jena users have used it with success. ajs6f [1] www.rdfhdt.org [2] https://github.com/rdfhdt/hdt-java/tree/maste

Re: DatasetTDB2 with separate namedGraphs

2018-11-11 Thread ajs6f
hink that's correct. Here is an example that might be more on point: https://github.com/apache/jena/blob/master/jena-db/jena-tdb2/testing/Assembler/tdb-named-graph-2.ttl ajs6f > On Nov 11, 2018, at 10:23 AM, Laura Morales wrote: > > More or less, yes. > I want 2 separate TDB2 d

Re: DatasetTDB2 with separate namedGraphs

2018-11-11 Thread ajs6f
I'm not quite sure what you're trying to do here-- are you trying to extract one named graph from one TDB2 database, another named graph from another TDB2 database, and present them via Fuseki as a single dataset? ajs6f > On Nov 11, 2018, at 9:49 AM, Laura Morales wrote: >

Re: tdb2.tdbquery batch processing

2018-11-10 Thread ajs6f
Yes, certainly. Depending on all kinds of things, it may or may not be more performant, but it should certainly work. ajs6f > On Nov 10, 2018, at 4:42 PM, Laura Morales wrote: > > I just have a script that runs a few 100s queries one after the other in > sequence. I was only won

Re: tdb2.tdbquery batch processing

2018-11-10 Thread ajs6f
of the data and queries. It is very hard to give general advice about performance (especially concurrent performance). It much easier in a specific concrete context. What can be said is that certainly the CLI tools can be scripted for batch work. ajs6f > On Nov 10, 2018, at 4:28 PM, La

Re: Converting TriX to N-Quads with riot

2018-11-10 Thread ajs6f
Please file a ticket for this, with a file that shows the problem and a complete invocation that fails. ajs6f > On Nov 10, 2018, at 10:04 AM, Martynas Jusevičius > wrote: > > Yes, .as I wrote, without --syntax and with .trix extension it works. > On Sat, Nov 10, 2018 at 3:51

Re: Converting TriX to N-Quads with riot

2018-11-10 Thread ajs6f
Just as an experiment, can you verify that changing the extensions to .trix and removing the --syntax flag works? ajs6f > On Nov 10, 2018, at 9:49 AM, Martynas Jusevičius > wrote: > > There are some issues with non-canonical XMLLiterals, but in principle > the files pars

Re: Converting TriX to N-Quads with riot

2018-11-10 Thread ajs6f
I'd have to go check the code, but Martynas, possibly the file extensions are tripping you up? ajs6f > On Nov 10, 2018, at 9:10 AM, Laura Morales wrote: > > Using the TriX file here > http://www.hpl.hp.com/techreports/2004/HPL-2004-56.pdf on page 3 as an > example it

Re: SOH HTTPS

2018-11-09 Thread ajs6f
Are you sending this to a Fuseki endpoint? It does not appear so. ajs6f > On Nov 9, 2018, at 9:04 AM, Laura Morales wrote: > > How to use Fuseki SOH with HTTPS? > > $ ./soh query --service= --query= > > > > 400 The plain HTTP req

JSON-LD Was: Loosely converting JSON/XML to RDF

2018-11-07 Thread ajs6f
tic lifting": adding semantic information to data that lacks it (JSON => JSON-LD). Of course, it's also meant to function as an RDF serialization, but if your first interest is moving from something that isn't JSON to RDF, you may very well find other tools to be more natural a

Re: TDB structure

2018-10-30 Thread ajs6f
question and we can give you a more useful answer... ajs6f > On Oct 30, 2018, at 12:02 PM, ashutosh mehta wrote: > > I meant TDB2. > When a sparql query is made on the ontology, does only a particular node is > hit or doea it traverse the graph from the beginning? > > >

Re: Inference

2018-10-30 Thread ajs6f
head. For more general forms of inference, you might need other tools, potentially up to Jena's rules system. And as Martynas implies, both techniques can be seen as letting you write queries over an enhanced graph or dataset. It's up to you whether to persist those "new" triples,

Re: TDB structure

2018-10-30 Thread ajs6f
xt or spatial indexing you may have created by using those Jena components. ajs6f > On Oct 30, 2018, at 9:36 AM, ashutosh mehta wrote: > > Hi, > Is there any documentation regarding TDB structure. How does it store owl > files(ontology)? > > How does indexing happen

Re: Persistent Model Implementation

2018-10-22 Thread ajs6f
routed through a cache that prevents duplication? I believe Andy deployed a similar technique for some of the TDB loading code and saw great improvement therefrom. ajs6f [1] https://jena.apache.org/documentation/rdf/datasets.html [2] https://en.wikipedia.org/wiki/Persistent_data_structure &g

Re: To reduce query response time

2018-10-03 Thread ajs6f
You have given us almost nothing to go on. Please provide information about your data and the queries you are running, and keep in mind that we cannot help you optimize your client software. http://jena.apache.org/help_and_support/index.html https://stackoverflow.com/help/mcve ajs6f > On

Re: org.apache.jena.riot.RiotException error

2018-09-26 Thread ajs6f
That seems to be exactly the same problem you reported on this list a few days ago: https://lists.apache.org/thread.html/c5e108303b59feb799abfdcf7bf0c45513ef171e4093c48c56f9d007@%3Cusers.jena.apache.org%3E and the advice Andy gave you then is still good. ajs6f > On Sep 26, 2018, at 11:56

Re: org.apache.jena.riot.RiotException error

2018-09-26 Thread ajs6f
Is the file you are trying to read Turtle, as you have declared in your code? The fact that it begins with "rdf:RDF" makes that unlikely. That's certainly not Turtle. It looks like RDF/XML. ajs6f > On Sep 26, 2018, at 11:47 AM, elio hbeich wrote: > > I am trying the

Re: statement identifiers

2018-09-18 Thread ajs6f
nk of a reason they would. It's possible that someone out there in the community has written one, or you could try implementing DatasetGraph yourself, perhaps reusing some other implementation for part of the work. ajs6f > On Sep 18, 2018, at 4:00 PM, thomas lörtsch wrote: > &

Re: statement identifiers

2018-09-18 Thread ajs6f
Not in general, no, although some specific DatasetGraph implementations may. There is some API support for reification: https://jena.apache.org/documentation/notes/reification.html Does that meet your use case? ajs6f > On Sep 18, 2018, at 3:37 PM, thomas lörtsch wrote: > > H

Re: Building a spatial index with jena/fuseki

2018-09-18 Thread ajs6f
n order, that's okay-- we'll find some other way to confirm this fix. I can set up a duplication of your problem, but it will take a few days for me to get around to it. ajs6f > On Sep 18, 2018, at 12:37 PM, Marco Neumann wrote: > > I will take a look at it over the weekend,

Re: Building a spatial index with jena/fuseki

2018-09-18 Thread ajs6f
and fixed the problem. ajs6f > On Sep 18, 2018, at 4:51 AM, Marco Neumann wrote: > > well spotted Adam, I think that nails it. I guess I was lucky with my setup > to avoid this glitch so far. Don't want to anticipates Andy's call here but > what's your plan? wrap t

Re: [3.0.1] Upgrading to 3.8.0

2018-09-17 Thread ajs6f
For > 6. org.apache.jena.sparql.engine.http.Service.queryAuthUser/queryAuthPwd in particular, https://jena.apache.org/documentation/query/http-auth.html details methods for all-Jena HTTP authentication. Let us know if that doesn't meet your use case. ajs6f > On Sep 17, 2018,

Re: Building a spatial index with jena/fuseki

2018-09-17 Thread ajs6f
verify that for us) then this is a bug and we can fix it in a straightforward way. Andy, can you confirm that diagnosis? If so, I'll open a ticket and write a PR to use a Txn method to fix this. ajs6f > On Sep 17, 2018, at 10:14 AM, Markus Neumann wrote: > > It seems I made

  1   2   3   4   >