Converting BNode to Resource

2018-07-27 Thread Fajar Juang
Dear all, I am curious whether there is exist a method in Jena that can conveniently “convert” a blank node to a resource. e.g., suppose that I have a model M1 that contains a blank node _:a which has several properties (e.g., rdfs:label, etc), I would like to execute something like: M1.conve

Re: Converting BNode to Resource

2018-07-28 Thread Fajar Juang
t;> Cell: +1 707 318 0442 >> @grechaw >> www.marklogic.com >> >> From: Fajar Juang >> Sent: Friday, July 27, 2018 10:06:12 AM >> To: users@jena.apache.org >> Subject: Converting BNode to Resource >> Dear all, >&

Jena TDB / Fuseki as an OSGi Bundle

2016-08-14 Thread Fajar Juang
Hi, I am currently working on implementing RDF storage as part of an OSGi application. In our settings, there will be around tens of update and hundreds of queries everyday. At the moment, the RDF data is stored as a file that loaded and unloaded everytime there is an update / query. Howev

Re: Jena TDB / Fuseki as an OSGi Bundle

2016-08-15 Thread Fajar Juang
implement-your-own-sparql-endpoint-with.html?m=1 > > Am 15.08.2016 08:53 schrieb "Fajar Juang" : > >> Hi, >> >> I am currently working on implementing RDF storage as part of an OSGi >> application. >> In our settings, there will be around tens of up

Manage Repository (add update delete) in Fuseki from Java

2017-01-11 Thread Fajar Juang
Hi, Is it possible to manage (e.g., add or delete) repositories in Fuseki2 (Stand Alone) from Java code? I tried to browse through the documentation [1], but can’t find any clue on how to do that. Thanks in advance! Fajar [1] https://jena.apache.org/documentation/fuseki2/

Re: Manage Repository (add update delete) in Fuseki from Java

2017-01-12 Thread Fajar Juang
fuseki2/fuseki-server-protocol.html > > Andy > > On 11/01/17 08:57, Fajar Juang wrote: >> Hi, >> >> Is it possible to manage (e.g., add or delete) repositories in Fuseki2 >> (Stand Alone) from Java code? >> I tried to browse through the d

Re: Getting all classes and properties from DAML-based ontology

2015-12-10 Thread Fajar Juang
Hi Arif, AFAIK, DAML format is not supported by Jena at the moment (also mentioned by Dave before). It was used around year 2000 I think, and then replaced by RDF(S)/OWL format as a standard. I check the GEDCOM ontology, and it shouldn’t be too hard to recreate them in OWL format from scratch

Fuseki2 Client Access from Java

2016-04-18 Thread Fajar Juang
Hi, Are there any documentation on how to access Fuseki2 server from a Java client (to manage datasets)? the current link [1] is empty and if there are any pointer to certain classes to start with, I am happy to explore. Thanks in advance! Fajar [1] https://jena.apache.org/documentation/fuse

Re: Fuseki2 Client Access from Java

2016-04-19 Thread Fajar Juang
> On Tue, Apr 19, 2016 at 7:37 AM, Fajar Juang wrote: >> Hi, >> >> Are there any documentation on how to access Fuseki2 server from a Java >> client (to manage datasets)? >> the current link [1] is empty and if there are any pointer to certain >> class

Re: Fuseki2 Client Access from Java

2016-04-19 Thread Fajar Juang
Hi Andy, Thanks for the pointers. I’ll check the documents and classes in the next few days/weeks, and will report back if I found any difficulties / blocker. Best regards, Fajar > On 19 Apr 2016, at 19:05, Andy Seaborne wrote: > > On 19/04/16 06:37, Fajar Juang wrote: >>

Configuring TDB to use inference within assembler file

2014-03-07 Thread Fajar Juang Ekaputra
Hi, I am trying to run TDB with jena rules inference using assembly file. I could do it with Fuseki, but I cannot find any example to run it with non-Fuseki TDB storage. Is it possible to do this? I copy my assembler file below. Using this assembler, it seems that Jena only read from the dat

Re: Configuring TDB to use inference within assembler file

2014-03-15 Thread Fajar Juang Ekaputra
/14 01:54, Fajar Juang Ekaputra wrote: >> Hi, >> >> I am trying to run TDB with jena rules inference using assembly >> file. > I could do it with Fuseki, but I cannot find any example to run it with > non-Fuseki TDB storage. Is it possible to do this? &

Re: Configuring TDB to use inference within assembler file

2014-03-17 Thread Fajar Juang Ekaputra
Hi Andy, Thanks again for the info! I will definitely try the suggestion of yours. Thank you and best regards, -- Fajar J. Ekaputra On 16 Mar 2014, at 18:42, Andy Seaborne wrote: > On 16/03/14 06:42, Fajar Juang Ekaputra wrote: >> Hi Andy, >> >> Thank you for the inf

Apache Jena OSGI release?

2014-09-24 Thread Fajar Juang Ekaputra
Hi All, Currently, I found that Apache Clerezza [1] is bundling the Jena for OSGi environment, but as far as I tried it, currently there are no support for Jena-TDB in it (Maybe I do it wrong though..) So I have two questions: 1. Is there any plan to release the official Apache Jena (ARQ, co

Re: Find *exact* triple differences between two ontologies

2015-03-31 Thread Fajar Juang Ekaputra
Hi Dave, Thank you for your fast reply. > On 31 Mar 2015, at 14:41, Dave Reynolds wrote: > > On 31/03/15 12:32, Ekaputra Fajar Juang wrote: >> I’m using both model.difference(model) and model.remove(model) to get >> all differences in triples between two ontologi

TDB Initialisation size

2015-04-12 Thread Fajar Juang Ekaputra
Hi All, I tried the following code to create empty Jena TDB repo: Dataset ds = TDBFactory.createDataset("examples/tdb-1"); And surprisingly I got the massive 201,3 MB empty repo on my “examples/tdb-1” folder on my Mac. Is this a normal size for an empty TDB repo? if yes, is there any docume

Re: TDB Initialisation size

2015-04-13 Thread Fajar Juang Ekaputra
Hi Andy, Thanks for the quick answer! Best regards, -- Fajar J. Ekaputra > On 13 Apr 2015, at 15:38, Andy Seaborne wrote: > > On 13/04/15 07:10, Fajar Juang Ekaputra wrote: >> Hi All, >> >> I tried the following code to create empty Jena

Re: Work on Jena3

2015-04-24 Thread Fajar Juang Ekaputra
Hi Andy, Is there no plan for OWL2 adoption yet in the near future? Best regards, -- Fajar J. Ekaputra > On 24 Apr 2015, at 15:16, Andy Seaborne wrote: > > Hi all, > > Development has started on Jena3. > > The main changes currently planned are: > > * Package renaming >com.hp.hpl.jen

Jena Schemagen Documentation vs Tool

2015-09-02 Thread Fajar Juang Ekaputra
Hi All, I am trying to follow the schemagen documentation as listed in [1] to retrieve java file from my ontology. However, when I am running the “schemagen” tool from /bin/schemagen, it provide me with totally different options compared with the documentation. Am I running different/wrong sch

Re: Jena Schemagen Documentation vs Tool

2015-09-02 Thread Fajar Juang Ekaputra
contain this piece of information (about other schemagen). Thanks again!, -- Fajar J. Ekaputra > On 02 Sep 2015, at 11:42, Dave Reynolds wrote: > > On 02/09/15 10:28, Fajar Juang Ekaputra wrote: >> Hi All, >> >> I am trying to follow the schemagen documentation as li