Changeset - b76017f0b622
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 9 years ago 2016-06-11 22:27:10
drewp@bigasterisk.com
more default namespaces for output n3 files. the empty one doesn't get used though :(
Ignore-this: 2ced520db61a29f444c32588cbbcaada
1 file changed with 8 insertions and 1 deletions:
0 comments (0 inline, 0 general)
light9/rdfdb/graphfile.py
Show inline comments
 
@@ -76,7 +76,14 @@ class GraphFile(object):
 

	
 
        self.lastWriteTimestamp = 0 # mtime from the last time _we_ wrote
 

	
 
        self.namespaces = {}
 
        self.namespaces = {
 
            '': '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/',
 
        }
 
        
 
        if not os.path.exists(path):
 
            # can't start notify until file exists
0 comments (0 inline, 0 general)