Endpoint browser is a web service to search RDF data in the endpoint using visualised network graph. User can select nodes and execute SPARQL queries from the GUI.
- For private loocalhost-endpoint (Endpoint browser service page is only available for open access endpoints.)
- Docker
- Docker-compose
- On M1 Mac: add '--platform=linux/amd64' FROM line of the Dockerfile.
FROM --platform=linux/amd64 node:12
Run containers with docker-compose
and open http://localhost:3000/html
.
$ git clone https://github.com/moriya-dbcls/endpoint_browser.git
$ cd endpoint_browser
$ docker-compose up --build -d
Start endpoint browser http://localhost:3000/html/
Stop containers
$ cd endpoint_browser
$ docker-compose down
- Req. SPARQList and togostanza
$ git clone https://github.com/moriya-dbcls/endpoint_browser.git
$ cd endpoint_browser
v12.x by nodebre
$ curl -L git.io/nodebrew | perl - setup
[set a path to .nodebrew/current/bin, e.g. $ export PATH=$HOME/.nodebrew/current/bin:$PATH]
$ nodebrew install v12
$ nodebrew use v12
$ git clone https://github.com/dbcls/sparqlist.git
$ cd sparqlist
$ npm install
$ npm run build
$ cd ..
Download binary from ts release and set a path to 'ts' file
$ curl -OL https://github.com/togostanza/ts/releases/download/v0.0.19/ts_0.0.19_linux_amd64.tar.gz
$ tar zxvf ts_0.0.19_linux_amd64.tar.gz
[set a path to 'ts']
$ mv src/sparqlist/*.md sparqlist/repository/
$ mv src/html sparqlist/public/
$ cd sparqlist
$ PORT=3000 ADMIN_PASSWORD=changeme npm start &
$ cd ..
$ cd ts
$ ts server &
Hard-coded port num and directory name
ts/endpoint-browser/_header.html:2 src="//localhost:3000/html/endpoint-browser.js"
sparqlist/public/html/index.html:7 href="//localhost:8080/stanza/endpoint-browser/"
sparqlist/public/html/endpoint-browser.js:11 api: "//localhost:3000/api/"