Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (12 sloc) 378 Bytes
from pymantic.rdf import Resource, register_class
SKOS_NS = "http://www.w3.org/2004/02/skos/core#"
NS_DICT = dict(skos = SKOS_NS)
class SKOSResource(Resource):
namespaces = NS_DICT
scaler = ['skos:prefLabel']
@register_class("skos:Concept")
class Concept(SKOSResource):
pass
@register_class("skos:ConceptScheme")
class ConceptScheme(SKOSResource):
pass
Jump to Line
Something went wrong with that request. Please try again.