You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Pierre LINDENBAUM <pl...@yahoo.fr> on 2012/11/12 14:34:22 UTC

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


(cross posted on SO: http://stackoverflow.com/questions/13344429 )

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


packagemygraph;import(...)publicclassMyGraphextendsGraphBase{publicMyGraph(){}@OverrideprotectedExtendedIterator<Triple>graphBaseFind(TripleMatchm ){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 ?


Thanks,

Pierre


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

Posted by Andy Seaborne <an...@apache.org>.
On 12/11/12 13:34, Pierre LINDENBAUM wrote:
>
>
> (cross posted on SO: http://stackoverflow.com/questions/13344429 )

where there's now an answer

>
> I wrote an implementation of com.hp.hpl.jena.graph.impl.GraphBase
>
>
> packagemygraph;import(...)publicclassMyGraphextendsGraphBase{publicMyGraph(){}@OverrideprotectedExtendedIterator<Triple>graphBaseFind(TripleMatchm ){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 ?
>
>
> Thanks,
>
> Pierre
>


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

Posted by Pierre LINDENBAUM <pl...@yahoo.fr>.
That you all,

I wrote the solution on my blog 

   http://plindenbaum.blogspot.fr/2012/11/creating-virtual-rdf-graph-describing.html 

I'm still not sure about the correct way to create the config.ttl file but at least, my solution for a simple "Hello-World" seems to work.

Thanks again,

Pierre

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

Posted by Stephen Allen <sa...@apache.org>.
Hi Pierre,

Please take a look at [1].  I'm not an expert on the assember, but the
directions Andy gave there helped a lot.

-Stephen

[1] http://mail-archives.apache.org/mod_mbox/jena-dev/201210.mbox/%3C506D90DE.3020001@apache.org%3E


On Mon, Nov 12, 2012 at 8:34 AM, Pierre LINDENBAUM <pl...@yahoo.fr> wrote:
>
>
> (cross posted on SO: http://stackoverflow.com/questions/13344429 )
>
> I wrote an implementation of com.hp.hpl.jena.graph.impl.GraphBase
>
>
> packagemygraph;import(...)publicclassMyGraphextendsGraphBase{publicMyGraph(){}@OverrideprotectedExtendedIterator<Triple>graphBaseFind(TripleMatchm ){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 ?
>
>
> Thanks,
>
> Pierre
>