Got graphs & SPARQL input working