def test_to_vector(): rdf_space = Space('tests/example.n3', rank=2) assert_equal(rdf_space.to_vector('http://dbpedia.org/resource/Category:Futurama').shape, (2,))