Hi Alexandru,
First of all sorry for my belated reply.

On 06/29/2011 07:38 PM, Alexandru Todor wrote:
> Hi Mohamed,
>
>     But, in order to get DBpedia-Live working you should execute that
>
>     command "mvn scala:run".
>
>
> Where exactly should I execute the scala:run command. Running it in the
> extraction_framework directory just tries to run the "server" and
> running it in the "live" directory just gives me a "[WARNING] Not
> mainClass or valid launcher found/define" .

You should execute it from "live" folder.
At first, you told me that it works but it only wrote some statistics, 
which means that it was working.
Anyway try to the following fragment to pom.xml file of live module, and 
tell me if it works or not.

<build>
        <plugins>
          <plugin>

          <groupId>org.scala-tools</groupId>
          <artifactId>maven-scala-plugin</artifactId>
       <!--version>2.13.2-SNAPSHOT</version-->

       <configuration>
         <launchers>
           <launcher>
             <id>Extract</id>
             <mainClass>org.dbpedia.extraction.live.main.Main</mainClass>
             <jvmArgs>
               <jvmArg>-Xmx1024m</jvmArg>
             </jvmArgs>
           </launcher>
         </launchers>
       </configuration>
<executions>

                 <execution>
                     <id>compile</id>
                     <goals>
                         <goal>compile</goal>
                     </goals>
                     <phase>compile</phase>
                 </execution>

<execution>
                     <id>test-compile</id>
                     <goals>
                         <goal>testCompile</goal>
                     </goals>
                     <phase>test-compile</phase>
                 </execution>

                 <execution>
                     <id>process-resources</id>
                     <goals>
                         <goal>compile</goal>
                     </goals>
                     <phase>process-resources</phase>
                 </execution>

             </executions>


          </plugin>
     </plugins>
   </build>



>     Moreover and this is the most important point, in order to get
>
>     DBpedia-Live running you should have access to the Live-Update stream of
>
>     Wikipedia.
>
>     In order to get access to such a stream you should have a username and
>
>     password with suitable privileges. This can only be done by contacting
>
>     Wikipedia maintainers in order to get your login credentials. So you
>
>     should contact them before getting everything ready for work.
>
>
> Can you give me a link to a contact page or an e-mail address where I
> can contact the maintainers ?

I may contact you later, if my group finds a way fro this.

> Furthermore, in which config file to I set the user and password for the
> Live Update Stream ? I've looked in dbpedia_default.ini , but I only see
> config options for Virtuoso and Mysql (and postgress) but nothing for an
> update stream.
> Looking trough the code I've found String oaiUri =
> "http://en.wikipedia.org/wiki/Special:OAIRepository"; and String oaiUri =
> "http://live.dbpedia.org/syncwiki/Special:OAIRepository"; but I don't see
> any authentication for those.

If you check the "Main" class you will find that line:
authenticate("dbpedia", Files.readFile(new File("pw.txt")).trim());
Actually this function call performs the authentication step as the 
password is stored in a file named "pw.txt" located in live folder by 
default.

So, when you get an account from Wikipedia maintainers, you should 
replace "dbpedia" with your username, and create a file in "live" folder 
and place you password in it.

Hope that helps.



-- 
Kind Regards
Mohamed Morsey
Department of Computer Science
University of Leipzig


>
> Kind Regards,
> Alexandru
>
> On Wed, Jun 29, 2011 at 5:31 PM, Mohamed Morsey
> <[email protected]
> <mailto:[email protected]>>
> wrote:
>
>     Hi Alexandru,
>     it's so nice to have a German DBpedia-Live working ;).
>
>     But, in order to get DBpedia-Live working you should execute that
>     command "mvn scala:run".
>
>     Moreover and this is the most important point, in order to get
>     DBpedia-Live running you should have access to the Live-Update stream of
>     Wikipedia.
>     In order to get access to such a stream you should have a username and
>     password with suitable privileges. This can only be done by contacting
>     Wikipedia maintainers in order to get your login credentials. So you
>     should contact them before getting everything ready for work.
>
>     If you have any further, don't hesitate to contact me.
>
>     --
>     Kind Regards
>     Mohamed Morsey
>     Department of Computer Science
>     University of Leipzig
>
>
>     On 06/29/2011 04:03 PM, Alexandru Todor wrote:
>      > Hi,
>      >
>      > I'm a new maintainer for the German language DBPedia and I'm
>     currently
>      > trying to install DBPedia Live. I've configured everything
>     including the
>      > Abstract Extractor and the dump extraction works, but I can't get the
>      > Live Extraction to run. Since I've found no readme file, I've
>     tried the
>      > same approach as with the dump extractor, namely scala:run (bad idea
>      > since the main class is java). Then I've tried running the java Main
>      > class in org.dbpedia.extraction.live.main.Main with maven:exec,
>     however
>      > that only seems to write the statistics in
>      > publishdata/instancesstats.txt and nothing more.
>      >
>      > If there are some installation instructions cold you  point me to
>     them.
>      > If not, could you please tell me how to run the Live Extraction.
>      >
>      > Kind Regards,
>      > Alexandru
>      >
>      >
>      >
>      >
>      >
>      >
>      >
>      >
>      >
>      >
>      >
>     
> ------------------------------------------------------------------------------
>      > All of the data generated in your IT infrastructure is seriously
>     valuable.
>      > Why? It contains a definitive record of application performance,
>     security
>      > threats, fraudulent activity, and more. Splunk takes this data
>     and makes
>      > sense of it. IT sense. And common sense.
>      > http://p.sf.net/sfu/splunk-d2d-c2
>      >
>
>
>
>     
> ------------------------------------------------------------------------------
>     All of the data generated in your IT infrastructure is seriously
>     valuable.
>     Why? It contains a definitive record of application performance,
>     security
>     threats, fraudulent activity, and more. Splunk takes this data and makes
>     sense of it. IT sense. And common sense.
>     http://p.sf.net/sfu/splunk-d2d-c2
>     _______________________________________________
>     Dbpedia-discussion mailing list
>     [email protected]
>     <mailto:[email protected]>
>     https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
>
>
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
>



------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to