def test_index(): rdf_space = Space('tests/example.n3') assert_equal(rdf_space.index('http://dbpedia.org/resource/Category:Futurama'), 2)