Commit 2df7ec8b authored by UPADHYAY Prajna Devi's avatar UPADHYAY Prajna Devi
Browse files

Updated command to run jar from core folder in README.md

parent d4721fa1
......@@ -26,7 +26,7 @@ This repository includes:
* a beginner-friendly installation through a virtual image (Docker) that will give access only to the web application;
* a full installation in which both command line and web application are installed.-->
ConnectionLens is currently available as a command line application. It allows customizing many parameters, illustrated in `core/settings/local.settings` (for instance: default_locale controls the language etc.). Each parameter has a default value built in the JAR. You can change parameter values to your liking in the `core/settings/local.settings` file; **to make sure your settings are used, add `-c core/settings/local.settings` to the launch command.** A description of the parameters used in this file is given [here](https://gitlab.inria.fr/cedar/connectionlens/-/blob/master/docs/Parameters%20description.md)
ConnectionLens is currently available as a command line application. It allows customizing many parameters, illustrated in `core/src/main/resources/local.settings` (for instance: default_locale controls the language etc.). Each parameter has a default value built in the JAR. You can change parameter values to your liking in the `core/src/main/resources/local.settings` file; **to make sure your settings are used, add `-c core/src/main/resources/local.settings` to the launch command.** A description of the parameters used in this file is given [here](https://gitlab.inria.fr/cedar/connectionlens/-/blob/master/docs/Parameters%20description.md)
<!--# Installation using Docker
......@@ -73,17 +73,17 @@ The example below ingests 5 small data sources of different formats into a graph
#### Creating a small graph (command line)
From the main folder, call the jar in the `core` folder with the following options:
Run the following command from the **core** folder with the following options:
```
java -jar core/connection-lens-core-full-1.1-SNAPSHOT.jar -DRDBMSDBName=cl_myinstance -i data/poc/2/deputes.json,data/poc/2/fb-etienne-chouard.txt,data/poc/2/medias.txt,data/poc/2/tweet-Ruffin.json,data/poc/2/rt-wikipedia.txt
java -jar connection-lens-core-full-1.1-SNAPSHOT.jar -DRDBMSDBName=cl_myinstance -i ../data/poc/2/deputes.json,../data/poc/2/fb-etienne-chouard.txt,../data/poc/2/medias.txt,../data/poc/2/tweet-Ruffin.json,../data/poc/2/rt-wikipedia.txt
```
![image_3.png](./docs/images/image_3.png)
For more options, the following command will provide further details about applicable parameters and options:
java -jar core/connection-lens-core-full-1.1-SNAPSHOT.jar --help
java -jar connection-lens-core-full-1.1-SNAPSHOT.jar --help
```
Usage: java -jar connection-lens-full-<version>.jar [options]
......@@ -151,8 +151,7 @@ Usage: java -jar connection-lens-full-<version>.jar [options]
### Querying
A ConnectionLens query is a set of keywords; an answer is a subtree of the graph, that connects one node matching each keyword.
To ask that a node matches more than one keyword, include those keywords within quotes.
A ConnectionLens query is a set of keywords; an answer is a subtree of the graph, that connects one node matching each keyword. To ask that a node matches more than one keyword, include those keywords within quotes.
#### Querying (command-line)
......@@ -160,7 +159,7 @@ First, we can query the graph using an interactive, command-line interface.
After having loaded the graph as explained above, call the code with the following options:
```
java -jar core/connection-lens-core-full-1.1-SNAPSHOT.jar -DRDBMSDBName=cl_myinstance -n -v -a
java -jar connection-lens-core-full-1.1-SNAPSHOT.jar -DRDBMSDBName=cl_myinstance -n -v -a
```
The `query>` indicates that the shell is ready to accept queries.
......@@ -173,7 +172,7 @@ The `query>` indicates that the shell is ready to accept queries.
Assuming a set of queries are written in a query file (one query per line), the following call:
```
java -jar core/connection-lens-core-full-1.1-SNAPSHOT.jar -DRDBMSDBName=cl_myinstance -n -qs -Q data/poc/2/demo.queries
java -jar connection-lens-core-full-1.1-SNAPSHOT.jar -DRDBMSDBName=cl_myinstance -n -qs -Q data/poc/2/demo.queries
```
......@@ -195,9 +194,7 @@ Assemblée RussiaToday - 4177 ATs
#### Visualizing the graph and querying through the GUI
Follow the [GUI installation instructions](https://gitlab.inria.fr/cedar/connectionlens/-/blob/master/gui_install.md).
Then, queries can be asked through the GUI and results can be visualized in the GUI. For instance, the screenshot below
corresponds to the query "Briand Halluin Tonolli".
Follow the [GUI installation instructions](https://gitlab.inria.fr/cedar/connectionlens/-/blob/master/gui_install.md). Then, queries can be asked through the GUI and results can be visualized in the GUI. For instance, the screenshot below corresponds to the query "Briand Halluin Tonolli".
![image_4.png](./docs/images/image_4.png)
......
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