Mercurial > hg > audio-features-catalogue
comparison rdfpy/writeCatalogue.py @ 18:d5012016bf64 tip
added rdfpy and rdfonto directories
author | nothing@tehis.net |
---|---|
date | Tue, 23 Apr 2013 11:49:20 +0100 |
parents | 62d2c72e4223 |
children |
comparison
equal
deleted
inserted
replaced
17:2b5c292ad12f | 18:d5012016bf64 |
---|---|
21 if fnmatch.fnmatch(name, 'af-*.rdf'): | 21 if fnmatch.fnmatch(name, 'af-*.rdf'): |
22 addTriplesFromFile(graph, basedir+'rdf/'+name, ns) | 22 addTriplesFromFile(graph, basedir+'rdf/'+name, ns) |
23 | 23 |
24 compareForSimilarities(graph, ns) | 24 compareForSimilarities(graph, ns) |
25 | 25 |
26 graph.serialize(basedir + 'af-catalogue.rdf') | 26 graph.serialize(basedir + 'af-catalogue-01.rdf') |
27 graph.serialize(basedir + 'af-catalogue.n3', format='n3') | 27 graph.serialize(basedir + 'af-catalogue-01.n3', format='n3') |