-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from WSE-research/356-update-select-queries
356 update select queries
- Loading branch information
Showing
36 changed files
with
67 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
cd target && ls | ||
#JAR_FILE=$(find . -maxdepth 1 -type f -name "qa.commons-[0-9].[0-9].[0-9].jar") | ||
#JAR_VERSION=$(echo $JAR_FILE | grep -oP 'qa.commons-\K\d+\.\d+\.\d+') | ||
JAR_FILE=$(find . -maxdepth 1 -type f -name "qa.commons-[0-9].[0-9].[0-9].jar") | ||
JAR_VERSION=$(echo $JAR_FILE | grep -oP 'qa.commons-\K\d+\.\d+\.\d+') | ||
mv qa.commons-$JAR_VERSION.jar qa.commons.jar # Rename commons jar | ||
cp qa.commons.jar /app | ||
cd /app | ||
echo $JAR_VERSION > jar_version # Create file involving jar-file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
JAR_VERSION=$(cat jar_version | xargs) | ||
|
||
# Install commons-dependency | ||
mvn install:install-file -Dfile=qa.commons.jar -DgroupId=eu.wdaqua.qanary -DartifactId=qa.commons -Dversion=$JAR_VERSION -Dpackaging=jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/resources/explanations/annotation_of_answer_json/de_list_item
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
am ${createdAt} eine SPARQL-query ausgeführt und folgende JSON zurückgegeben ' ${answerJson} ' &{mit einer Konfidenz von ${score}}& | ||
am ${annotatedAt} eine SPARQL-query ausgeführt und folgende JSON zurückgegeben ' ${hasBody} ' &{mit einer Konfidenz von ${score}}& |
2 changes: 1 addition & 1 deletion
2
src/main/resources/explanations/annotation_of_answer_json/en_list_item
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
on ${createdAt} a SPARQL-query was executed and returned the following JSON ' ${answerJson} ' &{with a confidence of ${score}}& | ||
on ${annotatedAt} a SPARQL-query was executed and returned the following JSON ' ${hasBody} ' &{with a confidence of ${score}}& |
2 changes: 1 addition & 1 deletion
2
src/main/resources/explanations/annotation_of_answer_sparql/de_list_item
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
am ${createdAt} mit einer Konfidenz von ${score} die SPARQL-query ' ${body} ' | ||
am ${annotatedAt} mit einer Konfidenz von ${score} die SPARQL-query ' ${hasBody} ' |
2 changes: 1 addition & 1 deletion
2
src/main/resources/explanations/annotation_of_answer_sparql/en_list_item
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
on ${createdAt} with a confidence of ${score} the SPARQL-query ' ${body} ' | ||
on ${annotatedAt} with a confidence of ${score} the SPARQL-query ' ${hasBody} ' |
2 changes: 1 addition & 1 deletion
2
src/main/resources/explanations/annotation_of_instance/de_list_item
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
am ${createdAt} &{mit einer Konfidenz von ${score}}& die Resource ${body} | ||
am ${annotatedAt} &{mit einer Konfidenz von ${score}}& die Resource ${hasBody} |
2 changes: 1 addition & 1 deletion
2
src/main/resources/explanations/annotation_of_instance/en_list_item
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
on ${createdAt} &{with a confidence of ${score}}& and the resource ${body} | ||
on ${annotatedAt} &{with a confidence of ${score}}& and the resource ${hasBody} |
2 changes: 1 addition & 1 deletion
2
src/main/resources/explanations/annotation_of_question_language/de_list_item
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
am ${createdAt} für die Frage mit der URI '${hasTarget}' die Sprache '${body}' | ||
am ${annotatedAt} für die Frage mit der URI '${hasTarget}' die Sprache '${hasBody}' |
2 changes: 1 addition & 1 deletion
2
src/main/resources/explanations/annotation_of_question_language/en_list_item
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
at ${createdAt} for the question with the URI '${hasTarget}' the language '${body}' | ||
at ${annotatedAt} for the question with the URI '${hasTarget}' the language '${hasBody}' |
2 changes: 1 addition & 1 deletion
2
src/main/resources/explanations/annotation_of_question_translation/de_list_item
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
am ${createdAt} die Frage mit der ID '${question}' in "${translation}" | ||
am ${annotatedAt} die Frage mit der ID '${hasTarget}' in "${hasBody}" |
2 changes: 1 addition & 1 deletion
2
src/main/resources/explanations/annotation_of_question_translation/en_list_item
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
at ${createdAt} the question with the ID '${question}' into "${translation}" | ||
at ${annotatedAt} the question with the ID '${hasTarget}' into "${hasBody}" |
2 changes: 1 addition & 1 deletion
2
src/main/resources/explanations/annotation_of_relation/de_list_item
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
' ${body} ' am ${createdAt} &{beginnend bei ${start} und endend bei ${end}}& &{mit einer Konfidenz von ${score}}& | ||
' ${hasBody} ' am ${annotatedAt} &{beginnend bei ${start} und endend bei ${end}}& &{mit einer Konfidenz von ${score}}& |
2 changes: 1 addition & 1 deletion
2
src/main/resources/explanations/annotation_of_relation/en_list_item
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
' ${body} ' at ${createdAt} &{starting at ${start} and ending at ${end}}& &{with a confidence of ${score}}& | ||
' ${hasBody} ' at ${annotatedAt} &{starting at ${start} and ending at ${end}}& &{with a confidence of ${score}}& |
2 changes: 1 addition & 1 deletion
2
src/main/resources/explanations/annotation_of_spot_instance/de_list_item
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
am ${createdAt} beginnend bei ${start} und endend an Position ${end} | ||
am ${annotatedAt} beginnend bei ${start} und endend an Position ${end} |
2 changes: 1 addition & 1 deletion
2
src/main/resources/explanations/annotation_of_spot_instance/en_list_item
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
at ${createdAt} starting from position ${start} and ending at position ${end} | ||
at ${annotatedAt} starting from position ${start} and ending at position ${end} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 0 additions & 22 deletions
22
src/main/resources/queries/queries_for_annotation_types/annotations_of_answer_json_query.rq
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
...main/resources/queries/queries_for_annotation_types/annotations_of_answer_sparql_query.rq
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
src/main/resources/queries/queries_for_annotation_types/annotations_of_instance_query.rq
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
.../resources/queries/queries_for_annotation_types/annotations_of_question_language_query.rq
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
...sources/queries/queries_for_annotation_types/annotations_of_question_translation_query.rq
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
src/main/resources/queries/queries_for_annotation_types/annotations_of_relation_query.rq
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
src/main/resources/queries/queries_for_annotation_types/annotations_of_spot_intance_query.rq
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.