Re: Using Fuseki to host IRIs / Using Fuseki as an LDP
Hi Jakub, What you are describing looks like Linked Data backed by an RDF triplestore. Linked Data Templates (LDT) is a specification for this exact use case, it defines how Linked Data requests translate to SPARQL commands. https://atomgraph.github.io/Linked-Data-Templates/ Processor is an implemention of the LDT specification. https://github.com/AtomGraph/Processor Martynas atomgraph.com On Tue, 4 Jan 2022 at 23.16, Jakub Jałowiec wrote: > Hi, > Let's say I am hosting Apache Jena Fuseki at http//somewebsite.com and > that > I have a persistent dataset at http// > somewebsite.com/some_persistent_dataset . The persistent dataset contains > a bunch of RDF triples like this one: "http// > somewebsite.com/some_persistent_dataset/person_1 > http://xmlns.com/foaf/0.1/age 123". > > I'd like to host the "http// > somewebsite.com/some_persistent_dataset/person_1" > IRI in Fuseki. Basically what I want to achieve is to provide the user with > a friendly HTML interface that let's them browse through the links that are > within the root URL of the Fuseki host. Ideally, I'd like to display the > associated properties of the IRI grouped by property type, so e.g. all > "http//somewebsite.com/some_persistent_dataset/person_1 foaf:knows ?X" > triples are displayed as a single list of Xs for that IRI etc. > > I know that I am missing here tons of technical details (e.g. how to query, > filter & display triples associated with the given IRI) but nonetheless has > anyone tried to do implement a richer UI in Fuseki that would support > hosting custom IRIs in that way? That seems to be a basic feature of > Linked-Data Platforms (LDP) but I have not yet found an LDP that is easy to > use (please let me know if you have). I thought that implementing something > like that might be quicker in Fuseki (plus you get the benefit of having an > OWL reasoner for free). > > Does it even make sense to implement such features in Fuseki or are there > external tools that are better in it and integrate with Jena? > > Best regards, > Jakub >
Re: Using Fuseki to host IRIs / Using Fuseki as an LDP
Hi Jakub, If you've not seen it, I think Elda ( https://www.epimorphics.com/technology/elda/) might do what you're looking for? Chris On Tue, 4 Jan 2022 at 22:16, Jakub Jałowiec wrote: > Hi, > Let's say I am hosting Apache Jena Fuseki at http//somewebsite.com and > that > I have a persistent dataset at http// > somewebsite.com/some_persistent_dataset . The persistent dataset contains > a bunch of RDF triples like this one: "http// > somewebsite.com/some_persistent_dataset/person_1 > http://xmlns.com/foaf/0.1/age 123". > > I'd like to host the "http// > somewebsite.com/some_persistent_dataset/person_1" > IRI in Fuseki. Basically what I want to achieve is to provide the user with > a friendly HTML interface that let's them browse through the links that are > within the root URL of the Fuseki host. Ideally, I'd like to display the > associated properties of the IRI grouped by property type, so e.g. all > "http//somewebsite.com/some_persistent_dataset/person_1 foaf:knows ?X" > triples are displayed as a single list of Xs for that IRI etc. > > I know that I am missing here tons of technical details (e.g. how to query, > filter & display triples associated with the given IRI) but nonetheless has > anyone tried to do implement a richer UI in Fuseki that would support > hosting custom IRIs in that way? That seems to be a basic feature of > Linked-Data Platforms (LDP) but I have not yet found an LDP that is easy to > use (please let me know if you have). I thought that implementing something > like that might be quicker in Fuseki (plus you get the benefit of having an > OWL reasoner for free). > > Does it even make sense to implement such features in Fuseki or are there > external tools that are better in it and integrate with Jena? > > Best regards, > Jakub >
Using Fuseki to host IRIs / Using Fuseki as an LDP
Hi, Let's say I am hosting Apache Jena Fuseki at http//somewebsite.com and that I have a persistent dataset at http// somewebsite.com/some_persistent_dataset . The persistent dataset contains a bunch of RDF triples like this one: "http// somewebsite.com/some_persistent_dataset/person_1 http://xmlns.com/foaf/0.1/age 123". I'd like to host the "http//somewebsite.com/some_persistent_dataset/person_1" IRI in Fuseki. Basically what I want to achieve is to provide the user with a friendly HTML interface that let's them browse through the links that are within the root URL of the Fuseki host. Ideally, I'd like to display the associated properties of the IRI grouped by property type, so e.g. all "http//somewebsite.com/some_persistent_dataset/person_1 foaf:knows ?X" triples are displayed as a single list of Xs for that IRI etc. I know that I am missing here tons of technical details (e.g. how to query, filter & display triples associated with the given IRI) but nonetheless has anyone tried to do implement a richer UI in Fuseki that would support hosting custom IRIs in that way? That seems to be a basic feature of Linked-Data Platforms (LDP) but I have not yet found an LDP that is easy to use (please let me know if you have). I thought that implementing something like that might be quicker in Fuseki (plus you get the benefit of having an OWL reasoner for free). Does it even make sense to implement such features in Fuseki or are there external tools that are better in it and integrate with Jena? Best regards, Jakub
Re: Use command tdbquery
Thanks for the reply. Il 03.01.2022 20:49 A. Soroka ha scritto: > Is it possible for you to make a copy of the database to query offline? > That can be expensive in storage, but it's really the simplest thing to do > in many ways. > > Adam > > On Mon, Jan 3, 2022, 1:09 PM Andy Seaborne wrote: > >> On 03/01/2022 17:44, robert.ba...@tiscali.it [2]wrote: >> >>> Hi, you are right, I was not clear in the request. I try to explain myself better. I have a knowledge base of over a billion triples. I am testing a query that returns about 2 million results (in the future I will have many queries that will return a lot of data) On the client side I have to allow the download of the results in CSV format (on asynchronous request, not through batch). >> How long does it take? >> >>> But, with these volumes of data, we can have 2 types of errors: - OutOfMemory on the Result (I can increase the heap size) >> How are you making the query? (what software?) Fuseki will stream results back and with the Jena client code, can provide a end-to-end streaming solution. The fastest results for is the binary Thrift encoding. RDFConnectionFuseki will use this. Some queries don't stream. For example, can you clarify - a query? What kind of query >>> - "many results", any number? - What do you consider slow and >>> inefficient and what are would you consider ideal? >>> Also, why do >>> you think that the HTTP call is the bottleneck? I think that this is a wrong assumption. Try to run a simple query and you will see that the HTTP call is not the bottleneck. Sent: Monday, 3 January 2022 12:59 To: u >>> margin-left:5px; width:100%">Subject: >>> dbquery Hi, i am using a fuseki server and need to run a query which returns a lot of results. The use of the HTTP call (http: // localhost: 3030 / ds / query = myQuery) is very >>> any way to do this? >>> tyle="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">Con Tiscali Mobile Smart 70 hai 70 GB in 4G, minuti illimitati e 100 SMS a soli 7,99EUR al mese http://tisca.li/Smart70 [1] [4] Con Tiscali Mobile Smart 70 hai 70 GB in 4G, minuti illimitati e 100 SMS a soli 7,99EUR al mese Con Tiscali Mobile Smart 70 hai 70 GB in 4G, minuti illimitati e 100 SMS a soli 7,99€ al mese http://tisca.li/Smart70
Re: Use command tdbquery
Thanks for the reply. It can be one of the alternatives Il 03.01.2022 19:09 Andy Seaborne ha scritto: > On 03/01/2022 17:44, robert.ba...@tiscali.it [2]wrote: > >> Hi, you are right, I was not clear in the request. I try to explain myself better. I have a knowledge base of over a billion triples. I am testing a query that returns about 2 million results (in the future I will have many queries that will return a lot of data) On the client side I have to allow the download of the results in CSV format (on asynchronous request, not through batch). > > How long does it take? > >> But, with these volumes of data, we can have 2 types of errors: - OutOfMemory on the Result (I can increase the heap size) > > How are you making the query? (what software?) > > Fuseki will stream results back and with the Jena client code, can > provide a end-to-end streaming solution. > > The fastest results for is the binary Thrift encoding. > > RDFConnectionFuseki will use this. > > Some queries don't stream. > For example, can you clarify - a query? What kind of query >> >>> - "many results", any number? - What do you consider slow and >> inefficient and what are would you consider ideal? >> >>> Also, why do >> you think that the HTTP call is the bottleneck? I think that this is a wrong assumption. Try to run a simple query and you will see that the HTTP call is not the bottleneck. Sent: Monday, 3 January 2022 12:59 To: u >> >>> margin-left:5px; width:100%">Subject: >> dbquery Hi, i am using a fuseki server and need to run a query which returns a lot of results. The use of the HTTP call (http: // localhost: 3030 / ds / query = myQuery) is very >> >>> any way to do this? >> tyle="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">Con Tiscali Mobile Smart 70 hai 70 GB in 4G, minuti illimitati e 100 SMS a soli 7,99EUR al mese http://tisca.li/Smart70 [1] [4] Con Tiscali Mobile Smart 70 hai 70 GB in 4G, minuti illimitati e 100 SMS a soli 7,99EUR al mese htt >> >>> Con Tiscali Mobile Smart 70 hai 70 GB in 4G, minuti illimitati e 100 SMS a soli 7,99€ al mese http://tisca.li/Smart70