#!/usr/bin/env python """ Get the calais graph for some content and output it as n3. """ from calais import calais_graph from sys import argv, stdout content = file(argv[1]).read() g = calais_graph(content) g.serialize(stdout)