From 5dbc657acdf527579f6eb54252af5e6636f39cf6 Mon Sep 17 00:00:00 2001 From: Gunnar Aastrand Grimnes Date: Tue, 31 Dec 2013 14:24:55 +0100 Subject: [PATCH] use qname for trig graph-name - fixes #330 --- rdflib/plugins/serializers/trig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rdflib/plugins/serializers/trig.py b/rdflib/plugins/serializers/trig.py index faf82b1ba..12527e106 100644 --- a/rdflib/plugins/serializers/trig.py +++ b/rdflib/plugins/serializers/trig.py @@ -76,7 +76,7 @@ def serialize(self, stream, base=None, encoding=None, self.store = store self._subjects = subjects - self.write(self.indent() + '\n<%s> = {' % store.identifier) + self.write(self.indent() + '\n<%s> = {' % self.getQName(store.identifier)) self.depth += 1 for subject in ordered_subjects: if self.isDone(subject):