Commit 30af32ef authored by Adam Kučera's avatar Adam Kučera
Browse files

another markdown

parent b9500426
......@@ -11,7 +11,9 @@ For other platforms (e.g. Linux), there is pre-generated NT file (./NT-Data/samp
line utility. For the performance testing, other tools, such as curl or wget, must be used.
The generated data represent mock-up facility of an organization.
They consist of several sites and buildings. Each building is equipped with an PLC, an energy meter and two data points representing energy consumption - overall and last month.
Each room is equipped with a temperature sensor, a humidity sensor, a motion sensor and a PLC that publishes following data points:
* Air temperature
* Air humidity
......@@ -49,6 +51,7 @@ If you intend to use the provided pre-generated data, proceed directly to step 3
The script generates CSV files into the CSV-Data folder.
Optional parameters:
-Sites [Default: 5] - number of sites in the dataset
-Buildings [Default: 5] - number of buildings in each site
......@@ -59,6 +62,7 @@ If you intend to use the provided pre-generated data, proceed directly to step 3
-OutFolder [Default: ".\CSV-Data"] - output folder for the generated CSV
2. [Optional] Run the script .\Generate-Triples.ps1
The script generates an N-Triples file into the NT-Data folder, based on the CSV files located in the .\CSV-Data folder.
......@@ -75,6 +79,7 @@ If you intend to use the provided pre-generated data, proceed directly to step 3
Pre-generated NT file for the test mock-up with the default size is available in the NT-Data folder as sample.nt.
3. Run the script .\Create-TDB.ps1
The script will create the TDB triplestore using the Apache Jena framework.
......@@ -93,12 +98,15 @@ If you intend to use the provided pre-generated data, proceed directly to step 3
```
Statistics of the TDB can be found in the <Your tdb location>\stats.opt file.
4. Deploy the Semantic API into the Apache Tomcat (see Readme on the project site)
5. Set up the SemanticAPI to use the created TDB if needed
Update the tdb.path property in the semantics.properties file
6. [Optional] Run the Apache Tomcat
Execute the bin\startup.bat script
......@@ -106,6 +114,7 @@ If you intend to use the provided pre-generated data, proceed directly to step 3
This step is recommended if you plan to run several rounds of benchmarks, as the Tomcat container is not started each time
the tests are executed
7. Run the script Performance-Test.ps1
The script will start the performance benchmark and outputs the result to standard output
......@@ -114,6 +123,7 @@ If you intend to use the provided pre-generated data, proceed directly to step 3
If you did not start the Apache Tomcat in the previous step, use the -ManageTomcat switch. You can also set the path to
the Apache Tomcat installation directory by the -TomcatHome param (Default is C:\apache-tomcat)
8. [Optional] Stop the Apache Tomcat
Execute the bin\shutdown.bat script if you did not use the -ManageTomcat option and started the server manually in the step 6
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment