Hi,

That was just me being silly, it seems. I failed to notice that 
extract_test.php uses SampleExtractor, and that SamplExtractor is only 
meant to print out one triple. Changing it to use InfoboxExtractor 
proves that the framework is indeed working.

There is one other point to note, however... The databaseconfig.php file 
is now missing from the SVN repository. I did however have an old 
version of the file in my directory (not sure which revision), which I 
used to run extract_dataset.php (this script requires the databaseconfig 
file). I receive these errors however:

C:\Users\Alex\Documents\DBpeida\extraction>php extract_dataset.php
PHP Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL 
result
resource in 
C:\Users\Alex\Documents\DBpeida\extraction\iterators\AllArticlesSql
Iterator.php on line 55
PHP Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL 
result
resource in 
C:\Users\Alex\Documents\DBpeida\extraction\iterators\AllArticlesSql
Iterator.php on line 55

Without the databaseconfig.php file in place, I receive the following 
errors:

C:\Users\Alex\Documents\DBpeida\extraction>php extract_dataset.php
PHP Warning: include(databaseconfig.php): failed to open stream: No such 
file o
r directory in 
C:\Users\Alex\Documents\DBpeida\extraction\iterators\AllArticlesS
qlIterator.php on line 19
PHP Warning: include(): Failed opening 'databaseconfig.php' for 
inclusion (incl
ude_path='.;C:\php5\pear') in 
C:\Users\Alex\Documents\DBpeida\extraction\iterato
rs\AllArticlesSqlIterator.php on line 19
PHP Notice: Undefined variable: dbprefix in 
C:\Users\Alex\Documents\DBpeida\ext
raction\iterators\AllArticlesSqlIterator.php on line 21
PHP Notice: Undefined variable: host in 
C:\Users\Alex\Documents\DBpeida\extract
ion\iterators\AllArticlesSqlIterator.php on line 23
PHP Notice: Undefined variable: user in 
C:\Users\Alex\Documents\DBpeida\extract
ion\iterators\AllArticlesSqlIterator.php on line 23
PHP Notice: Undefined variable: password in 
C:\Users\Alex\Documents\DBpeida\ext
raction\iterators\AllArticlesSqlIterator.php on line 23
PHP Warning: mysql_connect(): Access denied for user 'ODBC'@'localhost' 
(using
password: NO) in 
C:\Users\Alex\Documents\DBpeida\extraction\iterators\AllArticle
sSqlIterator.php on line 23
Keine Verbindung m´┐¢glich: Access denied for user 'ODBC'@'localhost' 
(using pas
sword: NO)

Is the extract_dataset.php file now deprecated too? I can't seem to 
figure out its purpose. (Unfortunately, the Documentation page on the 
wiki is still very incomplete, as I'm sure you know.) If not, do these 
errors mean anything to you?

Thanks for your assistance.

Regards,
Alex

------------------------------------------------------------------------------
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

Reply via email to