This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A data item that automatically saves data at a maximum rate of once every second, | |
// even if the data is changing much faster than that. | |
// I didn't write this code. It was created by Roger Peppe and sent to the | |
// go-nuts mailing list. The original version is at http://play.golang.org/p/1LCxri0EXz | |
package main | |
import ( | |
"io/ioutil" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sys | |
import rdflib | |
g = rdflib.Graph() | |
g.parse(sys.argv[1], format="rdfa") | |
print g.serialize(format="turtle") |
NewerOlder