Commits

beno  committed a2ad7f9

Altered short id for entity and series to begin with 'E' and 'S' respectively, rather than 'BB'

  • Participants
  • Parent commits dd83fb7

Comments (0)

Files changed (1)

File jiscobib/bltonquads.py

     # this time, won't be a bnode:
     eid = kvs.get(hash_val)
     if eid is None:
-        eid = "BB%010d" % kvs.incr("entity")
+        eid = "E%010d" % kvs.incr("entity")
         kvs.set(hash_val, eid)
 
     lines.append(u'      <foaf:Agent rdf:about="%s">' % ENTITY[eid])
    
     sid = kvs.get(hash_val)
     if sid is None:
-        sid = "BB%010d" % kvs.incr("series")
+        sid = "S%010d" % kvs.incr("series")
         kvs.set(hash_val, sid)
  
     # this time, won't be a bnode, but a bibo:Document: