From leo.sauermann at dfki.de Tue Sep 2 16:02:16 2008 From: leo.sauermann at dfki.de (Leo Sauermann) Date: Tue, 02 Sep 2008 16:02:16 +0200 Subject: [Rdf2go-devel] RDF2Go Problem when Running aperture osgi example In-Reply-To: <48B70ECC.7080806@dfki.uni-kl.de> References: <48B6C204.2040402@fzi.de> <48B70ECC.7080806@dfki.uni-kl.de> Message-ID: <48BD4768.9050804@dfki.de> besides that, the OSGi release of RDF2Go is FUBAR. because of the idea to have it separated into three jars (where I always said one jar is enough) which actually have a cross-dependency "built-in" as a feature which effectively blocks you from compiling anything (including nice untraceable bugs) as a solution for this I still stand to my initial point: one jar is enough for rdf2go. we have repackaged them for nepomuk, see here: https://dev.nepomuk.semanticdesktop.org/repos/trunk/java/EclipseTargetPlatform2.0/external/eclipse/plugins/ https://dev.nepomuk.semanticdesktop.org/repos/trunk/java/EclipseTargetPlatform2.0/external/eclipse/plugins/org.semweb4j.rdf2go.api_4.6.3.SNAPSHOT.jar https://dev.nepomuk.semanticdesktop.org/repos/trunk/java/EclipseTargetPlatform2.0/external/eclipse/plugins/org.semweb4j.rdf2go.impl.base_4.6.3.SNAPSHOT.jar best Leo It was Antoni Mylka who said at the right time 28.08.2008 22:47 the following words: > Paul H?bner pisze: > >> Hello Together, >> >> i am using the osgi version of aperture. right now i'll try to update to >> the latest version in the svn, but when testing if everything still >> works fine i detected some problems with the RDF2Go sesame2 adapter >> bundle. If i try to start the aperture osgi example i got an >> "java.lang.ClassNotFoundException: >> org.ontoware.rdf2go.impl.StaticBinding". This Class (package) is >> exported by the RDF2Go sesame2 adapter bundle and Imported by the >> aperture example bundle, so in my opinion evrything should be OK but the >> osgi environment is telling me s.th. different :-( >> >> So now my Question: does anyone know about this Problem? Are there >> solutions for this problem ? I would be pleased about any hint or help. >> I am using the current stable equinox version and put the osgi console >> stack trace at the end of the mail. >> >> kind regards, >> >> Paul >> >> >> > > I've been complaining about this already. > > http://octopus13.fzi.de:8080/browse/RTGO-49 > > Basically you need to specify a system property. If you use equinox - > add the following line to config.ini > > org.ontoware.rdf2go.defaultmodelfactory=org.openrdf.rdf2go.RepositoryModelFactory > > Antoni Mylka > antoni.mylka at gmail.com > > > _______________________________________________ > Rdf2go-devel mailing list > Rdf2go-devel at ontoware.org > http://ontoware.org/mailman/listinfo/rdf2go-devel > > -- ____________________________________________________ DI Leo Sauermann http://www.dfki.de/~sauermann Deutsches Forschungszentrum fuer Kuenstliche Intelligenz DFKI GmbH Trippstadter Strasse 122 P.O. Box 2080 Fon: +49 631 20575-116 D-67663 Kaiserslautern Fax: +49 631 20575-102 Germany Mail: leo.sauermann at dfki.de Geschaeftsfuehrung: Prof.Dr.Dr.h.c.mult. Wolfgang Wahlster (Vorsitzender) Dr. Walter Olthoff Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes Amtsgericht Kaiserslautern, HRB 2313 ____________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://ontoware.org/pipermail/rdf2go-devel/attachments/20080902/cb037cd3/attachment-0001.html From axel at rauschma.de Tue Sep 2 16:44:43 2008 From: axel at rauschma.de (Axel Rauschmayer) Date: Tue, 2 Sep 2008 16:44:43 +0200 Subject: [Rdf2go-devel] RDF2Go Problem when Running aperture osgi example In-Reply-To: <48BD4768.9050804@dfki.de> References: <48B6C204.2040402@fzi.de> <48B70ECC.7080806@dfki.uni-kl.de> <48BD4768.9050804@dfki.de> Message-ID: I agree. The less JARs the better. So the usual number of JARs would/ should be 3, right? - RDF2Go core JAR - RDF2Go adapter (Sesame, Jena) - Optional: RDF2Go core source JAR (which would be cool for code browsing in Eclipse). Axel On Sep 2, 2008, at 16:02 , Leo Sauermann wrote: > besides that, the OSGi release of RDF2Go is FUBAR. > > because of the idea to have it separated into three jars (where I > always said one jar is enough) > which actually have a cross-dependency "built-in" as a feature > which effectively blocks you from compiling anything (including nice > untraceable bugs) > > as a solution for this I still stand to my initial point: one jar is > enough for rdf2go. > > we have repackaged them for nepomuk, see here: > https://dev.nepomuk.semanticdesktop.org/repos/trunk/java/EclipseTargetPlatform2.0/external/eclipse/plugins/ > https://dev.nepomuk.semanticdesktop.org/repos/trunk/java/EclipseTargetPlatform2.0/external/eclipse/plugins/org.semweb4j.rdf2go.api_4.6.3.SNAPSHOT.jar > https://dev.nepomuk.semanticdesktop.org/repos/trunk/java/EclipseTargetPlatform2.0/external/eclipse/plugins/org.semweb4j.rdf2go.impl.base_4.6.3.SNAPSHOT.jar > > best > Leo > > It was Antoni Mylka who said at the right time 28.08.2008 22:47 the > following words: >> >> Paul H?bner pisze: >> >>> Hello Together, >>> >>> i am using the osgi version of aperture. right now i'll try to >>> update to >>> the latest version in the svn, but when testing if everything still >>> works fine i detected some problems with the RDF2Go sesame2 adapter >>> bundle. If i try to start the aperture osgi example i got an >>> "java.lang.ClassNotFoundException: >>> org.ontoware.rdf2go.impl.StaticBinding". This Class (package) is >>> exported by the RDF2Go sesame2 adapter bundle and Imported by the >>> aperture example bundle, so in my opinion evrything should be OK >>> but the >>> osgi environment is telling me s.th. different :-( >>> >>> So now my Question: does anyone know about this Problem? Are there >>> solutions for this problem ? I would be pleased about any hint or >>> help. >>> I am using the current stable equinox version and put the osgi >>> console >>> stack trace at the end of the mail. >>> >>> kind regards, >>> >>> Paul >>> >>> >>> >> I've been complaining about this already. >> >> http://octopus13.fzi.de:8080/browse/RTGO-49 >> >> Basically you need to specify a system property. If you use equinox - >> add the following line to config.ini >> >> org >> .ontoware >> .rdf2go.defaultmodelfactory=org.openrdf.rdf2go.RepositoryModelFactory >> >> Antoni Mylka >> antoni.mylka at gmail.com >> >> >> _______________________________________________ >> Rdf2go-devel mailing list >> Rdf2go-devel at ontoware.org >> http://ontoware.org/mailman/listinfo/rdf2go-devel >> >> > > > -- > ____________________________________________________ > DI Leo Sauermann http://www.dfki.de/~sauermann > > Deutsches Forschungszentrum fuer > Kuenstliche Intelligenz DFKI GmbH > Trippstadter Strasse 122 > P.O. Box 2080 Fon: +49 631 20575-116 > D-67663 Kaiserslautern Fax: +49 631 20575-102 > Germany Mail: leo.sauermann at dfki.de > > Geschaeftsfuehrung: > Prof.Dr.Dr.h.c.mult. Wolfgang Wahlster (Vorsitzender) > Dr. Walter Olthoff > Vorsitzender des Aufsichtsrats: > Prof. Dr. h.c. Hans A. Aukes > Amtsgericht Kaiserslautern, HRB 2313 > ____________________________________________________ > _______________________________________________ > Rdf2go-devel mailing list > Rdf2go-devel at ontoware.org > http://ontoware.org/mailman/listinfo/rdf2go-devel -- Axel.Rauschmayer at ifi.lmu.de http://www.pst.ifi.lmu.de/~rauschma/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://ontoware.org/pipermail/rdf2go-devel/attachments/20080902/d7de178b/attachment.html From voelkel at fzi.de Tue Sep 2 16:47:59 2008 From: voelkel at fzi.de (Max Voelkel) Date: Tue, 2 Sep 2008 16:47:59 +0200 Subject: [Rdf2go-devel] RDF2Go Problem when Running aperture osgi example In-Reply-To: References: <48B6C204.2040402@fzi.de> <48B70ECC.7080806@dfki.uni-kl.de> <48BD4768.9050804@dfki.de> Message-ID: <1297371838.20080902164759@fzi.de> AR> I agree. The less JARs the better. So the usual number of JARs would/ AR> should be 3, right? AR> - RDF2Go core JAR AR> - RDF2Go adapter (Sesame, Jena) AR> - Optional: RDF2Go core source JAR (which would be cool for code AR> browsing in Eclipse). I agree, this is our goal. I just raised the importance of http://octopus13.fzi.de:8080/browse/RTGO-47 Kind Regards, Max -- Max V?lkel voelkel at fzi.de | www.Xam.de office +49 721 96 54-854 mobile +49 171 83 59 678 -- FZI Forschungszentrum Informatik an der Universit?t Karlsruhe Haid-und-Neu-Str. 10-14, D-76131 Karlsruhe Tel.: +49-721-9654-0, Fax: +49-721-9654-959 Stiftung des b?rgerlichen Rechts, Az: 14-0563.1 Regierungspr?sidium Karlsruhe. Vorstand: Prof. Dr.-Ing. R?diger Dillmann, Dipl. Wi.-Ing. Michael Flor Prof. Dr. Dr.-Ing. Jivka Ovtcharova, Prof. Dr. rer. nat. Rudi Studer Vorsitzender des Kuratoriums: Ministerialdirigent G?nther Le?nerkraus From steffen.ryll at student.hpi.uni-potsdam.de Wed Sep 3 03:00:08 2008 From: steffen.ryll at student.hpi.uni-potsdam.de (Steffen Ryll) Date: Wed, 03 Sep 2008 03:00:08 +0200 Subject: [Rdf2go-devel] A generate-sources maven plugin for RDFReactor Message-ID: <48BDE198.9010100@student.hpi.uni-potsdam.de> Hi *, as I couldn't find such a thing yet, but still found the idea convincing, I created a maven plugin that uses RDFReactor to generate sources for a maven-managed projects. This plugin allows you to put a RDF Schema into your project and have RDFReactor generate the corresponding Java code from it, whenever the schema changes. With the following POM snippets, you can include the plugin into a project: sryll-plugins Steffen's own small Maven repository http://myhpi.de/~sryll/maven-repo/ true [...] org.semweb4j maven-rdfreactor-plugin src/schema/bpmnq-schema.rdf com.bpmnq.rdf Bpmnq rdfs-classes In addition to the shown configuration options schemaFile, packageName (default: POM groupId), methodPrefix (default: empty string), you can specify skipBuiltins (default: true) and outputDirectory (default: ${project.build.directory}/generated-sources/rdfs-classes) The meaning of these options is the same as in RDFReactor. You can download the source code for this plugin from my small maven repo: http://myhpi.de/~sryll/maven-repo/org/semweb4j/maven-rdfreactor-plugin/0.0.3-SNAPSHOT/maven-rdfreactor-plugin-0.0.3-20080903.001215-3-sources.jar It's licensed under the BSD license, and I'd be happy to see it included in the Semweb4j repository (if you like it). Looking forward to your feedback, Regards, Steffen From venkatesh88 at gmail.com Wed Sep 3 14:11:17 2008 From: venkatesh88 at gmail.com (Venkatesh Nandakumar) Date: Wed, 3 Sep 2008 17:41:17 +0530 Subject: [Rdf2go-devel] Validation in RDF2GO In-Reply-To: <4986ffac0807310315l2fad751cyc36f3cdf02b0bbae@mail.gmail.com> References: <4986ffac0807310315l2fad751cyc36f3cdf02b0bbae@mail.gmail.com> Message-ID: <4986ffac0809030511i1d23c4f1qf302ef0305bd0846@mail.gmail.com> Hi, I'm sorry, But I'm still looking for answers, Am I on the wrong list here? Thanks, Venkatesh Nandakumar On Thu, Jul 31, 2008 at 15:45, Venkatesh Nandakumar wrote: > Hi, > > I'm pretty new to RDF2G0... > I wanted to know if there is some abstraction that you have made in > the lines of ValidityReport of Jena, for RDFS Reasoner? > Or is there any other way to do it? My aim is to feed into the RDF2G0 > model an rdf interpretation of the CommonWikiSyntax and find if it is > Valid. > > Thanking you, > Venkatesh Nandakumar > From gunnar.grimnes at dfki.de Wed Sep 3 14:20:44 2008 From: gunnar.grimnes at dfki.de (Gunnar Aastrand Grimnes) Date: Wed, 03 Sep 2008 14:20:44 +0200 Subject: [Rdf2go-devel] Validation in RDF2GO In-Reply-To: <4986ffac0809030511i1d23c4f1qf302ef0305bd0846@mail.gmail.com> References: <4986ffac0807310315l2fad751cyc36f3cdf02b0bbae@mail.gmail.com> <4986ffac0809030511i1d23c4f1qf302ef0305bd0846@mail.gmail.com> Message-ID: <48BE811C.5000702@dfki.de> In rdf2go there is no rule engine - if you use jena underneath you can invoke jena's rule engine of course. I ported parts of the rule engine to rdf2go before, this is used in aperture for some limited validation. You can look at this - it is incomplete and not documented, but may be able to help you :) http://dev.nepomuk.semanticdesktop.org/wiki/NrlValidator - Gunnar Venkatesh Nandakumar wrote: > Hi, > > I'm sorry, But I'm still looking for answers, Am I on the wrong list here? > > Thanks, > Venkatesh Nandakumar > > On Thu, Jul 31, 2008 at 15:45, Venkatesh Nandakumar > wrote: >> Hi, >> >> I'm pretty new to RDF2G0... >> I wanted to know if there is some abstraction that you have made in >> the lines of ValidityReport of Jena, for RDFS Reasoner? >> Or is there any other way to do it? My aim is to feed into the RDF2G0 >> model an rdf interpretation of the CommonWikiSyntax and find if it is >> Valid. >> >> Thanking you, >> Venkatesh Nandakumar >> > > _______________________________________________ > Rdf2go-devel mailing list > Rdf2go-devel at ontoware.org > http://ontoware.org/mailman/listinfo/rdf2go-devel -- Gunnar Aastrand Grimnes gunnar.grimnes [AT] dfki.de DFKI GmbH Knowledge Management Trippstadter Strasse 122 D-67663 Kaiserslautern Germany Office: +49 631 205 75-117 Mobile: +49 177 277 4397 From voelkel at fzi.de Tue Sep 9 18:01:22 2008 From: voelkel at fzi.de (Max Voelkel) Date: Tue, 9 Sep 2008 18:01:22 +0200 Subject: [Rdf2go-devel] RDFReactor 4.6.2 released Message-ID: <438266295.20080909180122@fzi.de> Hi, RDFReactor 4.6.2 has just been released. It contains basically two small bug fixes, thanks Marco Brunzel and Olaf Grebner for help in finding them. All detail as usual on http://rdfreactor.semweb4j.org Please keep reporting bugs and questions. ;-) Kind Regards, Max -- FZI Forschungszentrum Informatik an der Universit?t Karlsruhe Haid-und-Neu-Str. 10-14, D-76131 Karlsruhe Tel.: +49-721-9654-0, Fax: +49-721-9654-959 Stiftung des b?rgerlichen Rechts, Az: 14-0563.1 Regierungspr?sidium Karlsruhe. Vorstand: Prof. Dr.-Ing. R?diger Dillmann, Dipl. Wi.-Ing. Michael Flor Prof. Dr. Dr.-Ing. Jivka Ovtcharova, Prof. Dr. rer. nat. Rudi Studer Vorsitzender des Kuratoriums: Ministerialdirigent G?nther Le?nerkraus From mariusz.cygan at deri.org Fri Sep 12 09:33:21 2008 From: mariusz.cygan at deri.org (Mariusz Cygan) Date: Fri, 12 Sep 2008 08:33:21 +0100 Subject: [Rdf2go-devel] compatibility Message-ID: <48CA1B41.3010601@deri.org> Hi, The newest version of RDF2GO is bundled with OpenRDF 2.0.1. I was wandering, if it would work with the newest version (currently 2.2). In my opinion it should, as RDF2GO provides only an abstract layer over an API which did not change, but what are your opinions? Cheers, -- Mariusz Cygan Research Assistant, DERI National University of Ireland, Galway From voelkel at fzi.de Fri Sep 12 10:27:51 2008 From: voelkel at fzi.de (Max Voelkel) Date: Fri, 12 Sep 2008 10:27:51 +0200 Subject: [Rdf2go-devel] compatibility In-Reply-To: <48CA1B41.3010601@deri.org> References: <48CA1B41.3010601@deri.org> Message-ID: <673637244.20080912102751@fzi.de> Hi Mariusz, nice to hear from you again. MC> The newest version of RDF2GO is bundled with OpenRDF 2.0.1. I was MC> wandering, if it would work with the newest version (currently 2.2). In MC> my opinion it should, as RDF2GO provides only an abstract layer over an MC> API which did not change, but what are your opinions? I share your opinion. Currently, to use RDF2Go on any kind of store, you need four jars: 1) rdf2go.api 2) rdf2go.impl.base 3) rdf2go.impl.util (ok, this one is optional, but nice) 4) rdf2go.impl.STORE We work on putting jars 1,2 and 3 into an single jar. Now back to your question: Only jar 4 does the mapping from rdf2go-api to store-api. If the store-API changes, jar 4 needs to be adapted. I haven't worked with OpenRDF 2.2 yet, but if they didn't change their API, it should work. If they did change their API, we could create an additional rdf2go-4.6.2-on-openrdf-2.2.jar for it. Would you like to contribute to RDF2Go and run the RDF2Go tests against the OpenRDF 2.2? Kind Regards, Max -- Max V?lkel voelkel at fzi.de | www.Xam.de office +49 721 96 54-854 mobile +49 171 83 59 678 -- FZI Forschungszentrum Informatik an der Universit?t Karlsruhe Haid-und-Neu-Str. 10-14, D-76131 Karlsruhe Tel.: +49-721-9654-0, Fax: +49-721-9654-959 Stiftung des b?rgerlichen Rechts, Az: 14-0563.1 Regierungspr?sidium Karlsruhe. Vorstand: Prof. Dr.-Ing. R?diger Dillmann, Dipl. Wi.-Ing. Michael Flor Prof. Dr. Dr.-Ing. Jivka Ovtcharova, Prof. Dr. rer. nat. Rudi Studer Vorsitzender des Kuratoriums: Ministerialdirigent G?nther Le?nerkraus From voelkel at fzi.de Fri Sep 12 10:39:03 2008 From: voelkel at fzi.de (Max Voelkel) Date: Fri, 12 Sep 2008 10:39:03 +0200 Subject: [Rdf2go-devel] developer's question In-Reply-To: <48A937C9.2070401@deri.org> References: <48A937C9.2070401@deri.org> Message-ID: <12110681338.20080912103903@fzi.de> Hi Mariusz, I think I haven't answered this yet. Monday, August 18, 2008, 10:50:17 AM, you wrote: MC> Hi, MC> I would be interested in adding some code to RDF2GO, particularly more MC> configuration options in OpenRDF modelFactory. I though long about configuration of stores. In the end, this seems to be an issue, that makes not so much sense to abstract away. So I propose to do the following when using RDF2Go with a specially configured store: - create configured store instance without using RDF2Go - wrap in RDF2Go, e.g. like Model model = new RepositoryModel( myConfiguredOpenRDFModel ); - use 'model' This adds two or three lines of store-specific code, but, if you will ever change your store it is unlikely that the next store will support the same configuration options anyway. So you will use different options, and hence it seems ok to change a few lines of code. Other opinions on this thinking? MC> What is your policy for outside developers? I would be happy to see new contributors in RDF2Go. MC> In the attachments you can find some early drafts of classes we use in MC> our project. As they are OpenRDF-specific we should add such classes to the openrdf-adapter of rdf2go. I can give you write access to the SVN repository. Please contact me privately for this. Kind Regards, Max -- Max V?lkel voelkel at fzi.de | www.Xam.de office +49 721 96 54-854 mobile +49 171 83 59 678 -- FZI Forschungszentrum Informatik an der Universit?t Karlsruhe Haid-und-Neu-Str. 10-14, D-76131 Karlsruhe Tel.: +49-721-9654-0, Fax: +49-721-9654-959 Stiftung des b?rgerlichen Rechts, Az: 14-0563.1 Regierungspr?sidium Karlsruhe. Vorstand: Prof. Dr.-Ing. R?diger Dillmann, Dipl. Wi.-Ing. Michael Flor Prof. Dr. Dr.-Ing. Jivka Ovtcharova, Prof. Dr. rer. nat. Rudi Studer Vorsitzender des Kuratoriums: Ministerialdirigent G?nther Le?nerkraus From mariusz.cygan at deri.org Fri Sep 12 10:44:24 2008 From: mariusz.cygan at deri.org (Mariusz Cygan) Date: Fri, 12 Sep 2008 09:44:24 +0100 Subject: [Rdf2go-devel] compatibility In-Reply-To: <673637244.20080912102751@fzi.de> References: <48CA1B41.3010601@deri.org> <673637244.20080912102751@fzi.de> Message-ID: <48CA2BE8.7060109@deri.org> Hmm, why not. I would also like to replace all jars from OpenRDF-Sesame with the onejar distribution provided by their team. I'm not sure if you remember, but we were needing to customize the way a repository is created when creating a Model or ModelSet. I did not receive any response from you regarding the policy of adding new code do sesame plugin, so we created our own patch. Please take a look at [1], do you think it would be possible to integrate this functionality in ModelFactory implementation in Sesame plugin? Cheers, [1] http://www.jeromedl.org/rdf2go-patch/1.0/docs/api/ [2] https://jeromedl.svn.sourceforge.net/svnroot/jeromedl/trunk/addons/rdf2go-patch/src/org/corrib/openrdf/OpenRDF.java [3] https://jeromedl.svn.sourceforge.net/svnroot/jeromedl/trunk/addons/rdf2go-patch/test/org/corrib/openrdf/OpenRDFTest.java Mariusz Cygan Research Assistant, DERI National University of Ireland, Galway Max Voelkel wrote: > Hi Mariusz, > > nice to hear from you again. > > MC> The newest version of RDF2GO is bundled with OpenRDF 2.0.1. I was > MC> wandering, if it would work with the newest version (currently 2.2). In > MC> my opinion it should, as RDF2GO provides only an abstract layer over an > MC> API which did not change, but what are your opinions? > > I share your opinion. Currently, to use RDF2Go on any kind of store, you need > four jars: > > 1) rdf2go.api > 2) rdf2go.impl.base > 3) rdf2go.impl.util (ok, this one is optional, but nice) > 4) rdf2go.impl.STORE > > We work on putting jars 1,2 and 3 into an single jar. > > Now back to your question: Only jar 4 does the mapping from rdf2go-api to > store-api. If the store-API changes, jar 4 needs to be adapted. I haven't > worked with OpenRDF 2.2 yet, but if they didn't change their API, it should > work. If they did change their API, we could create an additional > rdf2go-4.6.2-on-openrdf-2.2.jar for it. > > Would you like to contribute to RDF2Go and run the RDF2Go tests against the > OpenRDF 2.2? > > Kind Regards, > Max > -- > Max V?lkel > voelkel at fzi.de | www.Xam.de > office +49 721 96 54-854 > mobile +49 171 83 59 678 > -- > FZI Forschungszentrum Informatik an der Universit?t Karlsruhe > Haid-und-Neu-Str. 10-14, D-76131 Karlsruhe > Tel.: +49-721-9654-0, Fax: +49-721-9654-959 > Stiftung des b?rgerlichen Rechts, Az: 14-0563.1 Regierungspr?sidium Karlsruhe. > Vorstand: Prof. Dr.-Ing. R?diger Dillmann, Dipl. Wi.-Ing. Michael Flor > Prof. Dr. Dr.-Ing. Jivka Ovtcharova, Prof. Dr. rer. nat. Rudi Studer > Vorsitzender des Kuratoriums: Ministerialdirigent G?nther Le?nerkraus