Virtual Log Graph Query Processor is a web based application that provides an interface to formulate SPARQL queries and distributes the queries among individual endpoints to retrieve, integrate, and present the resulting data sets (log graph) from each hosts/endpoint.
This application contains several components:
- SPARQL Query Editor, This component allows users to formulate and execute SPARQL queries against hosts. The query editor provides options that allow analysts to define settings for the query execution, including:
- Target Hosts: a collection of endpoints which should be consid-ered in the log analysis,
- Knowledge bases: a collection of internaland/or external sources of background knowledge that should beincluded in the query execution (e.g., SEPSES-CSKG and DBPedia)
- Time Interval: the time range of interest for the log analysis(i.e., start time and end time).
- Query Parser, this component parses the raw SPARQL syntax into a structured format to easier access the elements and variables (i.e. JSON). We use SPARQL.JS an open-source SPARQL query parser.
- Query Engine, it use to execute SPARQL Query against the RDF-HDT data produced by Log Parser. We used Comunica, a modular query engine platform that supports querying over multiple heterogeneous linkeddata interfaces (e.g., HDT, File, SPARQL Endpoint, TPF, etc)
- Visualization, this component presents the query results (e.g. HTML table).
There are some configuration should be made prior running the application. Please take a look at the configuration file (public/input_hdt.json).
to add hosts/endpoint option:
"hostEndpoint":[{
"name":"hostEndpoint", #name of Endpoint
"id":"hostEndpoint0", #id of endpoint
"value":"/home/VloGraphQueryProcessor/uploads/10.5.0.2.hdt", #location of produced hdt file
"label":"Host 1", #label of endopoint
"checked":"checked" #default check
}..
to add background knowledge:
"bgKnowledge":[{
"name":"bgk_file", #name of background knowledge
"type":"file", #interface type
"id":"eventknowledge", #id of background knowledge
"value":"https://sepses.ifs.tuwien.ac.at/knowledge/eventKnowledge.ttl", #
"label":"Internal Knowledge", #label of backgroud knowledge
"checked":"" #default checked
}..
This project can be setup by cloning and installing and running it as follows:
$ git clone https://github.com/sepses/VloGraphQueryProcessor.git
$ cd VlogGraphQueryProcessor
$ npm install
$ npm start
the engine will run at http://localhost:3000
The Virtual Log Graph Query Processor is written by Kabul Kurniawan released under the MIT license.