Hello, Alex schrieb: > HI Jens, > > No more error messages after the update, so we’ve made some progress at > least. Thanks for the speedy fix. > > However, running extract_test.php does not seem to actually be > outputting the RDF triples. The following is what I get running the > script from command prompt. > > C:\Users\Alex\Documents\DBpedia\extraction>php extract_test.php > > <http://dbpedia.org/resource/London> > <http://www.w3.org/2000/01/rdf-schema#label > >> "London"@en . > > The output takes about two seconds to appear, followed by the program > immediately terminating. As I understand, extract_test.php should be > using SimpleDumpDestination and thus printing directly to stdout.
Doesn't it print to stdout? Reading your message, it appears that one triple (in N-Triples format) was extracted and print to stdout. extract_test.php downloads the page specified in extract.php from Wikipedia (which explains the delay). In this case, it is the article about "London". It then runs the extractor specified in extract_test.php on this article (by default "SampleExtractor"). The result is printed to stdout. As mentioned previously, extract_full.php should be used for producing a complete DBpedia release (but you need to use import.php to download the corresponding Wikipedia dumps before and import them in MySQL databases). Kind regards, Jens -- Dipl. Inf. Jens Lehmann Department of Computer Science, University of Leipzig Homepage: http://www.jens-lehmann.org GPG Key: http://jens-lehmann.org/jens_lehmann.asc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Dbpedia-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
