Mercurial > code > home > repos > light9
view bin/rdfdb @ 1917:713e56e8e2b9
rdfdb load tester
Ignore-this: ca714a9f84b3c0f0aa05b3805cd7344b
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Sat, 01 Jun 2019 20:07:27 +0000 |
parents | f001d689b3e2 |
children | f8ab10f4c80b |
line wrap: on
line source
#!bin/python import run_local # noqa import os from rdflib import URIRef from light9 import networking, showconfig import rdfdb.service rdfdb.service.main( dirUriMap={ os.environ['LIGHT9_SHOW'].encode('ascii').rstrip(b'/') + b'/': URIRef(showconfig.showUri() + '/') }, prefixes={ 'show': URIRef(showconfig.showUri() + '/'), '': URIRef('http://light9.bigasterisk.com/'), 'rdf': URIRef('http://www.w3.org/1999/02/22-rdf-syntax-ns#'), 'rdfs': URIRef('http://www.w3.org/2000/01/rdf-schema#'), 'xsd': URIRef('http://www.w3.org/2001/XMLSchema#'), 'effect': URIRef('http://light9.bigasterisk.com/effect/'), 'dev': URIRef('http://light9.bigasterisk.com/device/'), }, port=networking.rdfdb.port, )