Singleton Property Reasoning

From Knoesis wiki
Revision as of 10:32, 4 May 2015 by Vinh (Talk | contribs)

Jump to: navigation, search

Downloads

The packages are available for download at sourceforge.net

LUBM-SP: http://sourceforge.net/projects/graphke/files/lubmsp_1.0.0.jar/download

LUBM-SP ontology: http://sourceforge.net/projects/graphke/files/lubmsp_onto.nt/download

SPARQL queries http://sourceforge.net/projects/graphke/files/queries.tar.gz/download

Jena Query evaluation http://sourceforge.net/projects/graphke/files/lubmsp_query_eval_1.0.0.jar/download

How to use

Here we explain the step-by-step to generate the LUBM-SP datasets

Generate LUBM-SP

1. mkdir lubmsp
2. cd lubmsp
3. Download the lubmsp_1.0.0.jar into this folder
4. Run the code, the number of university may be 50, 500, or 1000
java -jar lubmsp_1.0.0.jar -univ 500 -index 0 -onto http://knoesis.org/lubmsp
5. Three data files generated
LUBM_500.nt: the original LUBM in the form of ntriples
LUBM_500_sp.nt: the LUBM-SP in the form of ntriples
LUBM_500.rdf: the original LUBM in the form of RDF/XML

Query evaluation in Jena

1. cd lubmsp
1. Download the queries.tar.gz 
2. tar -xzvf queries.tar.gz
3.