Skip to content
Snippets Groups Projects
user avatar
sarahbensberg authored
Command line program with functions to use Elasticsearch as a search engine for RDF-based metadata graphs in the context of CoScInE
adbfea60
History

This repository contains the code created in the master thesis "An Efficient Semantic Search Engine for Research Data in an RDF-based Knowledge Graph" to implement a search engine for RDF-based metadata graphs based on Virtuoso, Elasticsearch and the developed mapping of the data.

Code documentation:

The code documentation can be found under ./docs/index.html.

Setup/Prerequisites:

How to use:

  1. (Re-)Build solution (Install/restore necessary packages)
  2. Start Virtuoso
  3. Start Elasticsearch
  4. Run SemanticSearchImplementation.exe with the necessary arguments

Commandline arguments

Option Description
-a, --action Required. Possible action: search, reindex, index, delete or add
-v (Default: localhost) Server name of Virtuoso
--vp (Default: 1111) Port of Virtuoso
--db (Default: db) DB of Virtuoso
--dbUser (Default: dba) Database user of Virtuoso
--dbPassword (Default: dba) Database password of Virtuoso
-e (Default: localhost) Server name of Elasticsearch
--ep (Default: 9200) Port of Elasticsearch
-l (Default: en) Specify language
-d, --doc ID of metadata graph
-q, --query (Default: *) Elasticsearch query
--adv (Default: false) Set true for advanced Elasticsearch search syntax
-u, --user (Default: ) Specify user or only public metadata records could be found