Sign inSign up

iddan/jena

By iddan

•Updated over 7 years ago

Apache Jena

Image
0

304

iddan/jena repository overview

⁠Apache Jena Docker

⁠Usage
docker run -d -p 3030:3030 iddan/jena;

Apache Jena Fuseki⁠ will be available at http://localhost:3030⁠

⁠With memory dataset
docker run -p 3030:3030 jena --mem /dataset;
⁠With Configuration

Configuration⁠ should be exposed as a volume mapped to /etc/fuseki/configuration

docker run -d -p 3030:3030 -v configuration:/etc/fuseki/configuration iddan/jena;
⁠Using SPARQL over HTTP

SOH (SPARQL Over HTTP)⁠ is a set of command-line scripts for working with SPARQL 1.1. SOH is server-independent and will work with any compliant SPARQL 1.1 system offering HTTP access.

docker run jena $SERVICE --service http://host.docker.internal:$PORT/$DATASET/sparql # ...
⁠Examples

Query all triples in dataset "dataset" on port 3030

docker run jena s-query --service http://host.docker.internal:3030/dataset/sparql "SELECT ?a ?b ?c WHERE { ?a ?b ?c }";

Load data from data/data.ttl to dataset "dataset", graph default on port 3030

docker run -v $PWD/data:/data jena s-put http://host.docker.internal:3030/dataset default /data/data.ttl;
⁠Documentation

Apache Jena Fuseki⁠

⁠Standards
⁠Development
# Build
docker build -t jena .;
# Run
docker run -p 3030:3030 jena;
⁠Previous Art

Installing Apache Jena Fuseki on Debian 9⁠

Tag summary

Content type

Image

Digest

Size

349 MB

Last updated

over 7 years ago

docker pull iddan/jena