Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
User-created regression and unit tests for dbpedia.org
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
001_true.sparql
002_false.sparql
003_false.sparql
004_false.sparql
005_false.sparql
006_false.sparql
007_false.sparql
README.markdown
test.rb

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.

Something went wrong with that request. Please try again.