You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: visualise/static/js/visualise/tour.js
+70-18Lines changed: 70 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -57,30 +57,40 @@ function startTour(force_start){
57
57
onPrev: prev,
58
58
steps: [
59
59
{
60
-
content: "Welcome to the result visualisation of our <a href='https://w3id.org/associations/#gp_learner'>graph pattern learner</a>.<br>As the interface is quite powerful, this tour will briefly explain its components."
60
+
content: "Welcome to the result visualisation of our <a href='https://w3id.org/associations/#gp_learner'>graph pattern learner</a>.<br>As the interface is quite powerful, it can be overwhelming for newcomers. This tour will briefly walk you through all of its components."
61
61
},
62
62
{
63
63
element: '#sidebar-global-info-panel',
64
64
onShow: autoScrollSideBar,
65
65
placement: 'left',
66
66
title: "Result step selection",
67
-
content: "Let's start on the right. As you might know our evolutionary algorithm operates in several runs to cover the input source-target-pairs. Here you can select individual generations from each run, the results of each run or the overall aggregated results."
67
+
content: "Let's start on the right. As you might know our evolutionary algorithm operates in several runs to cover the input source-target-pairs. Here you can select the overall aggregated results, the results of each run or even the results of an individual generation in a run."
68
68
},
69
69
{
70
70
element: '#sidebar-select-panel',
71
71
onShow: autoScrollSideBar,
72
+
title: "Learned pattern selection",
72
73
placement: 'left',
73
74
content: "Once the selected results are loaded, you can select the individual patterns in this panel."
74
75
},
75
76
{
76
77
element: '#sidebar-fitness-panel',
77
78
onShow: autoScrollSideBar,
79
+
title: "Pattern Fitness",
78
80
placement: 'left',
79
-
content: "In this panel you will see the fitness of the currently selected pattern."
81
+
content: "In this panel you will see the fitness of the currently selected pattern.<br/>"+
82
+
"The most important dimensions of the fitness are:"+
83
+
"<ul>"+
84
+
"<li><b>score:</b> The overall score of this pattern.</li>"+
85
+
"<li><b>avg_reslens:</b> How noisy is this pattern? For a given ?source, how many ?targets does it return on average over the ground truth pairs?</li>"+
86
+
"<li><b>gt_matches:</b> How many of our ground truth source-target-pairs does this pattern actually cover? (shown in next step)</li>"+
87
+
"<li><b>qtime:</b> How long did it take to evaluate this pattern for all ground truth pairs?</li>"+
88
+
"</ul>"
80
89
},
81
90
{
82
91
element: '#sidebar-pairs-panel',
83
92
onShow: autoScrollSideBar,
93
+
title: "Ground Truth Matches for pattern",
84
94
placement: 'left',
85
95
content: "Here you can see which of the ground truth source-target-pairs are matched by the selected pattern."
86
96
},
@@ -92,28 +102,31 @@ function startTour(force_start){
92
102
{
93
103
element: '#sidebar-SPARQL-panel',
94
104
onShow: autoScrollSideBar,
105
+
title: "Pattern's SPARQL query",
95
106
placement: 'left',
96
107
content: "Here you can find the SPARQL SELECT query for the selected pattern that was learned and can execute it."
97
108
},
98
109
{
99
110
element: '#graph svg>g',
100
111
onShown: fixupSVGHighlighting,
101
112
onHide: fixupSVGHighlightingRemove,
102
-
content: "Instead of reading the ugly text version on the right, here you see a graphical representation of the pattern."
113
+
title: "Pattern Visualisation",
114
+
content: "Instead of the (ugly) text version on the right, here you see a graphical representation of the learned and selected SPARQL pattern."
103
115
},
104
116
{
105
117
element: '#graph svg>g',
106
118
onShown: fixupSVGHighlighting,
107
119
onHide: fixupSVGHighlightingRemove,
108
-
content: "The ?source and ?target are special variables that were filled with the ground truth pairs on listed on the right during training."
120
+
title: "Pattern Visualisation",
121
+
content: "The <span style='color:green'>?source</span> and <span style='color:red'>?target</span> are special variables that were filled with the ground truth pairs listed on the right during training."
109
122
},
110
123
{
111
124
element: '#sidebar-select-panel',
112
125
onShow: autoScrollSideBar,
113
126
placement: 'left',
114
127
backdrop: false,
115
128
reflex: true,
116
-
content: "Select another pattern and see how everything else is updated..."
129
+
content: "Select another pattern and see how everything else is updated... (you may click!)"
117
130
},
118
131
{
119
132
element: '#matrix-nav',
@@ -122,7 +135,7 @@ function startTour(force_start){
content: "After we've now seen how you can quickly explore the learned graph patterns, let's switch to the matrix tab."
138
+
content: "After we've now seen how you can quickly explore the learned graph patterns, let's switch to the matrix tab. (click above)"
126
139
},
127
140
{
128
141
element: '#main-content',
@@ -132,23 +145,62 @@ function startTour(force_start){
132
145
content: "The matrix tab gives an overview about how the patterns cover the ground truth pairs. Each block represents one ground truth pair. Just hover over them to see how the currently selected graph pattern covers each of them."
content: "For example, this is a high precision match of the current pattern selected on the right for the input ground truth pair (see the URIs on top). We also list how many patterns in total (including the current one) match it."
content: "This is a low precision example. The currently selected pattern on the right does not match this ground truth pair (but other patterns hopefully do)."
content: "Selecting other patterns on the right will automatically update the matrix view."
168
+
},
169
+
{
170
+
element: '#no-graph-radio-container',
171
+
// onShow: autoScrollSideBar,
172
+
placement: 'left',
173
+
backdrop: false,
174
+
reflex: true,
175
+
title: "Accumulated precisions",
176
+
content: "In the matrix view you can also select this option to get an accumulated view that shows how <b>all patterns</b> in the current run and generation together cover the ground truth pairs."
content: "Each line in the fingerprint view represents a learned pattern and shows its condensed matrix view. You can use these fingerprints to quickly find \"different\" patterns with respect to the ground truth."
193
+
},
194
+
{
195
+
element: '#graph-fingerprint0',
196
+
// onShow: autoScrollSideBar,
197
+
placement: 'bottom',
198
+
backdrop: false,
199
+
reflex: true,
200
+
content: "As you might have guessed by now, you also see these fingerprints (only even more condensed) next to each of the graph patterns."
0 commit comments