Commit ee706a5a authored by MANOLESCU Ioana's avatar MANOLESCU Ioana
Browse files

Update README.md

parent 1fb43602
......@@ -41,7 +41,7 @@ The respective installation instructions are:
## Example
The example below ingests 5 small data sources of different formats into a graph. It also shows how to query the graph and visualize the results.
#### Creeating a small graph
#### Creeting a small graph (command line)
From the main folder, call the jar in the `core` folder with the following options:
```
......@@ -51,12 +51,12 @@ java -jar core/connection-lens-core-full-1.1-SNAPSHOT.jar -DRDBMSDBName=cl_myins
![image_3.png](./image_3.png)
### Querying
### 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.
#### Command-line queries
#### Querying (command-line)
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:
......@@ -70,7 +70,7 @@ The `query>` indicates that the shell is ready to accept queries.
![image_2.png](./image_2.png)
#### Gathering statistics about queries
#### Gathering statistics about queries (command-line)
Assuming a set of queries are written in a query file (one query per line), the following call:
......@@ -82,7 +82,7 @@ java -jar core/connection-lens-core-full-1.1-SNAPSHOT.jar -DRDBMSDBName=cl_myins
will yield a set of statistics on each query: how long it took, how many answers were found, how long before the first answer was found etc.
#### Sample queries on the small example
#### Sample queries on the small example
- Russie - 1 answer
......@@ -93,17 +93,11 @@ will yield a set of statistics on each query: how long it took, how many answers
- Briand Halluin Tonolli - 1 answer
#### Visualization
#### Visualizing the graph and querying through the GUI
- Drop the `gui.war` into the `webapps` directory under the Tomcat installation.
- Point a browser at the address `http://localhost:8080/gui/`.
- Select the `myinstance` database in the header drop-down menu.
- Ask a query, e.g., one of the above, directly on the keyword search bar. For example, the following figure shows the result of the query: `Briand Halluin Tonolli`.
![image_4.png](./image_4.png)
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 screen shot below
corresponts to the query "Briand Halluin Tonolli".
# Contributing to ConnectionLens
......
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