1
0
mirror of https://github.com/balkian/gists.git synced 2024-11-21 17:22:29 +00:00
gists/testdflib/testdflib.py
J. Fernando Sánchez f48bab94dd Move files
2021-10-30 15:23:01 +02:00

7 lines
212 B
Python

# -*- coding: utf-8 -*-
from rdflib import Graph, plugin
from rdflib.serializer import Serializer
import sys
g = Graph().parse(sys.argv[1], format='json-ld')
print "Hooray! It seems to be a valid json-ld file!"