Search code examples
javardfjenafuseki

Jena/Fuseki : loading a custom implementation of com.hp.hpl.jena.graph.impl.GraphBase?


I wrote an implementation of com.hp.hpl.jena.graph.impl.GraphBase

package mygraph;
import (...)

public class MyGraph extends GraphBase
   {
   public MyGraph()
            {

            }
   @Override
   protected ExtendedIterator<Triple> graphBaseFind( TripleMatch m )
            {
            return //(...)
            }
   }

now, I'd like to load this graph into Apache Fuseki. I've read about the Assembler and the config (*.ttl) files but I'm lost. How should I tell Fuzeki to add/load my graph to its dataset ?


Solution

  • Check out the steps outlined here.

    Also, look at the source code for TDB to see how it registers (the com.hp.hpl.jena.tdb.assembler package).