MULDER runs on Debian GNU/Linux and OS X and Python 3.5
-
Download MULDER Clone using git:
$ git clone https://github.com/SDM-TIB/MULDER.git
-
Go to MULDER folder:
$ cd MULDER
-
Run:
pip install -r requirements.txt
-
Install MULDER:
python3 setup.py install
-
Create endpoints list
endpoints.txt
Example:
http://biotea.linkeddata.es/sparql http://colil.dbcls.jp/sparql
-
Run RDF molecule template extractor in
scripts
folder:./create_rdfmts.py -s endpoints.txt -o templates/mytemplates.json>
-
Create configuration file,
config.json
inconfig
folder:Example:
{ "MoleculeTemplates": [ { "type": "filepath", "path":"templates/mytemplates.json" } ] }
-
Now MULDER is ready to "investigate" :)
MULDER currently supports endpoints that answer queries either on JSON. Expect hard failures if you intend to use MULDER on endpoints that answer in any other format.
Once you installed MULDER and the Molecule Templates are ready with config.json, you can start running MULDER using the following script:
$ python3.5 test_mulder.py -p <planonly> -q <query> -c <path/to/config.json> -s <isstring>
where:
<query>
: - SPARQL QUERY<path/to/config.json>
: - path to configuration file<isstring>
: - (Optional) set if is sent as string: available values 1 or -1. -1 is default, meaning query is from file<planonly>
: - (Optional) if set True, then only execution plan is generated and showed. If False (default), then the generated plan will be executed, too.
$./runQueries.sh <path/to/queries-dir> <path/to/config.json> <path/to/results-folder> errors.txt <planonlyTorF> &
OR
$ python3.5 start_experiment.py -c <path/to/config.json> -q <query-file> -r <path/to/results-folder> -t 'MULDER' -s True -p <planonly>
Endris, Kemele M., Mikhail Galkin, Ioanna Lytra, Mohamed Nadjib Mami, Maria-Esther Vidal, and Sören Auer. "MULDER: Querying the Linked Data Web by Bridging RDF Molecule Templates." In International Conference on Database and Expert Systems Applications, pp. 3-18. Springer, Cham, 2017.
Endris, Kemele M., Mikhail Galkin, Ioanna Lytra, Mohamed Nadjib Mami, Maria-Esther Vidal, and Sören Auer. "Querying Interlinked Data by Bridging RDF Molecule Templates." In Transactions on Large-Scale Data-and Knowledge-Centered Systems XXXIX, pp. 1-42. Springer, Berlin, Heidelberg, 2018.