def _load(cls, source):
graph = ConjunctiveGraph()
graph.parse(source, format='trig')
return graph
# def get_os(self):
# return 'Ubuntu'
#
# def get_os_version(self):
# return '12.04'
#
# def get_create_date(self):
# return '20091004T111800Z'
#
# def get_environment_vars(self):
#
# results = self.graph.query(
# """SELECT DISTINCT ?variable ?value
# WHERE {
# ?x nipype:environmentVariable ?variable .
# ?x prov:value ?value .
# }""")
#
# return results
评论列表
文章目录