/
index.html
373 lines (341 loc) · 15.4 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>QAnswer @ AMLD 2020</title>
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/wdaqua.css">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="lib/css/zenburn.css">
<link rel="stylesheet" href="plugin/title-footer/title-footer.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
</head>
<body>
<div class="reveal">
<header style="position: absolute;top: 50px; left: 100px; z-index:500; font-size:100px;background-color: rgba(0,0,0,0.5)"></header>
<div class="slides">
<!-- First slide -->
<section ch="-1" style="position: relative; height: 100%;">
<h3 style="margin-top: 10%; color: rgb(10,100,147);">A Conversational Agent to Support Citizen Interactions powered by Semantic AI</h3>
<div style="font-size: 25px; padding-top: 25px;">by Dennis Diefenbach</div>
<div style="font-size: 25px; padding-top: 25px;">27.01.2020</div>
<div style="font-size: 25px; padding-top: 25px;">@AMLD (Lausanne)</div>
<img src="assets/QAnswer-logo.png" style="margin-top: 5%; height: 50px; border: none; box-shadow: none;">
<!--<div>by</div>-->
<!--<div style="padding-top: 20px;">Dennis Diefenbach</div>-->
<!--<!–<h5 style="padding-top: 20px;">Supervisors: Pierre Maret and Kamal Singh</h5>–>-->
<!--<div style="padding-top: 5%;">-->
<!--<img src="assets/hcurien.png" style="height: 70px; border: none; box-shadow: none;">-->
<!--<img src="assets/ujm-udl.png" style="height: 70px; border: none; box-shadow: none;">-->
<!--<img src="assets/cnrs.png" style="height: 70px; border: none; box-shadow: none;">-->
<!--<img src="assets/pulsalys.png" style="height: 70px; border: none; box-shadow: none;">-->
<!--</div>-->
<!--<h4>From BibTeX input:</h4>-->
<div id="key1" class="cite" data-type="bib" ></div>
<div id="key2" class="cite" data-type="bib" ></div>
</section>
<!-- Outline -->
<section>
<h2>Outline</h2>
<ol>
<li><a href="#/KG"><div style="display: inline-block; background: darkcyan; width: 35px; height: 35px"></div> Constructing a Knowledge Graph about the European Union</a></li>
<li><a href="#/QAnswer"><div style="display: inline-block; background: rebeccapurple; width: 35px; height: 35px"></div> QAnswer: Answering Questions on Top of the Knowledge Graph</a></li>
<li><a href="#/Doris"><div style="display: inline-block; background: orange; width: 35px; height: 35px"></div> Integration in a Conversational Agent</a></li>
</ol>
</section>
<!-- Challenges -->
<section ch="2" id="KG">
<h2>Constructing a Knowledge Graph about the European Union<div style="vertical-align: top; font-size: smaller; display: inline;"></div></h2>
</section>
<section ch="2">
<div>The Knwoledge Graph is hosted using a new Wikimedia Project: Wikidata</div>
<img src="assets/wikimedia_projects.png" style="width: 60%;">
</section>
<section ch="2" data-background-iframe="https://linkedopendata.eu/wiki/The_EU_Knowledge_Graph" data-background-interactive>
<div style="margin-top: 50%">Available at <a href="https://linkedopendata.eu/">https://linkedopendata.eu/</a> </div>
</section>
<section ch="2">
<h3>Current content</h3>
</section>
<section ch="2" data-background-iframe="https://linkedopendata.eu/wiki/Item:Q171" data-background-interactive>
<div>European institutions</div>
</section>
<section ch="2" data-background-iframe="https://linkedopendata.eu/wiki/Item:Q23" data-background-interactive>
<div>European countries</div>
</section>
<section ch="2" data-background-iframe="https://linkedopendata.eu/wiki/Item:Q52" data-background-interactive>
<div>Capitals</div>
</section>
<section ch="2" data-background-iframe="https://linkedopendata.eu/wiki/Item:Q8361" data-background-interactive>
<div>DGs</div>
</section>
<section ch="2" data-background-iframe="https://linkedopendata.eu/wiki/Item:Q74781" data-background-interactive>
<div>Projects financed by the European Union</div>
</section>
<section ch="2">
<h3> Some Features</h3>
</section>
<section ch="2">
<div>Multilingual</div>
</section>
<section ch="2">
<div><a href="https://linkedopendata.eu/wiki/Item:Q65">https://linkedopendata.eu/wiki/Item:Q65</a> </div>
</section>
<section ch="2">
<div>Can be queried</div>
</section>
<section ch="2">
<div>Available at <a href="http://query.linkedopendata.eu/#%23Map%20of%20DG%20Regio%20Projects%20in%20denmark%0A%23added%202017-08%0A%23defaultView%3AMap%0Aselect%20%2a%20where%20%7B%0A%20%20%3Fs%20%3Fp%20%3Chttps%3A%2F%2Flinkedopendata.eu%2Fentity%2FQ9934%3E%20.%0A%20%20%3Fs%20%3Chttps%3A%2F%2Flinkedopendata.eu%2Fprop%2Fdirect%2FP127%3E%20%3Fo%20.%0A%20%20%3Fs%20%3Fp2%20%3Chttps%3A%2F%2Flinkedopendata.eu%2Fentity%2FQ12%3E%20.%0A%7D%20">http://query.linkedopendata.eu/</a> </div>
</section>
<section ch="2">
<div>Can be edited by humans and by bots</div>
</section>
<section ch="2">
<div><a href="https://linkedopendata.eu/wiki/Item:Q65">https://linkedopendata.eu/wiki/Item:Q65</a> </div>
</section>
<section ch="2">
<div>Scales</div>
</section>
<section ch="2">
<div>Wikibase hosts Wikidata, one of the largest existing KGs containing 5 Billion triples.</div>
</section>
<section ch="2">
<div>Policy aspect: Provenance</div>
</section>
<section ch="2" data-background-iframe="https://linkedopendata.eu/wiki/Item:Q1" data-background-interactive>
</section>
<section ch="2" data-background-iframe="https://linkedopendata.eu/wiki/Item:Q1&action=history" data-background-interactive>
</section>
<section ch="3" id="QAnswer">
<h2>QAnswer: Answering Questions on top of the Knowledge Graph<div style="vertical-align: top; font-size: smaller; display: inline;"></div></h2>
</section>
<section ch="3">
<h3>Intent Detection vs Semantic Parsing</h3>
</section>
<section ch="3">
<h3>Intent Detection</h3>
<div>
<div style="font-weight: bold;">Question:</div>
<div>I have a problem, my flight was delayed!</div>
</div>
<div>
<div style="font-weight: bold;">Intents:</div>
<ol>
<li>Flight delayed</li>
<li>Flight cancelled</li>
<li>Flight overbooked</li>
<li>Luggage lost.</li>
</ol>
</div>
</section>
<section ch="3">
<h3>Semantic Parsing</h3>
<div>
<div style="font-weight: bold;">Question:</div>
<div>What are projects by DG Regio in Denmark?</div>
</div>
<div style="font-weight: bold; margin-top: 2%">Formal representation:</div>
<div style="text-align: left; float:right; white-space: pre;">
PREFIX lode: <https://linkedopendata.eu/entity/>
PREFIX lodp: <https://linkedopendata.eu/props/direct/>
SELECT ?s where {
?s lodp:P35 lode:Q9934 .
?s lodp:P32 lode:Q12 .
}
</div>
</section>
<section ch="3">
<h3>Asking question on the Knowledge Graph ...</h3>
</section>
<section ch="3" data-background-iframe="https://qanswer-frontend.univ-st-etienne.fr/qa/full?query=Who%20is%20the%20president%20of%20the%20european%20commission&tags=%5B%5D&lang=en&kb=wikidata%2Copenstreetmap" data-background-interactive>
</section>
<section ch="3" data-background-iframe="https://qanswer-frontend.univ-st-etienne.fr/qa/full?query=what%20is%20the%20capital%20of%20the%20eu&tags=%5B%5D&lang=en&kb=wikidata%2Copenstreetmap" data-background-interactive>
</section>
<section ch="3" data-background-iframe="https://qanswer-frontend.univ-st-etienne.fr/qa/full?query=%20dg%20cnect%20head&tags=%5B%5D&lang=en&kb=wikidata%2Copenstreetmap" data-background-interactive>
</section>
<section ch="3">
<h3>Policy aspect: Explainability</h3>
</section>
<section ch="3" data-background-iframe="https://qanswer-frontend.univ-st-etienne.fr/qa/full?query=currency%20in%20denmark&tags=%5B%5D&lang=en&kb=wikidata%2Copenstreetmap" data-background-interactive>
</section>
<section ch="4" id="/Doris">
<h2>Integration in a Conversational Agent<div style="vertical-align: top; font-size: smaller; display: inline;"></div></h2>
</section>
<section ch="4" data-background="assets/dori.png">
<div><a href="https://chatbot.cnect.eu/">https://chatbot.cnect.eu/</a> </div>
</section>
<section>
<h2>Conclusion</h2>
<div style="float: left">We have shown how:</div>
<ol>
<li>data about the European Union can be aggregated in a Knwoledge Graph</li>
<li>this data can be made accessible via natural language</li>
<li>the data can be accessed via a Conversational Agent.</a></li>
</ol>
</section>
<section>
<div>Acknowledgmentes:</div>
<ul>
<li>Doris Team @ CNECT</li>
<li>Max De Wilde</li>
<li>Raphael Hubain</li>
</ul>
</section>
<section>
<div>Thank you! Questions?</div>
</section>
</div>
</div>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.js"></script>
<script src="assets/bib.bib"></script>
<script>
// More info about config & dependencies:
// - https://github.com/hakimel/reveal.js#configuration
// - https://github.com/hakimel/reveal.js#dependencies
Reveal.initialize({
//slideNumber: true,
progress: false,
dependencies: [
{ src: 'plugin/markdown/marked.js' },
{ src: 'plugin/markdown/markdown.js' },
{ src: 'plugin/notes/notes.js', async: true },
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'plugin/title-footer/title-footer.js', async: true, callback: function() { } }
]
});
</script>
<script>
Reveal.addEventListener( 'slidechanged', function( event ) {
var elem = document.getElementById('title-footer');
if (elem!=null){
elem.parentNode.removeChild(elem);
}
var title = ' ';
var color = 'rgb(51, 51, 51)';
if (event.currentSlide.getAttribute("ch")=="-1" || event.currentSlide.getAttribute("ch")===undefined || Reveal.getIndices().h===undefined){
title = "-1";
}
if (event.currentSlide.getAttribute("ch")=="0"){
title = " ";
}
if (event.currentSlide.getAttribute("ch")=="1"){
title = "What is Question Answering?";
}
if (event.currentSlide.getAttribute("ch")=="2"){
title = "1.Constructing a Knowledge Graph about the European Union";
color = "darkcyan";
}
if (event.currentSlide.getAttribute("ch")=="3"){
title = "2. QAnswer: Answering Questions on top of the Knowledge Graph";
color = "rebeccapurple";
}
if (event.currentSlide.getAttribute("ch")=="4"){
title = "3. Integration in a Conversational Agent";
color = "orange";
}
if (event.currentSlide.getAttribute("ch")=="5"){
title = "4. Qanary: An architecture for QA systems";
color = "green";
}
title_footer.initialize((Reveal.getIndices().h+1)+"/"+Reveal.getTotalSlides(), title, color);
// console.log(event.currentSlide.getAttribute("chapter"));
//console.log(event.currentSlide.chapter);
// event.previousSlide, event.currentSlide, event.indexh, event.indexv
} );
</script>
<!--<script class="code" type="text/javascript">-->
<!--var citations = $('.cite');-->
<!--for (var i=0; i< citations.length; i++){-->
<!--console.log(citations[i].id);-->
<!--}-->
<!--var Cite = require('citation-js')-->
<!--// Set variables-->
<!--var cite = new Cite();-->
<!--var opt = {-->
<!--format: 'string'-->
<!--}-->
<!--// Make shorter ref to function-->
<!--var parseAsync = Cite.parse.input.async.chain-->
<!--// Make a factory for callback-->
<!--var callbackFactory = function (out) {-->
<!--console.log(out);-->
<!--return function (data) {-->
<!--out.html(cite.set(data).get(opt))-->
<!--}-->
<!--}-->
<!--$(function(){-->
<!--// jQuery elements-->
<!--console.log(bib);-->
<!--var bibx_in = bib;-->
<!--console.log("here");-->
<!--console.log(bibx_in);-->
<!--console.log("here2");-->
<!--// Callbacks-->
<!--var bibxCb = callbackFactory($('#bibx-out'));-->
<!--// Declare function to update the output-->
<!--function update() {-->
<!--// Get user options-->
<!--opt.type = 'html',-->
<!--opt.style ='citation-apa',-->
<!--opt.lang = 'en-US'-->
<!--// Set data (explicit parsing only recommended for async) and set html element to get output-->
<!--parseAsync(bibx_in).then(bibxCb)-->
<!--}-->
<!--// Make output update when input is defocussed...-->
<!--$('.in').on('blur', update)-->
<!--// ... or a select tag has changed-->
<!--$('select').on('change', update)-->
<!--// Trigger update-->
<!--update()-->
<!--})-->
<!--</script>-->
</body>
<!--<style type="text/css">-->
<!--/* 1. Style header/footer <div> so they are positioned as desired. */-->
<!--#header-left {-->
<!--position: absolute;-->
<!--top: 0%;-->
<!--left: 0%;-->
<!--}-->
<!--#header-right {-->
<!--position: absolute;-->
<!--top: 0%;-->
<!--right: 0%;-->
<!--}-->
<!--#footer-left {-->
<!--position: absolute;-->
<!--bottom: 0%;-->
<!--left: 0%;-->
<!--}-->
<!--</style>-->
<!--<!– 2. Create hidden header/footer <div> –>-->
<!--<div id="hidden" style="display:none;">-->
<!--<div id="header">-->
<!--<div id="header-left">HEADER-LEFT</div>-->
<!--<div id="header-right">HEADER-RIGHT</div>-->
<!--<div id="footer-left">FOOTER-LEFT</div>-->
<!--</div>-->
<!--</div>-->
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<!--<script type="text/javascript">-->
<!--// 3. On Reveal.js ready event, copy header/footer <div> into each `.slide-background` <div>-->
<!--var header = $('#header').html();-->
<!--if ( window.location.search.match( /print-pdf/gi ) ) {-->
<!--Reveal.addEventListener( 'ready', function( event ) {-->
<!--$('.slide-background').append(header);-->
<!--});-->
<!--}-->
<!--else {-->
<!--$('div.what').append(header);-->
<!--}-->
<!--</script>-->
</html>