Skip to content

Commit

Permalink
Merge branch 'main' of github.com:dschiese/input-data-storage
Browse files Browse the repository at this point in the history
  • Loading branch information
dschiese committed Feb 20, 2024
2 parents 30ba348 + b6eeb7b commit fab5613
Show file tree
Hide file tree
Showing 19 changed files with 25 additions and 17 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "Qanary-question-answering-components"]
path = Qanary-question-answering-components
url = [email protected]:WDAqua/Qanary-question-answering-components.git
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Input data storage

This service is created for the qanary-explanations-service. It reads the Qanary component's logs and writes them to a triplestore.

## Usage
This service is used with the included Qanary-components repository as a submodule as its path is hard-coded yet.
To use this tool it is also required to use an adjusted QanaryTripleStoreConnector file, which is mentioned [here](https://github.com/dschiese/Qanary/commit/0bfbad4f5b0466a2a674a918f51f8439d0179de1) since this includes the log-writing to files.


## Prequisteries
This service uses the Qanary-components-repository as a submodule and these components should be used when running a Qanary pipeline. Therefore this approach is a local one.

## Functioning
The service finds the paths to the local components where the log files are stored. In a scheduled method these log files are parsed and the queries are stored in a triplestore. The data which is stored follows this pattern:

```sparql
?component ex:hasAnnotationType ?annotationType .
?annotationType ex:hasInputQuery ?inputQuery
```

Afterwards this data can be fetched to receive component, annotationType, and the query. Within the qanary-explanation-service this data can be used to create explanations for input data.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit fab5613

Please sign in to comment.