With tinkerpop 3.3.3 I was able to load the graphml as below
try (final InputStream stream = getClass().getClassLoader().getResourceAsStream("graph.xml&q