def load_dataset(self, seed=None): rdfGraph = rdf.KnowledgeGraph() rdfGraph.read("http://www.w3.org/People/Berners-Lee/card") dataset = SimpleContainer(rdf.propositionalize(rdfGraph, twoHot), seed) dataset.init() return dataset
def load_dataset(self, seed=None): rdfGraph = rdf.KnowledgeGraph() rdfGraph.read("./examples/das.ttl") dataset = SimpleContainer(rdf.propositionalize(rdfGraph, twoHot), seed) dataset.init() return dataset