graphdb-workbench-tests 3.3.3 → 3.4.0-TR2-yasgui-geo-plugin
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.
- package/cypress-flaky.config.js +2 -0
- package/cypress-legacy.config.js +2 -2
- package/cypress-security.config.js +3 -14
- package/e2e-flaky/import/import-server-files-operations.spec.js +1 -1
- package/e2e-flaky/import/import-user-data-batch-operations.spec.js +1 -1
- package/e2e-flaky/setup/sparql-template-create.js +3 -18
- package/e2e-flaky/sparql-editor/actions/execute-update-query.spec.js +2 -12
- package/e2e-flaky/sparql-editor/actions/share-query.spec.js +1 -7
- package/e2e-flaky/sparql-editor/yasr/table-plugin.spec.js +1 -6
- package/e2e-legacy/explore/visual-graph/visual.graph.spec.js +2 -7
- package/e2e-legacy/guides/execute-sparql-query/execute-sparql-query-guide.spec.js +92 -0
- package/e2e-legacy/guides/import-rdf-file/confirm-duplicate-rdf-file.spec.js +63 -0
- package/e2e-legacy/guides/import-rdf-file/import-rdf-file.spec.js +105 -0
- package/e2e-legacy/guides/navigation/navigation-guide.spec.js +64 -0
- package/e2e-legacy/guides/rdf-rank/rdf-rank-guide.spec.js +42 -0
- package/e2e-legacy/guides/table-graph-explore/table-graph-explore-guide.spec.js +167 -0
- package/e2e-legacy/guides/ttyg/edit-agent/edit-ttyg-agent-guide.spec.js +2 -2
- package/e2e-legacy/guides/visual-graph/visual-graph-guide.spec.js +388 -0
- package/e2e-legacy/guides/welcome/welcome-guide.spec.js +36 -0
- package/e2e-legacy/help/guides/guides-autostart.spec.js +36 -3
- package/e2e-legacy/help/guides/guides-confirm-cancel-dialog.js +83 -0
- package/e2e-legacy/help/guides/movies-interactive-guide.spec.js +47 -49
- package/e2e-legacy/repository/url-with-repository-id-parameter.spec.js +1 -0
- package/e2e-legacy/resource/resource.spec.js +1 -6
- package/e2e-legacy/setup/aclmanagement/create-rule.spec.js +3 -0
- package/e2e-legacy/setup/connectors-lucene.spec.js +24 -8
- package/e2e-legacy/sparql-editor/actions/expand-results-over-sameas.spec.js +1 -1
- package/e2e-legacy/sparql-editor/actions/show-saved-queries.spec.js +1 -6
- package/e2e-legacy/sparql-editor/yasgui-tabs.spec.js +2 -12
- package/e2e-legacy/sparql-editor/yasr/pagination.spec.js +5 -18
- package/e2e-legacy/sparql-editor/yasr/table-plugin.spec.js +1 -6
- package/e2e-legacy/sparql-editor/yasr/toolbar/visual-graph-button.spec.js +1 -6
- package/e2e-legacy/sparql-editor/yasr/yasr.spec.js +80 -0
- package/e2e-legacy/ttyg/chat-list.spec.js +2 -12
- package/e2e-legacy/ttyg/create-agent.spec.js +8 -48
- package/e2e-legacy/ttyg/edit-agent.spec.js +2 -12
- package/e2e-security/setup/users-and-access/turn-on-security-and-password-change.spec.js +73 -61
- package/fixtures/guides/confirm-cancel-dialog/confirm-cancel-dialog-guide.json +15 -0
- package/fixtures/guides/execute-sparql-query/execute-sparql-query-guide.json +54 -0
- package/fixtures/guides/import-rdf-file/confirm-duplicate-rdf-file-guide.json +30 -0
- package/fixtures/guides/import-rdf-file/import-rdf-file-guide.json +21 -0
- package/fixtures/guides/navigation/navigation-guide.json +60 -0
- package/fixtures/guides/rdf-rank/rdf-rank-guide.json +18 -0
- package/fixtures/guides/table-graph-explore/table-graph-explore-guide.json +51 -0
- package/fixtures/guides/table-graph-explore/table-graph-explore-without-substeps-guide.json +25 -0
- package/fixtures/guides/visual-graph/visual-graph-config-guide.json +39 -0
- package/fixtures/guides/visual-graph/visual-graph-guide.json +85 -0
- package/fixtures/guides/welcome/welcome-guide.json +18 -0
- package/npm-shrinkwrap.json +329 -276
- package/package.json +1 -1
- package/steps/guides/guide-dialog-steps.js +60 -2
- package/steps/main-menu-steps.js +1 -0
- package/steps/setup/acl-management-steps.js +4 -0
- package/steps/sparql-editor-steps.js +5 -4
- package/steps/sparql-steps.js +13 -1
- package/steps/visual-graph-steps.js +72 -2
- package/steps/yasgui/yasqe-steps.js +29 -4
- package/steps/yasgui/yasr-steps.js +27 -1
- package/stubs/guides/guides-stubs.js +41 -1
|
@@ -17,12 +17,7 @@ describe('TTYG create new agent', () => {
|
|
|
17
17
|
TTYGStubs.stubAgentDefaultsGet();
|
|
18
18
|
});
|
|
19
19
|
|
|
20
|
-
it('Should be able to cancel the new agent creation on the no agents view', {
|
|
21
|
-
retries: {
|
|
22
|
-
runMode: 1,
|
|
23
|
-
openMode: 0
|
|
24
|
-
}
|
|
25
|
-
}, () => {
|
|
20
|
+
it('Should be able to cancel the new agent creation on the no agents view', () => {
|
|
26
21
|
TTYGStubs.stubChatsListGetNoResults();
|
|
27
22
|
TTYGStubs.stubAgentListGet('/ttyg/agent/get-agent-list-0.json');
|
|
28
23
|
// Given I have opened the ttyg page
|
|
@@ -38,12 +33,7 @@ describe('TTYG create new agent', () => {
|
|
|
38
33
|
TTYGViewSteps.getNoAgentsView().should('be.visible');
|
|
39
34
|
});
|
|
40
35
|
|
|
41
|
-
it('Should be able to create a new agent with SPARQL extraction method on the no agents view', {
|
|
42
|
-
retries: {
|
|
43
|
-
runMode: 1,
|
|
44
|
-
openMode: 0
|
|
45
|
-
}
|
|
46
|
-
}, () => {
|
|
36
|
+
it('Should be able to create a new agent with SPARQL extraction method on the no agents view', () => {
|
|
47
37
|
TTYGStubs.stubChatsListGetNoResults();
|
|
48
38
|
TTYGStubs.stubAgentListGet('/ttyg/agent/get-agent-list-0.json', 1000);
|
|
49
39
|
// Given I have opened the ttyg page
|
|
@@ -182,12 +172,7 @@ describe('TTYG create new agent', () => {
|
|
|
182
172
|
TTYGViewSteps.getAgent(0).should('contain', 'Test Agent').and('contain', 'starwars');
|
|
183
173
|
});
|
|
184
174
|
|
|
185
|
-
it('Should require FTS to be enabled for selected repository when creating agent with FTS extraction method', {
|
|
186
|
-
retries: {
|
|
187
|
-
runMode: 1,
|
|
188
|
-
openMode: 0
|
|
189
|
-
}
|
|
190
|
-
}, () => {
|
|
175
|
+
it('Should require FTS to be enabled for selected repository when creating agent with FTS extraction method', () => {
|
|
191
176
|
RepositoriesStubs.stubGetRepositoryConfig(repositoryId, '/repositories/get-repository-config-starwars-disabled-fts.json');
|
|
192
177
|
TTYGStubs.stubChatsListGetNoResults();
|
|
193
178
|
TTYGStubs.stubAgentListGet('/ttyg/agent/get-agent-list-0.json');
|
|
@@ -204,12 +189,7 @@ describe('TTYG create new agent', () => {
|
|
|
204
189
|
TtygAgentSettingsModalSteps.getFtsDisabledHelp().should('be.visible');
|
|
205
190
|
});
|
|
206
191
|
|
|
207
|
-
it('Should be able to create agent with FTS extraction method', {
|
|
208
|
-
retries: {
|
|
209
|
-
runMode: 1,
|
|
210
|
-
openMode: 0
|
|
211
|
-
}
|
|
212
|
-
}, () => {
|
|
192
|
+
it('Should be able to create agent with FTS extraction method', () => {
|
|
213
193
|
RepositoriesStubs.stubGetRepositoryConfig(repositoryId, '/repositories/get-repository-config-starwars-enabled-fts.json');
|
|
214
194
|
TTYGStubs.stubChatsListGetNoResults();
|
|
215
195
|
TTYGStubs.stubAgentListGet('/ttyg/agent/get-agent-list-0.json');
|
|
@@ -245,12 +225,7 @@ describe('TTYG create new agent', () => {
|
|
|
245
225
|
TTYGViewSteps.getAgent(0).should('contain', 'Test Agent').and('contain', 'starwars');
|
|
246
226
|
});
|
|
247
227
|
|
|
248
|
-
it('Should require similarity index in order to create agent with similarity search method', {
|
|
249
|
-
retries: {
|
|
250
|
-
runMode: 1,
|
|
251
|
-
openMode: 0
|
|
252
|
-
}
|
|
253
|
-
}, () => {
|
|
228
|
+
it('Should require similarity index in order to create agent with similarity search method', () => {
|
|
254
229
|
TTYGStubs.stubChatsListGetNoResults();
|
|
255
230
|
TTYGStubs.stubAgentListGet('/ttyg/agent/get-agent-list-0.json');
|
|
256
231
|
TTYGStubs.getSimilarityIndexesForRepo();
|
|
@@ -268,12 +243,7 @@ describe('TTYG create new agent', () => {
|
|
|
268
243
|
TtygAgentSettingsModalSteps.getSaveAgentButton().should('be.disabled');
|
|
269
244
|
});
|
|
270
245
|
|
|
271
|
-
it('Should be able to configure and create agent with similarity index search method', {
|
|
272
|
-
retries: {
|
|
273
|
-
runMode: 1,
|
|
274
|
-
openMode: 0
|
|
275
|
-
}
|
|
276
|
-
}, () => {
|
|
246
|
+
it('Should be able to configure and create agent with similarity index search method', () => {
|
|
277
247
|
TTYGStubs.stubChatsListGetNoResults();
|
|
278
248
|
TTYGStubs.stubAgentListGet('/ttyg/agent/get-agent-list-0.json');
|
|
279
249
|
TTYGStubs.getSimilarityIndexesForRepo(repositoryId);
|
|
@@ -316,12 +286,7 @@ describe('TTYG create new agent', () => {
|
|
|
316
286
|
TTYGViewSteps.getAgent(0).should('contain', 'Test Agent').and('contain', 'starwars');
|
|
317
287
|
});
|
|
318
288
|
|
|
319
|
-
it('Should require retrieval connector in order to create an agent with GPT retrieval connector method', {
|
|
320
|
-
retries: {
|
|
321
|
-
runMode: 1,
|
|
322
|
-
openMode: 0
|
|
323
|
-
}
|
|
324
|
-
}, () => {
|
|
289
|
+
it('Should require retrieval connector in order to create an agent with GPT retrieval connector method', () => {
|
|
325
290
|
TTYGStubs.stubChatsListGetNoResults();
|
|
326
291
|
TTYGStubs.stubAgentListGet('/ttyg/agent/get-agent-list-0.json');
|
|
327
292
|
ConnectorStubs.stubGetConnectors();
|
|
@@ -343,12 +308,7 @@ describe('TTYG create new agent', () => {
|
|
|
343
308
|
TtygAgentSettingsModalSteps.getSaveAgentButton().should('be.disabled');
|
|
344
309
|
});
|
|
345
310
|
|
|
346
|
-
it('Should be able to configure and create an agent with retrieval connector method', {
|
|
347
|
-
retries: {
|
|
348
|
-
runMode: 1,
|
|
349
|
-
openMode: 0
|
|
350
|
-
}
|
|
351
|
-
}, () => {
|
|
311
|
+
it('Should be able to configure and create an agent with retrieval connector method', () => {
|
|
352
312
|
TTYGStubs.stubChatsListGetNoResults();
|
|
353
313
|
TTYGStubs.stubAgentListGet('/ttyg/agent/get-agent-list-0.json');
|
|
354
314
|
ConnectorStubs.stubGetConnectors();
|
|
@@ -17,12 +17,7 @@ describe('TTYG edit an agent', () => {
|
|
|
17
17
|
TTYGStubs.stubAgentDefaultsGet();
|
|
18
18
|
});
|
|
19
19
|
|
|
20
|
-
it(' should be able to edit an agent.', {
|
|
21
|
-
retries: {
|
|
22
|
-
runMode: 1,
|
|
23
|
-
openMode: 0
|
|
24
|
-
}
|
|
25
|
-
}, () => {
|
|
20
|
+
it(' should be able to edit an agent.', () => {
|
|
26
21
|
TTYGStubs.stubChatsListGet();
|
|
27
22
|
TTYGStubs.stubAgentListGet();
|
|
28
23
|
TTYGStubs.stubChatGet();
|
|
@@ -67,12 +62,7 @@ describe('TTYG edit an agent', () => {
|
|
|
67
62
|
TtygAgentSettingsModalSteps.getSaveAgentButton().should('be.disabled');
|
|
68
63
|
});
|
|
69
64
|
|
|
70
|
-
it('should be able to edit Autocomplete extraction method option', {
|
|
71
|
-
retries: {
|
|
72
|
-
runMode: 1,
|
|
73
|
-
openMode: 0
|
|
74
|
-
}
|
|
75
|
-
}, () => {
|
|
65
|
+
it('should be able to edit Autocomplete extraction method option', () => {
|
|
76
66
|
TTYGStubs.stubAgentListGet('/ttyg/agent/get-agent-list-autocomplete-query.json');
|
|
77
67
|
// Given I have opened the ttyg page
|
|
78
68
|
TTYGViewSteps.visit();
|
|
@@ -2,6 +2,8 @@ import {MainMenuSteps} from "../../../steps/main-menu-steps";
|
|
|
2
2
|
import {UserAndAccessSteps} from "../../../steps/setup/user-and-access-steps";
|
|
3
3
|
import {LoginSteps} from "../../../steps/login-steps";
|
|
4
4
|
import {ToasterSteps} from "../../../steps/toaster-steps";
|
|
5
|
+
import {HeaderSteps} from '../../../steps/header-steps.js';
|
|
6
|
+
import HomeSteps from '../../../steps/home-steps.js';
|
|
5
7
|
|
|
6
8
|
describe('Turn on Security', () => {
|
|
7
9
|
|
|
@@ -10,78 +12,88 @@ describe('Turn on Security', () => {
|
|
|
10
12
|
cy.switchOnSecurity();
|
|
11
13
|
});
|
|
12
14
|
|
|
13
|
-
afterEach(() =>{
|
|
15
|
+
afterEach(() => {
|
|
14
16
|
cy.loginAsAdmin();
|
|
15
17
|
cy.switchOffSecurity(true);
|
|
16
18
|
})
|
|
17
19
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
MainMenuSteps.getMenuSetup().should('not.exist');
|
|
27
|
-
});
|
|
20
|
+
it('should enable security and show login screen', () => {
|
|
21
|
+
// Navigate to Users & Access
|
|
22
|
+
UserAndAccessSteps.visit();
|
|
23
|
+
// Verify we are redirected to login page
|
|
24
|
+
cy.url().should('include', '/login');
|
|
25
|
+
HeaderSteps.getHeader().should('not.exist');
|
|
26
|
+
MainMenuSteps.getMainMenu().should('not.exist');
|
|
27
|
+
});
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
it('should reject wrong credentials and accept admin/root', () => {
|
|
30
|
+
// Attempt login with invalid credentials
|
|
31
|
+
LoginSteps.visitLoginPage();
|
|
32
|
+
LoginSteps.loginWithUser('wrongUser', 'wrongPass');
|
|
33
|
+
// Expect error message
|
|
34
|
+
ToasterSteps.verifyNewToasterError('Wrong credentials');
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
36
|
+
// Login with correct admin credentials
|
|
37
|
+
LoginSteps.visitLoginPage();
|
|
38
|
+
LoginSteps.loginWithUser('admin', 'root');
|
|
39
|
+
cy.url().should('include', '/');
|
|
40
|
+
});
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
42
|
+
it('should show toaster after logging out', () => {
|
|
43
|
+
UserAndAccessSteps.visit();
|
|
44
|
+
LoginSteps.loginWithUser('admin', 'root');
|
|
45
|
+
// Verify we are logged in
|
|
46
|
+
UserAndAccessSteps.getUsersCatalogContainer().should('be.visible');
|
|
47
|
+
// Log out
|
|
48
|
+
HeaderSteps.logout();
|
|
49
|
+
cy.url().should('include', '/login');
|
|
50
|
+
// Verify toaster message
|
|
51
|
+
ToasterSteps.verifySuccess('Signed out');
|
|
52
|
+
})
|
|
48
53
|
|
|
49
|
-
|
|
50
|
-
|
|
54
|
+
describe('Password Change', () => {
|
|
55
|
+
afterEach(() => {
|
|
56
|
+
// Reset password back to original value for test isolation
|
|
57
|
+
UserAndAccessSteps.visit();
|
|
58
|
+
UserAndAccessSteps.openEditUserPage('admin');
|
|
59
|
+
UserAndAccessSteps.typePassword('root');
|
|
60
|
+
UserAndAccessSteps.typeConfirmPasswordField('root');
|
|
61
|
+
UserAndAccessSteps.confirmUserEdit();
|
|
62
|
+
UserAndAccessSteps.getUsersCatalogContainer().should('be.visible');
|
|
63
|
+
})
|
|
51
64
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
65
|
+
it('should change admin password and enforce new credentials', () => {
|
|
66
|
+
// Navigate to Users & Access after login
|
|
67
|
+
UserAndAccessSteps.visit();
|
|
68
|
+
// Verify we are redirected to login page
|
|
69
|
+
cy.url().should('include', '/login');
|
|
70
|
+
// Login with admin credentials
|
|
71
|
+
LoginSteps.loginWithUser('admin', 'root');
|
|
72
|
+
// Verify we are logged in
|
|
73
|
+
UserAndAccessSteps.getUsersCatalogContainer().should('be.visible');
|
|
57
74
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
cy.url().should('include', '/login');
|
|
75
|
+
// Open edit page for admin user
|
|
76
|
+
UserAndAccessSteps.openEditUserPage('admin');
|
|
61
77
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
78
|
+
// Change password to a new value
|
|
79
|
+
let newPassword = 'MyNewP@ssw0rd!';
|
|
80
|
+
UserAndAccessSteps.typePassword(newPassword);
|
|
81
|
+
UserAndAccessSteps.typeConfirmPasswordField(newPassword);
|
|
82
|
+
UserAndAccessSteps.confirmUserEdit();
|
|
65
83
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
MainMenuSteps.clickOnUsersAndAccess();
|
|
70
|
-
// Open edit page for admin user
|
|
71
|
-
UserAndAccessSteps.openEditUserPage('admin');
|
|
72
|
-
newPassword = 'root';
|
|
73
|
-
UserAndAccessSteps.typePassword(newPassword);
|
|
74
|
-
UserAndAccessSteps.typeConfirmPasswordField(newPassword);
|
|
75
|
-
UserAndAccessSteps.confirmUserEdit();
|
|
76
|
-
});
|
|
84
|
+
// Log out
|
|
85
|
+
LoginSteps.logout();
|
|
86
|
+
cy.url().should('include', '/login');
|
|
77
87
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
88
|
+
// Attempt login with old password
|
|
89
|
+
LoginSteps.loginWithUser('admin', 'root');
|
|
90
|
+
ToasterSteps.verifyNewToasterError('Wrong credentials');
|
|
91
|
+
|
|
92
|
+
// Attempt login with new password
|
|
93
|
+
LoginSteps.visitLoginPage();
|
|
94
|
+
LoginSteps.loginWithUser('admin', newPassword);
|
|
95
|
+
// Verify we are logged in and we are on the home page
|
|
96
|
+
HomeSteps.getView().should('be.visible');
|
|
97
|
+
});
|
|
98
|
+
});
|
|
87
99
|
});
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"guideName": {
|
|
4
|
+
"en": "Execute SPARQL query Guide"
|
|
5
|
+
},
|
|
6
|
+
"steps": [
|
|
7
|
+
{
|
|
8
|
+
"guideBlockName": "execute-sparql-query",
|
|
9
|
+
"options": {
|
|
10
|
+
"queries": [
|
|
11
|
+
{
|
|
12
|
+
"query": "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\n select * where { \n\t?s rdfs:label ?o .\n} limit 3 ",
|
|
13
|
+
"queryExtraContent": {
|
|
14
|
+
"en": "Extra content for query."
|
|
15
|
+
},
|
|
16
|
+
"resultExtraContent": {
|
|
17
|
+
"en": "Extra content for result."
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"guideBlockName": "sparql-explain-editor",
|
|
25
|
+
"options": {
|
|
26
|
+
"extraContent": "Some extra explain content"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"guideBlockName": "sparql-results-click-on-iri",
|
|
31
|
+
"options": {
|
|
32
|
+
"iri": "https://swapi.co/resource/planet/25",
|
|
33
|
+
"iriLabel": "rdf:type"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"guideBlockName": "visualise-sparql-query",
|
|
38
|
+
"options": {
|
|
39
|
+
"useMainMenuNavigation": true,
|
|
40
|
+
"query": "PREFIX voc: <https://swapi.co/vocabulary/>\nPREFIX swapi: <https://swapi.co/resource/>\n\nCONSTRUCT {\n?film swapi:hasCharacter ?person .\n}\nWHERE {\n?film a voc:Film ;\nvoc:character ?person .\n}",
|
|
41
|
+
"queryExtraContent": {
|
|
42
|
+
"en": "The query constructs a graph of films and their characters from the Star Wars API."
|
|
43
|
+
},
|
|
44
|
+
"resultExtraContent": {
|
|
45
|
+
"en": "The graph visualisation displays films as nodes connected to their respective characters."
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"guideBlockName": "guide-end"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
]
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"guideName": {
|
|
4
|
+
"en": "Confirm duplicate RDF file"
|
|
5
|
+
},
|
|
6
|
+
"guideDescription": {
|
|
7
|
+
"en": "Test step for confirming a duplicated RDF file"
|
|
8
|
+
},
|
|
9
|
+
"steps": [
|
|
10
|
+
{
|
|
11
|
+
"guideBlockName": "import-upload-rdf-file",
|
|
12
|
+
"options": {
|
|
13
|
+
"resourceFile": "starwars.ttl"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"guideBlockName": "import-click-on-import-button"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"guideBlockName": "import-rdf-file",
|
|
21
|
+
"options": {
|
|
22
|
+
"resourceFile": "starwars.ttl"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"guideBlockName": "guide-end"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
]
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"guideName": {
|
|
4
|
+
"en": "Import RDF file"
|
|
5
|
+
},
|
|
6
|
+
"guideDescription": {
|
|
7
|
+
"en": "Test steps for importing an RDF file"
|
|
8
|
+
},
|
|
9
|
+
"steps": [
|
|
10
|
+
{
|
|
11
|
+
"guideBlockName": "import-rdf-file",
|
|
12
|
+
"options": {
|
|
13
|
+
"resourceFile": "starwars.ttl"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"guideBlockName": "guide-end"
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
]
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"guideName": {
|
|
4
|
+
"en": "Navigate microfrontends"
|
|
5
|
+
},
|
|
6
|
+
"guideDescription": {
|
|
7
|
+
"en": "Navigate microfrontends"
|
|
8
|
+
},
|
|
9
|
+
"steps": [
|
|
10
|
+
{
|
|
11
|
+
"guideBlockName": "read-only-element",
|
|
12
|
+
"options": {
|
|
13
|
+
"url": "404",
|
|
14
|
+
"elementSelector": "[guide-selector=\"not-found-banner\"]",
|
|
15
|
+
"title": "Navigation",
|
|
16
|
+
"content": "This is a 404 page"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"guideBlockName": "clickable-element",
|
|
21
|
+
"options": {
|
|
22
|
+
"url": "404",
|
|
23
|
+
"elementSelector": "[guide-selector=\"go-back-home-btn\"]",
|
|
24
|
+
"title": "Navigation",
|
|
25
|
+
"disableNextFlow": true,
|
|
26
|
+
"content": "This is the go back home button"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"guideBlockName": "clickable-element",
|
|
31
|
+
"options": {
|
|
32
|
+
"elementSelector": "[guide-selector=\"tutorial-container\"]",
|
|
33
|
+
"title": "Navigation",
|
|
34
|
+
"content": "This is the home page"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"guideBlockName": "read-only-element",
|
|
39
|
+
"options": {
|
|
40
|
+
"url": "sparql-new",
|
|
41
|
+
"elementSelector": "[guide-selector=\"sparql-editor\"]",
|
|
42
|
+
"title": "Navigation",
|
|
43
|
+
"content": "This is the new sparql view"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"guideBlockName": "read-only-element",
|
|
48
|
+
"options": {
|
|
49
|
+
"url": "import",
|
|
50
|
+
"elementSelector": "[guide-selector=\"uploadRdfFileButton\"]",
|
|
51
|
+
"title": "Navigation",
|
|
52
|
+
"content": "This is the import view"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"guideBlockName": "guide-end"
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
]
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"guideName": {
|
|
4
|
+
"en": "Resources"
|
|
5
|
+
},
|
|
6
|
+
"guideDescription": {
|
|
7
|
+
"en": "Resources"
|
|
8
|
+
},
|
|
9
|
+
"steps": [
|
|
10
|
+
{
|
|
11
|
+
"guideBlockName": "sparql-editor-run-button"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"guideBlockName": "table-graph-explore",
|
|
15
|
+
"options": {
|
|
16
|
+
"iri": "http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine#madeFromGrape",
|
|
17
|
+
"iriLabel": "wine#madeFromGrape",
|
|
18
|
+
"subSteps": [
|
|
19
|
+
{
|
|
20
|
+
"type": "link",
|
|
21
|
+
"iri": "http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine#WineGrape",
|
|
22
|
+
"iriLabel": "vin:WineGrape"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"type": "table"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "role",
|
|
29
|
+
"role": "all",
|
|
30
|
+
"extraContent": {
|
|
31
|
+
"en": "This is an extra content."
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"type": "visual",
|
|
36
|
+
"iri": "http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine#WineGrape",
|
|
37
|
+
"iriLabel": "vin:WineGrape"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"type": "row",
|
|
41
|
+
"row": 2
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"guideBlockName": "guide-end"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
]
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"guideName": {
|
|
4
|
+
"en": "Resources"
|
|
5
|
+
},
|
|
6
|
+
"guideDescription": {
|
|
7
|
+
"en": "Resources"
|
|
8
|
+
},
|
|
9
|
+
"steps": [
|
|
10
|
+
{
|
|
11
|
+
"guideBlockName": "sparql-editor-run-button"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"guideBlockName": "table-graph-explore",
|
|
15
|
+
"options": {
|
|
16
|
+
"iri": "http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine#madeFromGrape",
|
|
17
|
+
"iriLabel": "wine#madeFromGrape"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"guideBlockName": "guide-end"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
]
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"guideName": {
|
|
4
|
+
"en": "Create visual graph config guide"
|
|
5
|
+
},
|
|
6
|
+
"steps": [
|
|
7
|
+
{
|
|
8
|
+
"guideBlockName": "visual-graph-config-create",
|
|
9
|
+
"options": {
|
|
10
|
+
"configDescription": "my description",
|
|
11
|
+
"configHint": "my hint",
|
|
12
|
+
"shareConfig": true,
|
|
13
|
+
"linkLimit": 200,
|
|
14
|
+
"expandIri": "http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine#WineGrape",
|
|
15
|
+
"iriLabel": "WineGrape",
|
|
16
|
+
"tabConfig": [
|
|
17
|
+
{
|
|
18
|
+
"tabName": "startingPoint",
|
|
19
|
+
"startingPoint": "fixed",
|
|
20
|
+
"searchTerm": "MerlotGrape",
|
|
21
|
+
"iri": "http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine#MerlotGrape"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"tabName": "graphExpansion",
|
|
25
|
+
"query": "construct {\n ?node ?p ?o .\n ?s ?p ?node .\n} where {\n { ?node ?p ?o . }\n union\n { ?s ?p ?node . }\n}",
|
|
26
|
+
"queryExtraContent": "The graph expansion query defines what happens when a node is expanded in the visual graph. Expanding a node loads additional resources connected to it and adds them to the graph as new nodes and edges.",
|
|
27
|
+
"sampleQueryContent": "The <b>Sample queries</b> includes example graph expansion queries. <b>Unfiltered object properties</b> shows all object property connections of a node, while <b>Filtered object properties</b> shows only selected ones.",
|
|
28
|
+
"includeInferredData": true,
|
|
29
|
+
"expandResultsOverOwl": true
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"guideBlockName": "guide-end"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
]
|