1
0
mirror of https://github.com/balkian/gists.git synced 2024-11-24 02:12:29 +00:00
gists/repos/f2336b4263cc7fa4db91/testdflib.py
J. Fernando Sánchez 7875e8be2a Add 'repos/f2336b4263cc7fa4db91/' from commit '7af9faf0ce32831428b7bf52ed7174fa0f52c47d'
git-subtree-dir: repos/f2336b4263cc7fa4db91
git-subtree-mainline: a721c4871c
git-subtree-split: 7af9faf0ce
2021-10-30 15:13:50 +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!"