1 2 3 4 5 6
import brickschema g = brickschema.Graph() g.load_file("Brick.ttl") g.expand("owlrl", backend="reasonable") g.serialize("output.ttl", format="ttl")