comparison galaxy-dist/tools/SADI/MergeRDFGraphs.py @ 2:977c838e3442 draft default tip

New dir structure, README improved, tests added and RDF merge tool created
author mikel-egana-aranguren <mikel.egana.aranguren@gmail.com>
date Fri, 25 Apr 2014 14:41:12 +0200
parents
children
comparison
equal deleted inserted replaced
1:bb17b69a74c5 2:977c838e3442
1
2 import sys
3 from rdflib.graph import Graph
4
5 def main(argv):
6 store = Graph()
7 for inputFileName in argv:
8 try:
9 store.parse(inputFileName)
10 except Exception:
11 pass
12 print store.serialize()
13
14 if __name__ == "__main__":
15 main(sys.argv[1:])