[TASK] Remove unused prefix 'core'.
This commit is contained in:
parent
cd6974151b
commit
e70686b236
|
@ -68,7 +68,6 @@ from rdflib import RDF, RDFS, Graph, OWL
|
||||||
from rdflib.namespace import XSD
|
from rdflib.namespace import XSD
|
||||||
|
|
||||||
foaf = Namespace('http://xmlns.com/foaf/0.1/')
|
foaf = Namespace('http://xmlns.com/foaf/0.1/')
|
||||||
core = Namespace('http://vivoweb.org/ontology/core#')
|
|
||||||
vitro = Namespace('http://vitro.mannlib.cornell.edu/ns/vitro/0.7')
|
vitro = Namespace('http://vitro.mannlib.cornell.edu/ns/vitro/0.7')
|
||||||
vivo = Namespace('http://vivoweb.org/ontology/core#')
|
vivo = Namespace('http://vivoweb.org/ontology/core#')
|
||||||
vcard = Namespace('http://www.w3.org/2006/vcard/ns#')
|
vcard = Namespace('http://www.w3.org/2006/vcard/ns#')
|
||||||
|
@ -83,7 +82,6 @@ def get_graph():
|
||||||
"""Small little helper to create graph with namespaces ;-)"""
|
"""Small little helper to create graph with namespaces ;-)"""
|
||||||
g = rdfSubject.db
|
g = rdfSubject.db
|
||||||
g.bind('foaf', foaf)
|
g.bind('foaf', foaf)
|
||||||
g.bind('core', core)
|
|
||||||
g.bind('vitro', vitro)
|
g.bind('vitro', vitro)
|
||||||
g.bind('vivo', vivo)
|
g.bind('vivo', vivo)
|
||||||
g.bind('vcard', vcard)
|
g.bind('vcard', vcard)
|
||||||
|
|
Loading…
Reference in New Issue