Re: Using Fuseki to host IRIs / Using Fuseki as an LDP

2022-01-05 Thread Andy Seaborne

Hi Jakub

In addition to others mentioned:

TrellisLDP : https://www.trellisldp.org/
https://github.com/trellis-ldp



In theory, Fuseki supports GSP Direct naming (The request URL is the URI 
of a named graph).


GSP (SPARQL Graph Store Protocol) has indirect and direct modes - 
indirect is http://server/dataset?graph=uri style.


I say "in theory" because it doesn't get used as far as I know - it 
exists to meet the two implementations requirement of the W3C process.


However, this is external-internal URL relationship is fragile. The data 
has the host name of the server in the data.  If there are multiple host 
names, or the server moves, or the request has ":80" port in the URI, 
the data is now wrong.


Another approach is to implement a DESCRIBE handler and make link in the 
UI issue a DESCRIBE request as the link target.


Andy

On 04/01/2022 22:15, 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

2022-01-04 Thread Martynas Jusevičius
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

2022-01-04 Thread Chris Wood
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

2022-01-04 Thread Jakub Jałowiec
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