view bin/rdfdb @ 1854:4ce8a0668fd6

raise qpan ry a little bit Ignore-this: a024cabca35c9b753116fa0b304f63c3 (but probably needs a bit more...maybe 0.6?)
author drewp@bigasterisk.com
date Mon, 11 Jun 2018 04:56:14 +0000
parents bbe05d5c6a8f
children 7772cc48e016
line wrap: on
line source

#!bin/python
import run_local
import os
from light9 import networking, showconfig
import rdfdb.service

rdfdb.service.main(
    dirUriMap={os.environ['LIGHT9_SHOW'].rstrip('/') + '/':
               showconfig.showUri() + '/'},
    prefixes={
        'show': showconfig.showUri() + '/',
        '': 'http://light9.bigasterisk.com/',
        '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#',
        'effect': 'http://light9.bigasterisk.com/effect/',
        'dev': 'http://light9.bigasterisk.com/device/',
    },
    port=networking.rdfdb.port,
    )