graphdb-workbench-tests 3.3.3 → 3.4.0-SPARQL12-TR1
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/cluster/cluster-states.spec.js +3 -3
- package/e2e-legacy/explore/visual-graph/node-info-panel.spec.js +58 -0
- package/e2e-legacy/explore/visual-graph/visual-graph-links-limit.spec.js +142 -0
- package/e2e-legacy/explore/visual-graph/visual.graph.spec.js +57 -85
- 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 +168 -0
- package/e2e-legacy/guides/ttyg/configure-agent/configure-agent-guide.spec.js +34 -26
- 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 +372 -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 +34 -19
- package/e2e-legacy/setup/aclmanagement/acl-management-with-selected repository.spec.js +44 -0
- 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 +90 -41
- 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/graph/graph-configurations.json +59 -0
- 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/ttyg/configure-agent/configure-ttyg-agent-guide.json +6 -1
- 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 +332 -279
- package/package.json +1 -1
- package/steps/guides/guide-dialog-steps.js +60 -2
- package/steps/guides/movies-guide-steps.js +2 -1
- package/steps/main-menu-steps.js +1 -0
- package/steps/repository-steps.js +24 -0
- package/steps/resource/resource-steps.js +0 -8
- package/steps/setup/acl-management-steps.js +16 -0
- package/steps/sparql-editor-steps.js +18 -4
- package/steps/sparql-steps.js +13 -1
- package/steps/ttyg/ttyg-agent-settings-modal.steps.js +1 -1
- package/steps/visual-graph-split-button-steps.js +45 -0
- package/steps/visual-graph-steps.js +80 -2
- package/steps/yasgui/yasqe-steps.js +29 -4
- package/steps/yasgui/yasr-steps.js +31 -5
- package/stubs/graph-config-stubs.js +17 -0
- package/stubs/guides/guides-stubs.js +41 -1
- package/support/commands.js +1 -0
- package/support/url-commands.js +13 -0
|
@@ -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
|
+
]
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"guideName": {
|
|
4
|
+
"en": "Visual Graph"
|
|
5
|
+
},
|
|
6
|
+
"guideDescription": {
|
|
7
|
+
"en": "Test Visual Graph"
|
|
8
|
+
},
|
|
9
|
+
"steps": [
|
|
10
|
+
{
|
|
11
|
+
"guideBlockName": "visual-graph",
|
|
12
|
+
"options": {
|
|
13
|
+
"easyGraphInputText": "wine",
|
|
14
|
+
"iri": "http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine#Wine",
|
|
15
|
+
"iriLabel": "wine"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"guideBlockName": "visual-graph-node-focus",
|
|
20
|
+
"options": {
|
|
21
|
+
"iri": "http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine#Wine",
|
|
22
|
+
"iriLabel": "wine"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"guideBlockName": "visual-graph-link-focus",
|
|
27
|
+
"options": {
|
|
28
|
+
"fromIri": "http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine#Wine",
|
|
29
|
+
"fromIriLabel": "Wine",
|
|
30
|
+
"toIri": "http://www.w3.org/TR/2003/PR-owl-guide-20031209/food#PotableLiquid",
|
|
31
|
+
"toIriLabel": "Potable Liquid",
|
|
32
|
+
"iriLabel": "type",
|
|
33
|
+
"extraContent": {
|
|
34
|
+
"en": "This tells us that one of the RDF types for <b>{{fromIriLabel}}</b> is <b>{{toIriLabel}}</b>."
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"guideBlockName": "visual-graph-properties",
|
|
40
|
+
"options": {
|
|
41
|
+
"iri": "http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine",
|
|
42
|
+
"iriLabel": "Wine",
|
|
43
|
+
"focusProperties": [
|
|
44
|
+
{
|
|
45
|
+
"property": "types",
|
|
46
|
+
"message": {
|
|
47
|
+
"en": "We can see that <b>{{iriLabel}}</b> has a single type, <b>owl:Class</b>."
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"property": "rdfs:label",
|
|
52
|
+
"message": {
|
|
53
|
+
"en": "This shows the label of <b>{{iriLabel}}</b>."
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"property": "rdfs:label",
|
|
58
|
+
"skipGenericMessage": true,
|
|
59
|
+
"message": {
|
|
60
|
+
"en": "This shows the label of <b>{{iriLabel}}</b>."
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"guideBlockName": "visual-graph-expand",
|
|
68
|
+
"options": {
|
|
69
|
+
"iri": "http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine#WhitehallLanePrimavera",
|
|
70
|
+
"iriLabel": "Whitehall Lane Primavera"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"guideBlockName": "visual-graph-node-focus",
|
|
75
|
+
"options": {
|
|
76
|
+
"iri": "http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine#NapaRegion",
|
|
77
|
+
"iriLabel": "Napa Region"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"guideBlockName": "guide-end"
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
]
|