HUB
Sign inSign up

markw/tpfserver

By markw

•Updated over 5 years ago

Image
0

310

markw/tpfserver repository overview

mkdir config

create file config/config.json as follows:


{
  "title": "My Linked Data Fragments server",

  "datasources": {
    "temp": {
      "title": "Temporary",
      "type": "SparqlDatasource",
      "description": "A temporary TPF server over the sparql endpoint",
      "settings": { "endpoint": "SPARQL_ENDPOINT_HERE" }
    }
  },

  "prefixes": {
    "rdf":         "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
    "rdfs":        "http://www.w3.org/2000/01/rdf-schema#",
    "xsd":         "http://www.w3.org/2001/XMLSchema#",
    "dc":          "http://purl.org/dc/terms/",
    "foaf":        "http://xmlns.com/foaf/0.1/",
    "dbpedia":     "http://dbpedia.org/resource/",
    "dbpedia-owl": "http://dbpedia.org/ontology/",
    "dbpprop":     "http://dbpedia.org/property/",
    "hydra":       "http://www.w3.org/ns/hydra/core#",
    "void":        "http://rdfs.org/ns/void#"
  }
}

docker run --name tpfserver -d -v $PWD/config:/config -p 5000:5000 markw/tpfserver:latest

Tag summary

Content type

Image

Digest

Size

268.3 MB

Last updated

over 5 years ago

docker pull markw/tpfserver