Re: [Wikidata-l] Wikidata Toolkit 0.1.0 released

2014-04-09 Thread Daniel Kinzler
Am 08.04.2014 23:34, schrieb Denny Vrandečić:
 I was trying to use this, but my Java is a bit rusty. How do I run the
 DumpProcessingExample?
 
 I did the following steps:
 
 git clone https://github.com/Wikidata/Wikidata-Toolkit
 cd Wikidata-Toolkit
 mvn install
 mvn test
 
 Now, how do I start DumpProcessingExample?

Looks like you are supposed to run it from Eclipse.

It would be very useful if maven would generate a jar with all dependencies for
the examples, or if there was a shell script that would allow us to run classes
without the need to specify the full class path.

Finding out how to get all the libs you need into the classpath is one of the
major annoyances of java...

-- daniel

-- 
Daniel Kinzler
Senior Software Developer

Wikimedia Deutschland
Gesellschaft zur Förderung Freien Wissens e.V.

___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] Wikidata Toolkit 0.1.0 released

2014-04-09 Thread Gerard Meijssen
Hoi,

What is the relevance of these tools when you have to have specialised
environments to use them ?
Thanks,
 GerardM


On 9 April 2014 10:41, Daniel Kinzler daniel.kinz...@wikimedia.de wrote:

 Am 08.04.2014 23:34, schrieb Denny Vrandečić:
  I was trying to use this, but my Java is a bit rusty. How do I run the
  DumpProcessingExample?
 
  I did the following steps:
 
  git clone https://github.com/Wikidata/Wikidata-Toolkit
  cd Wikidata-Toolkit
  mvn install
  mvn test
 
  Now, how do I start DumpProcessingExample?

 Looks like you are supposed to run it from Eclipse.

 It would be very useful if maven would generate a jar with all
 dependencies for
 the examples, or if there was a shell script that would allow us to run
 classes
 without the need to specify the full class path.

 Finding out how to get all the libs you need into the classpath is one of
 the
 major annoyances of java...

 -- daniel

 --
 Daniel Kinzler
 Senior Software Developer

 Wikimedia Deutschland
 Gesellschaft zur Förderung Freien Wissens e.V.

 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l

___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] Wikidata Toolkit 0.1.0 released

2014-04-09 Thread Markus Krötzsch

Hi Gerard.

On 09/04/14 10:54, Gerard Meijssen wrote:

Hoi,

What is the relevance of these tools when you have to have specialised
environments to use them ?


Not sure what you mean. Wikidata Toolkit doesn't have any requirements 
other than plain old Java to run.


Nevertheless, we'd also like to support people who are using some of the 
common Java development tools that are around, especially the free ones. 
Currently, we only have instructions for Eclipse users, but we could 
extend this. Which tools do you normally use to develop Java?


Cheers

Markus




On 9 April 2014 10:41, Daniel Kinzler daniel.kinz...@wikimedia.de
mailto:daniel.kinz...@wikimedia.de wrote:

Am 08.04.2014 23:34, schrieb Denny Vrandečić:
  I was trying to use this, but my Java is a bit rusty. How do I
run the
  DumpProcessingExample?
 
  I did the following steps:
 
  git clone https://github.com/Wikidata/Wikidata-Toolkit
  cd Wikidata-Toolkit
  mvn install
  mvn test
 
  Now, how do I start DumpProcessingExample?

Looks like you are supposed to run it from Eclipse.

It would be very useful if maven would generate a jar with all
dependencies for
the examples, or if there was a shell script that would allow us to
run classes
without the need to specify the full class path.

Finding out how to get all the libs you need into the classpath is
one of the
major annoyances of java...

-- daniel

--
Daniel Kinzler
Senior Software Developer

Wikimedia Deutschland
Gesellschaft zur Förderung Freien Wissens e.V.

___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org mailto:Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l




___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l




___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] Wikidata Toolkit 0.1.0 released

2014-04-09 Thread Denny Vrandečić
Hi Markus,

On Wed Apr 09 2014 at 4:18:50 AM, Markus Krötzsch 
mar...@semantic-mediawiki.org wrote:

 Change to the directory of the example module (wdtk-examples), then run:

 mvn exec:java
 -Dexec.mainClass=org.wikidata.wdtk.examples.DumpProcessingExample


Thanks, that is exactly what I needed! :)

I understand that WDTK is a library to be used in your own applications,
but I am often not patient enough to actually go and code up a whole app
myself in a new dev environment before I actually see that the thing is
running. So being able to actually start and run the example application is
superuseful for my motivation, because now I can go ahead and tinker with
it while it is running, and iteratively change it to what I want.

Thanks again for the prompt and useful answer! It works like a charm now!

Cheers,
Denny
___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l


Re: [Wikidata-l] Wikidata Toolkit 0.1.0 released

2014-03-31 Thread Scott MacLeod
Congratulations, Markus!!

Thanks so much for developing these digital tools.

Scott



On Mon, Mar 31, 2014 at 1:46 PM, Lydia Pintscher 
lydia.pintsc...@wikimedia.de wrote:

 On Mon, Mar 31, 2014 at 3:47 PM, Markus Krötzsch
 mar...@semantic-mediawiki.org wrote:
  Dear all,
 
  I am happy to announce the very first release of Wikidata Toolkit [1],
 the
  Java library for programming with Wikidata and Wikibase. This initial
  release can download and parse Wikidata dump files for you, so as to
 process
  all Wikidata content in a streaming fashion. An example program is
 provided
  [2]. The libary can also be used with MediaWiki dumps generated by other
  Wikibase installations (if you happen to work in EAGLE ;-).
 
  Maven users can get the library directly from Maven Central (see [1]);
 this
  is the preferred method of installation. There is also an all-in-one JAR
 at
  github [3] and of course the sources [4].
 
  Version 0.1.0 is of course alpha, but the code that we have is already
  well-tested and well-documented. Improvements that are planned for the
 next
  release include:
 
  * Faster and more robust loading of Wikibase dumps
  * Support for various serialization formats, such as JSON and RDF
  * Initial support for Wikibase API access
 
  Nevertheless, you can already give it a try now. In later releases, it is
  also planned to support more advanced processing after loading,
 especially
  for storing and querying the data.
 
  Feedback is welcome. Developers are also invited to contribute via
 github.

 Congrats, Markus! Great to see a first release.
 Want to post something on Wikidata:Project chat too?


 Cheers
 Lydia

 --
 Lydia Pintscher - http://about.me/lydia.pintscher
 Product Manager for Wikidata

 Wikimedia Deutschland e.V.
 Tempelhofer Ufer 23-24
 10963 Berlin
 www.wikimedia.de

 Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.

 Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg
 unter der Nummer 23855 Nz. Als gemeinnützig anerkannt durch das
 Finanzamt für Körperschaften I Berlin, Steuernummer 27/681/51985.

 ___
 Wikidata-l mailing list
 Wikidata-l@lists.wikimedia.org
 https://lists.wikimedia.org/mailman/listinfo/wikidata-l




-- 
- Scott MacLeod - Founder  President
- http://scottmacleod.com/worlduniversityandschool.html
- World University and School - like Wikipedia with MIT OpenCourseWare (not
endorsed by MIT OCW) - incorporated as a nonprofit effective April 2010.
___
Wikidata-l mailing list
Wikidata-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-l