very good Vincent, and yes Jena/Fuseki is indeed a great foundation for any LOD project. the good news is that you already use shiro by virtue of running fuseki.
I highly recommend you take a look at the fuseki UI. you can simply edit the shiro.ini in the fuseki_run folder. just comment out /$/** = localhost and add /$/** = authcBasic,user[admin] and you are good to go. take a look at the features. you can load data, check the status and create new named graphs etc. I am not sure who works on the UI at the moment but I'd like to see more of it in the future. just looking at your sparql endpoint. is 346,746,619 your total number of triples at bnf? what's the public endpoint url? http://carmen1.bnf.fr:9880/sparql ? On Fri, Nov 23, 2018 at 12:13 PM Vincent Ventresque < [email protected]> wrote: > Thanks Marco! > > My use case is very simple : I'm building a sample dataset with RDF data > from http://data.bnf.fr + a kind of "php-fuseki sandbox" where the user > will find examples of queries and php functions that show to reuse the > data. There also will be a small visualization library (developed with > javascript vis.js) that allows to explore the dataset (by drawing > networks via construct queries). > > I don't use Shiro, only a very quick install of fuseki (not even set > environment variables : the objective is to produce both a tutorial and > php code, easy to understand and to install). If you want to have a > look, I've just uploaded some files here : > https://sourceforge.net/projects/ffl-misc/files . It's still a draft of > course. A next step would be to translate the explanations into English > and ask the community if s.o. is interested to review the code : our > research project also aims at producing educational resources, and we > think that fuseki is ideal to learn LOD technologies. > > These files are adapted from my other project, which is more complex : > it's a kind of collaborative platform where users produce both archival > description and personal annotations. The platform is built on Code > Igniter and has authentication system ; here I could consider using > Shiro & admin tools. > > Best, > > Vincent > > > > > > > Le 23/11/2018 à 12:14, Marco Neumann a écrit : > > since Andy already explained the mechanics here I just wanted to add that > > > > curl -uadmin:**** http://localhost:3030/$/server > > > > gives you some of the information you are looking for. not sure what your > > use case is but owner of PID is not expose. > > > > > > > > On Fri, Nov 23, 2018 at 8:04 AM Vincent Ventresque < > > [email protected]> wrote: > > > >> Hello Andy & Marco > >> > >> Can you explain `curl -u admin:****` ? I've just looked at > >> > >> I get a 404 when I go there : > >> > >> http://jena.apache.org/documentation/fuseki2/admin.html > >> > >> (there's a link to this page here : > >> > http://jena.apache.org/documentation/fuseki2/fuseki-server-protocol.html) > >> > >> Thanks in advance, > >> > >> Vincent > >> > >> > >> Le 23/11/2018 à 00:44, Andy Seaborne a écrit : > >>> Do you happen to know in which version it last did work? > >>> > >>> Andy > >>> > >>> On 22/11/2018 23:23, Marco Neumann wrote: > >>>> while you are at the fuseki status here > >>>> > >>>> when accessing /$/status I am not getting no results on a Fuseki - > >>>> version > >>>> 3.8.0 instance with an enabled admin console > >>>> > >>>> curl -u admin:******* http://localhost:3030/$/status > >>>> > >>>> get's me a 404 while I can see the results and stats in the web admin. > > > -- --- Marco Neumann KONA
