# Path: sc/baseVocabulary.py
# class baseVocabulary(object):
#     __metaclass__ = ABCMeta
#     """
#         Any class that will inherits from BaseRegisteredClass will be included
#         inside the dict RegistryHolder.REGISTRY, the key being the name of the
#         class and the associated value, the class itself.
#     """
#     graph = rdflib.Dataset(default_union=True)
#     context = {}
#     namespace = []
#     @abstractmethod
#     def build(self):
#         pass


import json
import pytest
import uuid
from rdflib import Namespace, URIRef, RDF, RDFS, Literal
from sc import baseVocabulary
    from sc import graphManager
# -*- coding: utf-8 -*-
"""Test code for RDFlib Graph Factory for SmartContainers.

This module provides a common interface to all RDFlib graphs created by all
vocabularies. New vocabularies should subclass graphFactory.
"""

tstuuid = str(uuid.uuid4())
uuidurn = "urn:uuid:"+tstuuid


class Vocabulary1(baseVocabulary.baseVocabulary):
    def build(self):
        self.context = {"prov": "http://www.w3.org/ns/prov#"}
        PROV = Namespace("http://www.w3.org/ns/prov#")
        chuckORIDchuck = URIRef("http://orcid.org/000-0003-4901-6059")
        self.graph.add((chuckORIDchuck, RDF.type, PROV.Person))



# Path: sc/baseVocabulary.py
# class baseVocabulary(object):
#     __metaclass__ = ABCMeta
#     """
#         Any class that will inherits from BaseRegisteredClass will be included
#         inside the dict RegistryHolder.REGISTRY, the key being the name of the
#         class and the associated value, the class itself.
#     """
#     graph = rdflib.Dataset(default_union=True)
#     context = {}
#     namespace = []
#     @abstractmethod
#     def build(self):
#         pass


# Path: tests/unit/test_graphregistry.py
import json
import pytest
import uuid
from rdflib import Namespace, URIRef, RDF, RDFS, Literal
from sc import baseVocabulary
    from sc import graphManager

# -*- coding: utf-8 -*-
"""Test code for RDFlib Graph Factory for SmartContainers.

This module provides a common interface to all RDFlib graphs created by all
vocabularies. New vocabularies should subclass graphFactory.
"""

tstuuid = str(uuid.uuid4())
uuidurn = "urn:uuid:"+tstuuid


class Vocabulary1(baseVocabulary.baseVocabulary):
    def build(self):
        self.context = {"prov": "http://www.w3.org/ns/prov#"}
        PROV = Namespace("http://www.w3.org/ns/prov#")
        chuckORIDchuck = URIRef("http://orcid.org/000-0003-4901-6059")
        self.graph.add((chuckORIDchuck, RDF.type, PROV.Person))



class Vocabulary2(baseVocabulary.baseVocabulary):