graphdb-workbench-tests 2.7.6 → 2.8.0-RC1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/cypress.config.js +3 -0
  2. package/fixtures/cluster/2-nodes-cluster-group-status-deleted.json +30 -0
  3. package/fixtures/cluster/2-nodes-cluster-group-status.json +30 -0
  4. package/fixtures/cluster/3-nodes-cluster-group-status-after-replace.json +44 -0
  5. package/fixtures/cluster/3-nodes-cluster-group-status-building-snapshot.json +4 -1
  6. package/fixtures/cluster/3-nodes-cluster-group-status-receiving-snapshot.json +4 -1
  7. package/fixtures/cluster/3-nodes-cluster-group-status-sending-snapshot.json +4 -1
  8. package/fixtures/cluster/3-nodes-cluster-group-status-waiting-for-snapshot.json +4 -1
  9. package/fixtures/cluster/3-nodes-cluster-group-status.json +12 -3
  10. package/fixtures/cluster/4-nodes-cluster-group-status.json +58 -0
  11. package/fixtures/cluster/cluster-config.json +1 -0
  12. package/fixtures/cluster/cluster-node-status.json +4 -1
  13. package/fixtures/connectors/get-connectors.json +8 -0
  14. package/fixtures/connectors/get-retrieval-connector-0.json +1 -0
  15. package/fixtures/connectors/get-retrieval-connector.json +29 -0
  16. package/fixtures/connectors/get-ttyg-chatgpt-connectors.json +188 -0
  17. package/fixtures/locale-en.json +630 -61
  18. package/fixtures/namespaces/get-repository-starwars-namespaces.json +252 -0
  19. package/fixtures/remote-location/get-0-remote-locations.json +1 -2
  20. package/fixtures/remote-location/get-1-remote-locations.json +2 -4
  21. package/fixtures/remote-location/get-2-remote-locations.json +3 -6
  22. package/fixtures/remote-location/get-3-remote-locations.json +4 -8
  23. package/fixtures/remote-location/get-4-remote-locations.json +54 -0
  24. package/fixtures/remote-location/remote-location-status-in-cluster.json +1 -2
  25. package/fixtures/remote-location/remote-location-status-not-in-cluster.json +1 -2
  26. package/fixtures/remote-location/remote-locations-filter.json +1 -2
  27. package/fixtures/repositories/get-locations.json +67 -0
  28. package/fixtures/repositories/get-repositories.json +106 -0
  29. package/fixtures/repositories/get-repository-config-starwars-disabled-fts.json +201 -0
  30. package/fixtures/repositories/get-repository-config-starwars-enabled-fts.json +201 -0
  31. package/fixtures/repositories/get-ttyg-repositories.json +74 -0
  32. package/fixtures/similarity/get-similarity-indexes-0.json +1 -0
  33. package/fixtures/similarity/get-similarity-indexes.json +15 -0
  34. package/fixtures/similarity/get-ttyg-similarity-connectors.json +46 -0
  35. package/fixtures/ttyg/agent/create-agent.json +20 -0
  36. package/fixtures/ttyg/agent/get-agent-defaults.json +42 -0
  37. package/fixtures/ttyg/agent/get-agent-list-0.json +1 -0
  38. package/fixtures/ttyg/agent/get-agent-list-after-deleted.json +56 -0
  39. package/fixtures/ttyg/agent/get-agent-list-new-agent.json +22 -0
  40. package/fixtures/ttyg/agent/get-agent-list.json +77 -0
  41. package/fixtures/ttyg/agent/get-agent.json +25 -0
  42. package/fixtures/ttyg/chats/ask-question.json +25 -0
  43. package/fixtures/ttyg/chats/create/create-chat-response.json +16 -0
  44. package/fixtures/ttyg/chats/create/get-chats-after-create.json +12 -0
  45. package/fixtures/ttyg/chats/create/get-chats-before-create.json +7 -0
  46. package/fixtures/ttyg/chats/deleted-chat.json +3 -0
  47. package/fixtures/ttyg/chats/explain-response-1.json +59 -0
  48. package/fixtures/ttyg/chats/explain-response-2.json +59 -0
  49. package/fixtures/ttyg/chats/export-chat.json +34 -0
  50. package/fixtures/ttyg/chats/get-chat-list-0.json +1 -0
  51. package/fixtures/ttyg/chats/get-chat-list-with-deleted-chat.json +17 -0
  52. package/fixtures/ttyg/chats/get-chat-list-with-renamed-chat.json +22 -0
  53. package/fixtures/ttyg/chats/get-chat-list.json +22 -0
  54. package/fixtures/ttyg/chats/get-chat.json +199 -0
  55. package/fixtures/ttyg/chats/renamed-chat.json +4 -0
  56. package/integration/cluster/cluster-management.spec.js +0 -170
  57. package/integration/cluster/edit-cluster-nodes-modal.spec.js +425 -0
  58. package/integration/explore/graphs.overview.spec.js +4 -0
  59. package/integration/home/cookie-policy.spec.js +65 -0
  60. package/integration/home/create-repository.spec.js +35 -0
  61. package/integration/home/documentation-link.spec.js +60 -0
  62. package/integration/home/google-analytics.spec.js +60 -0
  63. package/integration/home/language-selector.spec.js +19 -0
  64. package/integration/home/rdf-resource-search.spec.js +192 -0
  65. package/integration/home/view-resource-autocomplete.spec.js +52 -0
  66. package/integration/home/workbench.home.spec.js +1 -277
  67. package/integration/import/import-user-data-file-upload.spec.js +13 -0
  68. package/integration/import/import-user-data.spec.js +8 -2
  69. package/integration/import/import-view.spec.js +6 -1
  70. package/integration/repository/attach-remote-location.spec.js +203 -0
  71. package/integration/repository/ontop-repository.spec.js +87 -1
  72. package/integration/repository/repositories.spec.js +4 -19
  73. package/integration/setup/my-settings.spec.js +2 -0
  74. package/integration/ttyg/agent-list.spec.js +76 -0
  75. package/integration/ttyg/agent-select-menu.spec.js +141 -0
  76. package/integration/ttyg/chat-list.spec.js +286 -0
  77. package/integration/ttyg/chat-panel.spec.js +175 -0
  78. package/integration/ttyg/clone-agent.spec.js +75 -0
  79. package/integration/ttyg/create-agent.spec.js +560 -0
  80. package/integration/ttyg/create-chat.spec.js +69 -0
  81. package/integration/ttyg/delete-agent.spec.js +51 -0
  82. package/integration/ttyg/edit-agent.spec.js +54 -0
  83. package/integration/ttyg/ttyg-permission.spec.js +66 -0
  84. package/integration/ttyg/ttyg-view.spec.js +75 -0
  85. package/npm-shrinkwrap.json +215 -220
  86. package/package.json +5 -6
  87. package/steps/alert-dialog-steps.js +25 -0
  88. package/steps/cluster/cluster-page-steps.js +8 -0
  89. package/steps/cluster/custer-nodes-configuration-steps.js +107 -0
  90. package/steps/home-steps.js +48 -5
  91. package/steps/import/import-steps.js +11 -11
  92. package/steps/modal-dialog-steps.js +8 -0
  93. package/steps/ontop-repository-steps.js +26 -0
  94. package/steps/repositories/attach-repository-steps.js +118 -0
  95. package/steps/repository-steps.js +53 -5
  96. package/steps/setup/settings-steps.js +17 -0
  97. package/steps/ttyg/chat-panel-steps.js +62 -0
  98. package/steps/ttyg/ttyg-agent-settings-modal.steps.js +462 -0
  99. package/steps/ttyg/ttyg-view-steps.js +333 -0
  100. package/steps/window-steps.js +5 -0
  101. package/stubs/cluster/cluster-stubs.js +127 -7
  102. package/stubs/cluster/remote-location-stubs.js +46 -0
  103. package/stubs/connector-stubs.js +39 -0
  104. package/stubs/environment-stubs.js +27 -0
  105. package/stubs/license-stubs.js +101 -0
  106. package/stubs/repositories/repositories-stubs.js +133 -0
  107. package/stubs/repositories-stub.js +15 -0
  108. package/stubs/security-stubs.js +7 -0
  109. package/stubs/similarity-index-stubs.js +32 -0
  110. package/stubs/stubs.js +4 -0
  111. package/stubs/ttyg/ttyg-stubs.js +166 -0
  112. package/support/commands.js +2 -0
  113. package/support/index.js +17 -0
  114. package/support/security-command.js +25 -0
  115. package/support/settings-commands.js +4 -5
  116. package/support/user-commands.js +31 -0
  117. package/steps/cluster/add-remote-location-dialog-steps.js +0 -11
  118. package/steps/cluster/create-cluster-dialog-steps.js +0 -39
  119. package/steps/cluster/replace-nodes-dialog-steps.js +0 -39
@@ -0,0 +1,22 @@
1
+ [
2
+ {
3
+ "id": "asst_a6jM68The7NqJax7U2PKLAe8",
4
+ "name": "Test Agent",
5
+ "model": "gpt-4o",
6
+ "temperature": 0.2,
7
+ "topP": 0.2,
8
+ "seed": 2,
9
+ "repositoryId": "starwars",
10
+ "instructions": {
11
+ "systemInstruction": "",
12
+ "userInstruction": ""
13
+ },
14
+ "assistantExtractionMethods": [
15
+ {
16
+ "method": "sparql_search",
17
+ "sparqlQuery": "select ?s ?p ?o where {?s ?p ?o .}",
18
+ "addMissingNamespaces": true
19
+ }
20
+ ]
21
+ }
22
+ ]
@@ -0,0 +1,77 @@
1
+ [
2
+ {
3
+ "id": "asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",
4
+ "name": "agent-1",
5
+ "model": "gpt-4o",
6
+ "temperature": 0.0,
7
+ "topP": 0.0,
8
+ "seed": null,
9
+ "repositoryId": "starwars",
10
+ "instructions": {
11
+ "systemInstruction": "",
12
+ "userInstruction": ""
13
+ },
14
+ "assistantExtractionMethods": [
15
+ {
16
+ "method": "fts_search",
17
+ "maxNumberOfTriplesPerCall": 44
18
+ }
19
+ ]
20
+ },
21
+ {
22
+ "id": "asst_qMyCpCBmqxV9I2B8UoMfFzc5",
23
+ "name": "agent-2",
24
+ "model": "gpt-4o",
25
+ "temperature": 0.0,
26
+ "topP": 0.0,
27
+ "seed": null,
28
+ "repositoryId": "Not existing repo",
29
+ "instructions": {
30
+ "systemInstruction": "string\n\nstring",
31
+ "userInstruction": "string"
32
+ },
33
+ "assistantExtractionMethods": [
34
+ {
35
+ "method": "fts_search"
36
+ }
37
+ ]
38
+ },
39
+ {
40
+ "id": "asst_Cr0RxobrY07WpOvvyQilEWMI",
41
+ "name": "Databricks-general-unbiased",
42
+ "model": "gpt-4o-2024-08-06",
43
+ "temperature": 1.0,
44
+ "topP": 1.0,
45
+ "seed": null,
46
+ "repositoryId": "starwars",
47
+ "instructions": {
48
+ "systemInstruction": "You are helpful assistant in discovering information regarding diagnostic biomarkers.",
49
+ "userInstruction": null
50
+ },
51
+ "assistantExtractionMethods": [
52
+ {
53
+ "method": "fts_search",
54
+ "maxNumberOfTriplesPerCall": 44
55
+ }
56
+ ]
57
+ },
58
+ {
59
+ "id": "asst_5GxNYTdaOh7Tl6lLl6Pya2aH",
60
+ "name": "Databricks-biomarkers",
61
+ "model": "gpt-3.5-turbo-0125",
62
+ "temperature": 1.0,
63
+ "topP": 1.0,
64
+ "seed": null,
65
+ "repositoryId": "biomarkers",
66
+ "instructions": {
67
+ "systemInstruction": "You're a helpful assistant in discovering new diagnostic biomarkers for given diseases. I'll submit a set of publication abstracts discussing given disease and your task is to find in the abstracts any potential new biomarkers which are not yet listed in the appropriate databases. Each abstract is preceded by identifier - its PubMed id called for short PMID. \n\nReturn the set of biomarkers listed one per row, each marker followed by the | and PMID of the respective abstract if was mentioned in.\n\nExample: \nInput: 36418457\t[Amyotrophic lateral sclerosis (ALS) is a genetically and phenotypically heterogeneous disease results in the loss of motor neurons. Mounting information points to involvement of other systems including cognitive impairment. However, neither the valid biomarker for diagnosis nor effective therapeutic intervention is available for ALS. The present study is aimed at identifying potentially genetic biomarker that improves the diagnosis and treatment of ALS patients based on the data of the Gene Expression Omnibus. We retrieved datasets and conducted a weighted gene co-expression network analysis (WGCNA) to identify ALS-related co-expression genes. Functional enrichment analysis was performed to determine the features and pathways of the main modules. We then constructed an ALS-related model using the least absolute shrinkage and selection operator (LASSO) regression analysis and verified the model by the receiver operating characteristic (ROC) curve. Besides we screened the non-preserved gene modules in FTD and ALS-mimic disorders to distinct ALS-related genes from disorders with overlapping genes and features. Altogether, 4198 common genes between datasets with the most variation were analyzed and 16 distinct modules were identified through WGCNA. Blue module had the most correlation with ALS and functionally enriched in pathways of neurodegeneration-multiple diseases', 'amyotrophic lateral sclerosis', and 'endocytosis' KEGG terms. Further, some of other modules related to ALS were enriched in 'autophagy' and 'amyotrophic lateral sclerosis'. The 30 top of hub genes were recruited to a LASSO regression model and 5 genes (BCLAF1, GNA13, ARL6IP5, ARGLU1, and YPEL5) were identified as potentially diagnostic ALS biomarkers with validating of the ROC curve and AUC value.]\n\nYour response: BCLAF1|36418457\nGNA13|36418457\nARL6IP5|36418457\nARGLU1|36418457\nYPEL5|36418457",
68
+ "userInstruction": null
69
+ },
70
+ "assistantExtractionMethods": [
71
+ {
72
+ "method": "fts_search",
73
+ "maxNumberOfTriplesPerCall": 44
74
+ }
75
+ ]
76
+ }
77
+ ]
@@ -0,0 +1,25 @@
1
+ {
2
+ "id": "asst_G8EtHyT8kAGeDmCa3Nh6y74v",
3
+ "name": "Test agent",
4
+ "model": "gpt-4o",
5
+ "temperature": 0.7,
6
+ "topP": 1.0,
7
+ "repositoryId": "starwars",
8
+ "instructions": {
9
+ "systemInstruction": null,
10
+ "userInstruction": null
11
+ },
12
+ "assistantExtractionMethods": [
13
+ {
14
+ "method": "sparql_search",
15
+ "ontologyGraph": null,
16
+ "sparqlQuery": "CONSTRUCT {\n ?s ?p ?o\n} WHERE {\n GRAPH <http://example.com/sw-ont> {\n ?s ?p ?o\n }\n}",
17
+ "addMissingNamespaces": false
18
+ }
19
+ ],
20
+ "additionalExtractionMethods": [
21
+ {
22
+ "method": "iri_discovery_search"
23
+ }
24
+ ]
25
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "id": "requestBody.conversationId",
3
+ "name": "Han Solo is a character",
4
+ "timestamp": 43523452,
5
+ "messages": [
6
+ {
7
+ "id": "msg_Bn07kVDCYT1qmgu1G7Zw0KNeс_",
8
+ "conversationId": "requestBody.conversationId",
9
+ "role": "assistant",
10
+ "agentId": "requestBody.agentId",
11
+ "message": "Reply to '${requestBody.question}' Second`",
12
+ "timestamp": 53425243523,
13
+ "name": null
14
+ },
15
+ {
16
+ "id": "msg_Bn07kVDCYT1qmgu1G7Zw0KNe_",
17
+ "conversationId": "requestBody.conversationId",
18
+ "role": "assistant",
19
+ "agentId": "requestBody.agentId",
20
+ "message": "Reply to '${requestBody.question}",
21
+ "timestamp": 23432424242,
22
+ "name": null
23
+ }
24
+ ]
25
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "id": "thread_new_created_chat",
3
+ "name": "New chat of Han Solo is a character",
4
+ "timestamp": "creationDate",
5
+ "messages": [
6
+ {
7
+ "id": "msg_Bn07kVDCYT1qmgu1G7Zw0KNeс_",
8
+ "conversationId": "thread_new_created_chat",
9
+ "role": "assistant",
10
+ "agentId": "asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",
11
+ "message": "Han Solo is a character...",
12
+ "timestamp": "creationDate",
13
+ "name": null
14
+ }
15
+ ]
16
+ }
@@ -0,0 +1,12 @@
1
+ [
2
+ {
3
+ "id": "thread_new_created_chat",
4
+ "name": "New chat of Han Solo is a character",
5
+ "timestamp": "1725875483"
6
+ },
7
+ {
8
+ "id": "thread_jdQBvbkaU6JPoO48oQaL76dC",
9
+ "name": "Han Solo is a fictional character in the...",
10
+ "timestamp": "1725875483"
11
+ }
12
+ ]
@@ -0,0 +1,7 @@
1
+ [
2
+ {
3
+ "id": "thread_jdQBvbkaU6JPoO48oQaL76dC",
4
+ "name": "Han Solo is a fictional character in the...",
5
+ "timestamp": "1725875483"
6
+ }
7
+ ]
@@ -0,0 +1,3 @@
1
+ {
2
+ "id": "thread_jdQBvbkaU6JPoO48oFbC54dD"
3
+ }
@@ -0,0 +1,59 @@
1
+ {
2
+ "conversationId": "thread_jdQBvbkaU6JPoO48oFbC54dA",
3
+ "answerId": "msg_YbtWCL64HPu9Kf7SbsssseRlrwCc1",
4
+ "queryMethods": [
5
+ {
6
+ "name": "sparql_query",
7
+ "rawQuery": "SELECT ?character ?name ?height WHERE {\n ?character a voc:Character;\n rdfs:label ?name;\n voc:height ?height.\n FILTER(?name = \"Luke Skywalker\" || ?name = \"Leia Organa\")\n}",
8
+ "query": "SELECT ?character ?name ?height WHERE {\n ?character a voc:Character;\n rdfs:label ?name;\n voc:height ?height.\n FILTER(?name = \"Luke Skywalker\" || ?name = \"Leia Organa\")\n}",
9
+ "queryType": "sparql",
10
+ "errorOutput": "Error: org.eclipse.rdf4j.query.MalformedQueryException: org.eclipse.rdf4j.query.parser.sparql.ast.VisitorException: QName 'voc:Character' uses an undefined prefix"
11
+ }, {
12
+ "name": "retrieval_search",
13
+ "rawQuery": "{\"queries\":[{\"query\":\"pilots that work with Luke Skywalker\",\"filter\":{\"document_id\":\"https://swapi.co/resource/human/1\"},\"top_k\":3}]}",
14
+ "query": "{\n \"queries\" : [ {\n \"query\" : \"pilots that work with Luke Skywalker\",\n \"filter\" : {\n \"document_id\" : \"https://swapi.co/resource/human/1\"\n },\n \"top_k\" : 3\n } ]\n}",
15
+ "queryType": "json",
16
+ "errorOutput": null
17
+ },
18
+ {
19
+ "name": "iri_discovery",
20
+ "rawQuery": "Luke Skywalker",
21
+ "query": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX onto: <http://www.ontotext.com/>\nSELECT ?label ?iri {\n ?label onto:fts ('''Luke~ Skywalker~''' '*') .\n ?iri rdfs:label|skos:prefLabel ?label .\n}",
22
+ "queryType": "sparql",
23
+ "errorOutput": null
24
+ },
25
+ {
26
+ "name": "sparql_query",
27
+ "rawQuery": "SELECT ?height WHERE {\n <https://swapi.co/resource/human/1> voc:height ?height.\n}",
28
+ "query": "SELECT ?height WHERE {\n <https://swapi.co/resource/human/1> voc:height ?height.\n}",
29
+ "queryType": "sparql",
30
+ "errorOutput": "Error: org.eclipse.rdf4j.query.MalformedQueryException: org.eclipse.rdf4j.query.parser.sparql.ast.VisitorException: QName 'voc:height' uses an undefined prefix"
31
+ },
32
+ {
33
+ "name": "sparql_query",
34
+ "rawQuery": "PREFIX voc: <https://swapi.co/vocabulary/>\nSELECT ?name ?height WHERE {\n ?character voc:height ?height;\n rdfs:label ?name.\n FILTER(?name = \"Luke Skywalker\" || ?name = \"Leia Organa\")\n}",
35
+ "query": "PREFIX voc: <https://swapi.co/vocabulary/>\nSELECT ?name ?height WHERE {\n ?character voc:height ?height;\n rdfs:label ?name.\n FILTER(?name = \"Luke Skywalker\" || ?name = \"Leia Organa\")\n}",
36
+ "queryType": "sparql",
37
+ "errorOutput": null
38
+ },
39
+ {
40
+ "name": "fts_search",
41
+ "rawQuery": "Second Luke",
42
+ "query": "PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts \\'\\'\\'Second Luke\\'\\'\\' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}",
43
+ "queryType": "sparql",
44
+ "errorOutput": null
45
+ }, {
46
+ "name": "similarity_search",
47
+ "rawQuery": "Second Luke",
48
+ "query": "PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts \\'\\'\\'Second Luke\\'\\'\\' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}",
49
+ "queryType": "sparql",
50
+ "errorOutput": null
51
+ }, {
52
+ "name": "iri_discovery",
53
+ "rawQuery": "Luke Skywalker",
54
+ "query": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX onto: <http://www.ontotext.com/>\nSELECT ?label ?iri {\n ?label onto:fts ('''Luke~ Skywalker~''' '*') .\n ?iri rdfs:label|skos:prefLabel ?label .\n}",
55
+ "queryType": "sparql",
56
+ "errorOutput": null
57
+ }
58
+ ]
59
+ }
@@ -0,0 +1,59 @@
1
+ {
2
+ "conversationId": "thread_jdQBvbkaU6JPoO48oFbC54dA",
3
+ "answerId": "msg_YbtWCL64HPu9Kf7SbsssseRlrwCc2",
4
+ "queryMethods": [
5
+ {
6
+ "name": "sparql_query",
7
+ "rawQuery": "SELECT ?character ?name ?height WHERE {\n ?character a voc:Character;\n rdfs:label ?name;\n voc:height ?height.\n FILTER(?name = \"Luke Skywalker\" || ?name = \"Leia Organa\")\n}",
8
+ "query": "SELECT ?character ?name ?height WHERE {\n ?character a voc:Character;\n rdfs:label ?name;\n voc:height ?height.\n FILTER(?name = \"Luke Skywalker\" || ?name = \"Leia Organa\")\n}",
9
+ "queryType": "sparql",
10
+ "errorOutput": "Error: org.eclipse.rdf4j.query.MalformedQueryException: org.eclipse.rdf4j.query.parser.sparql.ast.VisitorException: QName 'voc:Character' uses an undefined prefix"
11
+ }, {
12
+ "name": "retrieval_search",
13
+ "rawQuery": "{\"queries\":[{\"query\":\"pilots that work with Luke Skywalker\",\"filter\":{\"document_id\":\"https://swapi.co/resource/human/1\"},\"top_k\":3}]}",
14
+ "query": "{\n \"queries\" : [ {\n \"query\" : \"pilots that work with Luke Skywalker\",\n \"filter\" : {\n \"document_id\" : \"https://swapi.co/resource/human/1\"\n },\n \"top_k\" : 3\n } ]\n}",
15
+ "queryType": "json",
16
+ "errorOutput": null
17
+ },
18
+ {
19
+ "name": "iri_discovery",
20
+ "rawQuery": "Luke Skywalker",
21
+ "query": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX onto: <http://www.ontotext.com/>\nSELECT ?label ?iri {\n ?label onto:fts ('''Luke~ Skywalker~''' '*') .\n ?iri rdfs:label|skos:prefLabel ?label .\n}",
22
+ "queryType": "sparql",
23
+ "errorOutput": null
24
+ },
25
+ {
26
+ "name": "sparql_query",
27
+ "rawQuery": "SELECT ?height WHERE {\n <https://swapi.co/resource/human/1> voc:height ?height.\n}",
28
+ "query": "SELECT ?height WHERE {\n <https://swapi.co/resource/human/1> voc:height ?height.\n}",
29
+ "queryType": "sparql",
30
+ "errorOutput": "Error: org.eclipse.rdf4j.query.MalformedQueryException: org.eclipse.rdf4j.query.parser.sparql.ast.VisitorException: QName 'voc:height' uses an undefined prefix"
31
+ },
32
+ {
33
+ "name": "sparql_query",
34
+ "rawQuery": "PREFIX voc: <https://swapi.co/vocabulary/>\nSELECT ?name ?height WHERE {\n ?character voc:height ?height;\n rdfs:label ?name.\n FILTER(?name = \"Luke Skywalker\" || ?name = \"Leia Organa\")\n}",
35
+ "query": "PREFIX voc: <https://swapi.co/vocabulary/>\nSELECT ?name ?height WHERE {\n ?character voc:height ?height;\n rdfs:label ?name.\n FILTER(?name = \"Luke Skywalker\" || ?name = \"Leia Organa\")\n}",
36
+ "queryType": "sparql",
37
+ "errorOutput": null
38
+ },
39
+ {
40
+ "name": "fts_search",
41
+ "rawQuery": "Second Luke",
42
+ "query": "PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts \\'\\'\\'Second Luke\\'\\'\\' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}",
43
+ "queryType": "sparql",
44
+ "errorOutput": null
45
+ }, {
46
+ "name": "similarity_search",
47
+ "rawQuery": "Second Luke",
48
+ "query": "PREFIX onto: <http://www.ontotext.com/>\nDESCRIBE ?iri {\n\t?x onto:fts \\'\\'\\'Second Luke\\'\\'\\' .\n\t{\n\t\t?x ?p ?iri .\n\t} union {\n\t\t?iri ?p ?x .\n\t}\n}",
49
+ "queryType": "sparql",
50
+ "errorOutput": null
51
+ }, {
52
+ "name": "iri_discovery",
53
+ "rawQuery": "Luke Skywalker",
54
+ "query": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\nPREFIX skos: <http://www.w3.org/2004/02/skos/core#>\nPREFIX onto: <http://www.ontotext.com/>\nSELECT ?label ?iri {\n ?label onto:fts ('''Luke~ Skywalker~''' '*') .\n ?iri rdfs:label|skos:prefLabel ?label .\n}",
55
+ "queryType": "sparql",
56
+ "errorOutput": null
57
+ }
58
+ ]
59
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "id": "thread_2IeqabOdLFcjAVub2DsMmdr6",
3
+ "name": "Han Solo is a fictional character in the...",
4
+ "messages": [
5
+ {
6
+ "id": "msg_1niL7yYidTfiGZynCiryiMMd",
7
+ "conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
8
+ "agentId": null,
9
+ "role": "user",
10
+ "message": "Who are the Han Solo's children?",
11
+ "timestamp": "1725875483",
12
+ "name": null
13
+ },
14
+ {
15
+ "id": "msg_YbtWCL64HPu9Kf7SbeRlrwCc",
16
+ "conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
17
+ "agentId": "asst_uoKp5kgnPlyZHhRXY7P2r9D7",
18
+ "role": "assistant",
19
+ "message": "Han Solo is a fictional character in the Star Wars franchise. He is a Human male with fair skin and brown eyes. Han Solo is portrayed by Harrison Ford in the original Star Wars trilogy and in \"The Force Awakens.\" The character also appears in several other films and media within the Star Wars universe.\n\n**Key Details:**\n- **Gender:** Male\n- **Height:** 180 cm\n- **Mass:** 80 kg\n- **Birth Year:** 29BBY\n- **Eye Color:** Brown\n- **Hair Color:** Brown\n- **Homeworld:** Corellia (Planet 22)\n\n**Description:**\nHan Solo is a character in the Star Wars franchise. In the original film trilogy, Han and his co-pilot, Chewbacca, became involved in the Rebel Alliance's struggle against the Galactic Empire. During the course of the Star Wars narrative, he becomes a chief figure in the Alliance and succeeding galactic governments. Star Wars creator George Lucas described the character as \"a ",
20
+ "timestamp": "1725875332",
21
+ "name": null
22
+ },
23
+ {
24
+ "id": "msg_A9UeOFT9SF3pKzJzar1HwM7d",
25
+ "conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
26
+ "agentId": null,
27
+ "role": "user",
28
+ "message": "Who is Han Solo?",
29
+ "timestamp": "1725875323",
30
+ "name": null
31
+ }
32
+ ],
33
+ "timestamp": "1725875483"
34
+ }
@@ -0,0 +1,17 @@
1
+ [
2
+ {
3
+ "id": "thread_jdQBvbkaU6JPoO48oFbC54dA",
4
+ "name": "Very long chat name which does not fit in the sidebar",
5
+ "timestamp": 1725235200
6
+ },
7
+ {
8
+ "id": "thread_jdQBvbkaU6JPoO48oQaL76dB",
9
+ "name": "Test chat 2",
10
+ "timestamp": 1725238800
11
+ },
12
+ {
13
+ "id": "thread_jdQBvbkaU6JPoO48oQaL76dC",
14
+ "name": "Test chat 3",
15
+ "timestamp": 1725242400
16
+ }
17
+ ]
@@ -0,0 +1,22 @@
1
+ [
2
+ {
3
+ "id": "thread_jdQBvbkaU6JPoO48oFbC54dA",
4
+ "name": "Very long chat name which does not fit in the sidebar",
5
+ "timestamp": 1725235200
6
+ },
7
+ {
8
+ "id": "thread_jdQBvbkaU6JPoO48oQaL76dB",
9
+ "name": "Test chat 2",
10
+ "timestamp": 1725238800
11
+ },
12
+ {
13
+ "id": "thread_jdQBvbkaU6JPoO48oQaL76dC",
14
+ "name": "Test chat 3",
15
+ "timestamp": 1725242400
16
+ },
17
+ {
18
+ "id": "thread_jdQBvbkaU6JPoO48oFbC54dD",
19
+ "name": "New chat name",
20
+ "timestamp": 1697331600
21
+ }
22
+ ]
@@ -0,0 +1,22 @@
1
+ [
2
+ {
3
+ "id": "thread_jdQBvbkaU6JPoO48oFbC54dA",
4
+ "name": "Very long chat name which does not fit in the sidebar",
5
+ "timestamp": 1725235200
6
+ },
7
+ {
8
+ "id": "thread_jdQBvbkaU6JPoO48oQaL76dB",
9
+ "name": "Test chat 2",
10
+ "timestamp": 1725238800
11
+ },
12
+ {
13
+ "id": "thread_jdQBvbkaU6JPoO48oQaL76dC",
14
+ "name": "Test chat 3",
15
+ "timestamp": 1725242400
16
+ },
17
+ {
18
+ "id": "thread_jdQBvbkaU6JPoO48oFbC54dD",
19
+ "name": "Test chat 4",
20
+ "timestamp": 1697331600
21
+ }
22
+ ]
@@ -0,0 +1,199 @@
1
+ {
2
+ "thread_jdQBvbkaU6JPoO48oQaL76dC": {
3
+ "id": "thread_jdQBvbkaU6JPoO48oQaL76dC",
4
+ "name": "Han Solo is a fictional character in the...",
5
+ "messages": [
6
+ {
7
+ "id": "msg_A9UeOFT9SF3pKzJzar1HwM7d",
8
+ "conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
9
+ "agentId": null,
10
+ "role": "user",
11
+ "message": "Who is Han Solo?",
12
+ "timestamp": "1725875323",
13
+ "name": null
14
+ },
15
+ {
16
+ "id": "msg_YbtWCL64HPu9Kf7SbsssseRlrwCc1",
17
+ "conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
18
+ "agentId": "asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",
19
+ "role": "assistant",
20
+ "message": "Han Solo is a fictional character in the Star Wars franchise.",
21
+ "timestamp": "1725875332",
22
+ "name": null
23
+ },
24
+ {
25
+ "id": "msg_1niL7yYidTfiGZynCiryiMMd",
26
+ "conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
27
+ "agentId": null,
28
+ "role": "user",
29
+ "message": "Who are the Han Solo's children?",
30
+ "timestamp": "1725875483",
31
+ "name": null
32
+ },
33
+ {
34
+ "id": "msg_YbtWCL64HPu9Kf7SbsssseRlrwCc2",
35
+ "conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
36
+ "agentId": "asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",
37
+ "role": "assistant",
38
+ "message": "Han Solo is a fictional character in the Star ",
39
+ "timestamp": "1725875332",
40
+ "name": null
41
+ }
42
+ ],
43
+ "timestamp": "1725875483"
44
+ },
45
+ "thread_jdQBvbkaU6JPoO48oFbC54dA": {
46
+ "id": "thread_jdQBvbkaU6JPoO48oFbC54dA",
47
+ "name": "Han Solo is a fictional character in the...",
48
+ "messages": [
49
+ {
50
+ "id": "msg_A9UeOFT9SF3pKzJzar1HwM7d",
51
+ "conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
52
+ "agentId": null,
53
+ "role": "user",
54
+ "message": "Who is Han Solo?",
55
+ "timestamp": "1725875323",
56
+ "name": null
57
+ },
58
+ {
59
+ "id": "msg_YbtWCL64HPu9Kf7SbeRlrwCc",
60
+ "conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
61
+ "agentId": "asst_gAPcrHQQ9ZIxD5eXWH2BNFfos",
62
+ "role": "assistant",
63
+ "message": "Han Solo is a fictional character in the Star Wars franchise.",
64
+ "timestamp": "1725875332",
65
+ "name": null
66
+ },
67
+ {
68
+ "id": "msg_1niL7yYidTfiGZynCiryiMMd",
69
+ "conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
70
+ "agentId": null,
71
+ "role": "user",
72
+ "message": "Who are the Han Solo's children?",
73
+ "timestamp": "1725875483",
74
+ "name": null
75
+ },
76
+ {
77
+ "id": "msg_YbtWCL64HPu9Kf7SbsssseRlrwCc2",
78
+ "conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
79
+ "agentId": "asst_gAPcrHQQ9ZIxD5eXWH2BNFfos",
80
+ "role": "assistant",
81
+ "message": "Han Solo is a fictional character in the Star ",
82
+ "timestamp": "1725875332",
83
+ "name": null
84
+ }
85
+ ],
86
+ "timestamp": "1725875483"
87
+ },
88
+ "thread_jdQBvbkaU6JPoO48oFbC54dD": {
89
+ "id": "thread_jdQBvbkaU6JPoO48oFbC54dD",
90
+ "name": "Han Solo is a fictional character in the...",
91
+ "messages": [
92
+ {
93
+ "id": "msg_1niL7yYidTfiGZynCiryiMMd",
94
+ "conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
95
+ "agentId": null,
96
+ "role": "user",
97
+ "message": "Who are the Han Solo's children?",
98
+ "timestamp": "1725875483",
99
+ "name": null
100
+ },
101
+ {
102
+ "id": "msg_YbtWCL64HPu9Kf7SbsssseRlrwCc3",
103
+ "conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
104
+ "agentId": "asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",
105
+ "role": "assistant",
106
+ "message": "Certainly! Here's a random example that incorporates code, JSON, and a SPARQL query:\n\n### Code (Python)\n\n```python\ndef greet(name):\n return f\"Hello, {name}!\"\n\nprint(greet(\"World\"))\n```\n\n### JSON\n\n```json\n{\n \"greeting\": \"Hello\",\n \"target\": \"World\",\n \"language\": \"English\"\n}\n```\n\n### SPARQL Query\n\n```sparql\nSELECT ?person ?name\nWHERE {\n ?person a ex:Person .\n ?person ex:hasName ?name .\n}\nLIMIT 10\n```\n\nThis example demonstrates a simple Python function for greeting, a JSON object representing a greeting structure, and a SPARQL query to retrieve names of persons from a dataset.",
107
+ "timestamp": "1725875332",
108
+ "name": null
109
+ }
110
+ ],
111
+ "timestamp": "1725875483"
112
+ },
113
+ "thread_jdQBvbkaU6JPoO48oQaL76dB": {
114
+ "id": "thread_jdQBvbkaU6JPoO48oQaL76dB",
115
+ "name": "Han Solo is a fictional character in the...",
116
+ "messages": [
117
+ {
118
+ "id": "msg_A9UeOFT9SF3pKzJzar1HwM7d",
119
+ "conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
120
+ "agentId": null,
121
+ "role": "user",
122
+ "message": "Who is Han Solo?",
123
+ "timestamp": "1725875323",
124
+ "name": null
125
+ },
126
+ {
127
+ "id": "msg_YbtWCL64HPu9Kf7SbeRlrwCc",
128
+ "conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
129
+ "agentId": "asst_Cr0RxobrY07WpOvvyQilEWMI",
130
+ "role": "assistant",
131
+ "message": "Han Solo is a fictional character in the Star Wars franchise.",
132
+ "timestamp": "1725875332",
133
+ "name": null
134
+ },
135
+ {
136
+ "id": "msg_1niL7yYidTfiGZynCiryiMMd",
137
+ "conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
138
+ "agentId": null,
139
+ "role": "user",
140
+ "message": "Who are the Han Solo's children?",
141
+ "timestamp": "1725875483",
142
+ "name": null
143
+ },
144
+ {
145
+ "id": "msg_YbtWCL64HPu9Kf7SbsssseRlrwCc4",
146
+ "conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
147
+ "agentId": "asst_Cr0RxobrY07WpOvvyQilEWMI",
148
+ "role": "assistant",
149
+ "message": "Han Solo is a fictional character in the Star ",
150
+ "timestamp": "1725875332",
151
+ "name": null
152
+ },
153
+ {
154
+ "id": "msg_A9UeOFT9SF3pKzJzar1HwM7d",
155
+ "conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
156
+ "agentId": null,
157
+ "role": "user",
158
+ "message": "Who is Han Solo?",
159
+ "timestamp": "1725875323",
160
+ "name": null
161
+ },
162
+ {
163
+ "id": "msg_YbtWCL64HPu9Kf7SbeRlrwCc",
164
+ "conversationId": "thread_gy2K7D3efStfchq2v5VvpEvn",
165
+ "agentId": "asst_qMyCpCBmqxV9I2B8UoMfFzc5",
166
+ "role": "assistant",
167
+ "message": "Han Solo is a fictional character in the Star Wars franchise.",
168
+ "timestamp": "1725875332",
169
+ "name": null
170
+ }
171
+ ],
172
+ "timestamp": "1725875483"
173
+ },
174
+ "thread_new_created_chat": {
175
+ "id": "thread_new_created_chat",
176
+ "name": "Han Solo is a character",
177
+ "messages": [
178
+ {
179
+ "id": "msg_A9UeOFT9SF3pKzJzar1HwM7d",
180
+ "conversationId": "thread_new_created_chat",
181
+ "agentId": "asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",
182
+ "role": "user",
183
+ "message": "Who is Han Solo?",
184
+ "timestamp": 1725875323,
185
+ "name": null
186
+ },
187
+ {
188
+ "id": "msg_Bn07kVDCYT1qmgu1G7Zw0KNeс_",
189
+ "conversationId": "thread_new_created_chat",
190
+ "role": "assistant",
191
+ "agentId": "asst_gAPcrHQQ9ZIxD5eXWH2BNFfo",
192
+ "message": "Han Solo is a character ...",
193
+ "timestamp": 1725875323,
194
+ "name": null
195
+ }
196
+ ],
197
+ "timestamp": "1725875483"
198
+ }
199
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "id": "thread_jdQBvbkaU6JPoO48oFbC54dA",
3
+ "name": "New chat name"
4
+ }