public
Description: User-generated regression and unit tests for dbpedia.org
Homepage:
Clone URL: git://github.com/tommorris/dbpedia-tests.git
name age message
file .gitignore Sat May 02 16:26:15 -0700 2009 written two tests for dbpedia [tommorris]
file 001_true.sparql Sat May 02 16:26:15 -0700 2009 written two tests for dbpedia [tommorris]
file 002_false.sparql Sat May 02 16:26:15 -0700 2009 written two tests for dbpedia [tommorris]
file 003_false.sparql Thu Nov 05 04:05:29 -0800 2009 fixed test 003 [Tom Morris]
file 004_false.sparql Thu Nov 05 04:19:04 -0800 2009 Written a test for bug #2840390 (on dbpedia's s... [Tom Morris]
file 005_false.sparql Thu Nov 05 04:23:53 -0800 2009 Discovered while reading up on bug #2840390 - H... [Tom Morris]
file README.markdown Thu Nov 05 04:05:03 -0800 2009 Updated README [Tom Morris]
file test.rb Thu Nov 05 04:02:16 -0800 2009 written test harness [Tom Morris]
README.markdown

dbpedia-tests

If you find something weird in dbpedia that's not just an inaccuracy in Wikipedia, add a test here. Even if it's not weird, add tests. If the data that you are testing might be a bit controversial, do put some justificatory links (perhaps to Wikipedia) in comments.

SPARQL testing

Testing dbpedia is easy! You simply use the SPARQL ASK query. Then you specify in the filename whether or not it should evaluate as true or false. The file name should either end with _true.sparql or _false.sparql and contain no other queries except an ASK query.

Running tests

You need to have Ruby 1.8.6+ installed, as well as the Curl library and the Curb gem (Ruby bindings for Curl). Just run test.rb and watch the results come flowing in.