File: adminui.webservices.xml

package info (click to toggle)
virtuoso-opensource 7.2.5.1%2Bdfsg1-0.3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 285,240 kB
  • sloc: ansic: 641,220; sql: 490,413; xml: 269,570; java: 83,893; javascript: 79,900; cpp: 36,927; sh: 31,653; cs: 25,702; php: 12,690; yacc: 10,227; lex: 7,601; makefile: 7,129; jsp: 4,523; awk: 1,697; perl: 1,013; ruby: 1,003; python: 326
file content (927 lines) | stat: -rw-r--r-- 43,638 bytes parent folder | download | duplicates (2)
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
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
 -  
 -  This file is part of the OpenLink Software Virtuoso Open-Source (VOS)
 -  project.
 -  
 -  Copyright (C) 1998-2018 OpenLink Software
 -  
 -  This project is free software; you can redistribute it and/or modify it
 -  under the terms of the GNU General Public License as published by the
 -  Free Software Foundation; only version 2 of the License, dated June 1991.
 -  
 -  This program is distributed in the hope that it will be useful, but
 -  WITHOUT ANY WARRANTY; without even the implied warranty of
 -  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 -  General Public License for more details.
 -  
 -  You should have received a copy of the GNU General Public License along
 -  with this program; if not, write to the Free Software Foundation, Inc.,
 -  51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 -  
 -  
-->

<sect2 id="admui.webservices"><title>Web Services</title>
  <sect3 id="contentcrawler"><title>Content Crawler</title>
  
    <itemizedlist mark="bullet">Some of the supported features are:
      <listitem><emphasis>Import Targets</emphasis>: Virtuoso can be set up to retrieve content from external web sites and host it in its own
WebDAV repository via this page.
        <figure float="1"><title>Web Robot - Crawl Job</title>
      <graphic fileref="ui/dav_rbt_trgt_01.png"/>
    </figure>
        <figure float="1"><title>Web Robot - Crawl Job</title>
          <graphic fileref="ui/dav_rbt_trgt_02.png"/>
        </figure>        
        <itemizedlist mark="bullet">
          <listitem><emphasis>Crawl Job Name</emphasis> lets you provide a friendly name for the target that you are defining.</listitem>
          <listitem><emphasis>Data Source Address (URL)</emphasis> is the url of the web site that you are trying
to retrieve content from. Only the hostname should be provided here, along with the protocol. For
example http://www.myhost.com.</listitem>
          <listitem><emphasis>Data Source Username (Login ID)</emphasis> is the username for accessing the remote server,
if required.
          </listitem>
          <listitem><emphasis>Data Source Password</emphasis> is the password for the login name above.</listitem>
          <listitem><emphasis>Local WebDAV Identifier</emphasis> this *mandatory* value will serve 
          as the DAV root location if content is stored locally.</listitem>
          <listitem><emphasis>Single page download</emphasis> radio button specifies whether
Virtuoso will retrieved linked content also.</listitem>
          <listitem><emphasis>Local Resources Owner</emphasis> The DAV user that will be the owner
of the content that will copied to DAV.</listitem>
          <listitem>The <emphasis>Retrieve data newer than</emphasis> field allows you to specify
a datetime value to prevent Virtuoso downloading files that are older than
that datetime.</listitem>
          <listitem>Use the <emphasis>Follow Links Matching</emphasis> field to limit the content
that is downloaded by specify pattern matching criteria.</listitem>
          <listitem><emphasis>Do NOT follow links matching</emphasis> allows you limit content by
specifying what files not to download.</listitem>
        </itemizedlist>
      </listitem>                                                
      <listitem><emphasis>Use robots.txt</emphasis> check-box is checked by default.</listitem>
      <listitem><emphasis>Custom HTTP headers</emphasis> can be used to specigy custom HTTP headers.</listitem>
      <listitem><emphasis>Number of HTTP redirects to follow</emphasis> is set by default to 1.</listitem>
      <listitem><emphasis>XPath expression for links extraction</emphasis> allows to be entered custom XPath expression.</listitem>
      <listitem><emphasis>Crawling depth limit</emphasis> allows to limit crawling depth. By default is set to "unlimited".</listitem>
      <listitem><emphasis>Update Interval (minutes)</emphasis> is on what interval the updated of the crawled data should be performed.</listitem>      
      <listitem><emphasis>Number of threads</emphasis> allows setting crawling threads.</listitem>            
      <listitem><emphasis>Crawl delay (sec)</emphasis> allows to be specified a delay. By default is set to "0.00".</listitem>                  
      <listitem><emphasis>Store Function</emphasis> allows to be used a specific stored function for ex. in Semantic Sitemaps crawling. 
        <para>  
          <tip><title>See Also:</title>
            <para><ulink url="http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtSetCrawlerJobsGuideSemanticSitemapsFuncExample">Example of Stored Functions.</ulink></para>
          </tip>
        </para>  
      </listitem>                        
      <listitem><emphasis>Extract Function</emphasis> allows to be used a specific extract function for ex. in Semantic Sitemaps crawling. If left empty, will be used a system Store function.
        <para>  
          <tip><title>See Also:</title>
            <para><ulink url="http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VirtSetCrawlerJobsGuideSemanticSitemapsFuncExample">Example of Stored Functions.</ulink></para>
          </tip>
        </para>        
      </listitem>                              
      <listitem><emphasis>Semantic Web Crawling</emphasis>: hatch to retrieve Semantic Sitemaps. If left empty, will be used a system Store function.</listitem>                              
      <listitem><emphasis>If Graph IRI is unassigned use this Data Source URL:</emphasis> use to specify a custom graph URI for data storage.</listitem>                              
      <listitem><emphasis>Follow URLs outside of the target host</emphasis> is check-box to specify either to follow URIS outside of the target host.</listitem>                               	
      <listitem><emphasis>Follow HTML meta link</emphasis> is check-box to specifiy either to follow HTML meta links.</listitem>                               	
      <listitem><emphasis>Follow these properties paths (list one IRI per row)</emphasis>.</listitem>                               	
      <listitem><emphasis>Download Images</emphasis> radio buttons to allow Virtuoso to pull
down image type also.  You may want to prevent this if you are more interested
in the textual content rather than bandwidth draining images.</listitem>                                    
      <listitem><emphasis>Use WebDAV methods</emphasis> can be checked if the host is known to
support WebDAV methods. This would enable better copying of sites that support DAV.</listitem>                                    
      <listitem><emphasis>Delete if remove on remote detected</emphasis> can be switched on
so that when Virtuoso synchronizes its content with that on the remote host
it will check for files that have been removed on the remote and remove
them from the local copy also.</listitem>                                    
      <listitem><emphasis>Store metadata*</emphasis> when checked offers to be stored respectively
metadata from FOAF, RDF, RSS/RDF and GRDLL data depending on which check-box is checked.</listitem>                                    
      <listitem>When all details have been completed press the <emphasis>Add</emphasis> (or
Update if updating) button to submit the web robot task to the queue.</listitem>                                    
      <listitem><emphasis>Import Queues</emphasis>: This page shows you a list of web copy targets that have been enlisted with the
Virtuoso Server, and a list of web robot update schedules. Several options are available for
each item listed: Start, Update, Schedule, Reset, and Stop. You can configure the scheduled update
interval by pressing the Schedule link and entering a value in minutes. Once that is done you can
start the schedule by pressing the Start link. You make a manual update of the content by pressing
the Update link. You can stop the scheduled updates taking place by pressing the Stop link. To reset
the details of the web copy item press the Reset link.
        <figure float="1"><title>Web Robot - Queues</title>
      <graphic fileref="ui/dav_rbt_que_01.png"/>
    </figure>
</listitem>
      <listitem><emphasis>Retrieved Sites</emphasis>: You can view a list of the links retrieved from the web copy from this page. You are also
able to remove some of the content from this page by following the Edit link.
        <figure float="1"><title>Web Robot - Retrieved Links</title>
      <graphic fileref="ui/dav_rbt_rtrd_01.png"/>
    </figure>
</listitem>
      <listitem><emphasis>Export</emphasis>: You can export content from the WebDAV repository. Note that you can only export content
that has been retrieved using Virtuoso's Web Robot.
    <para>When you click the "Export" link for a retrieved collection, you will be presented
with a form for selecting the export target location. Choose the export method: either File
System or DAV by clicking the "External WebDAV Server URL" check-box. This lets you indicate to
the remote target where to store the exported content. Then type the target URL to an existing
location on the server. Finally press the <emphasis>Export</emphasis> button to export.
A confirmation will be supplied once the operation is complete.
    </para>
        <figure float="1" id="dav_rbt_expt_02"><title>Web Robot - Exporting Content</title>
      <graphic fileref="ui/dav_rbt_expt_02.png"/>
    </figure>
    <note>
      <title>Note:</title>
      <para>If is not checked the "External WebDAV Server URL" check-box, i.e. you are selecting the
filesystem method, then you are restricted to Virtuoso targets. However WebDAV methods can be applied
to any WebDAV server. WebDAV methods assume that the target is publicly available for writing.
      </para>
    </note>
</listitem>
      <listitem><emphasis>Populate the RDF Quad Store</emphasis>: Virtuoso's built-in Content Crawler to can be used to populate its RDF Quad Store, as a one-time run or on a scheduled basis.
<para>Transforming data sources into RDF "on the fly" is sufficient for many use cases, but there are times when the volume or sheer nature of a data source makes batch-loading necessary.</para>
<para>For example, Freebase offers RDF representations of its data, but it doesn't publish RDF dumps; even if it did, such dumps would usually be outdated by the time they were loaded.</para>
<para>One practical solution takes the form of a scheduled crawl of specific resources of interest.</para>
</listitem>
  </itemizedlist>
    
  <sect4 id="contentcrawlerrdf"><title>Set Up the Content Crawler to Gather RDF</title>
  <para>The Virtuoso Conductor can be used to set up various Content Crawler Jobs:</para>
  <sect5 id="contentcrawlerrdfquad"><title>Setting up a Content Crawler Job to Add RDF Data to the Quad Store</title>
<para>See <link linkend="rdfinsertmethodvirtuosocrawler">details</link> how to use Virtuoso Crawler for including the Sponger options so you crawl non-RDF but get RDF and this to the Quad Store.</para>  
  </sect5>
  <sect5 id="contentcrawlerrdfsm"><title>Setting up a Content Crawler Job to Retrieve Sitemaps (when the source includes RDFa)</title>
  <para>The following section describes how to set up a crawler job for getting content of a basic Sitemap where the source includes RDFa.</para>
<orderedlist>
	<listitem>From the Virtuoso Conductor User Interface i.e. http://cname:port/conductor, login as the "dba" user.</listitem>
  <listitem>Go to the "Web Application Server" tab.
    <figure id="cr1" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Sitemaps</title>
      <graphic fileref="ui/cr1.png"/>
    </figure>
  </listitem>
  <listitem>Go to the "Content Imports" tab.
    <figure id="cr2" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Sitemaps</title>
      <graphic fileref="ui/cr2.png"/>
    </figure>
  </listitem>
  <listitem>Click on the "New Target" button.
    <figure id="cr3" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Sitemaps</title>
      <graphic fileref="ui/cr3.png"/>
    </figure>
  </listitem>
  <listitem>In the form displayed:
<itemizedlist mark="bullet">
  <listitem>Enter a name of choice in the "Crawl Job Name" text box:
<programlisting><![CDATA[
Virtuoso Sample Example	
]]></programlisting>  	
</listitem>
  <listitem>Enter the URL of the site to be crawled in the "Data Source Address (URL)" text box: 
<programlisting><![CDATA[
http://virtuoso.openlinksw.com/
]]></programlisting>  	
</listitem>
  <listitem>Enter the location in the Virtuoso WebDAV repository the crawled should stored, in the 
  	"Local WebDAV Identifier" text box, for example, if user demo is available, then:
<programlisting><![CDATA[
/DAV/home/demo/VirtSample/	
]]></programlisting>  	
</listitem>
  <listitem>Choose the  "Local resources owner" for the collection from the list box available, for ex: user demo.</listitem>
  <listitem>Select the "Accept RDF" check box.</listitem>      
  <listitem>Optionally you can select "Convert Links" to make all HREFs in the local stored content relative.</listitem>
  <listitem>Click the "Create" button to create the import.</listitem>        
</itemizedlist>
    <figure id="cr11" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Sitemaps</title>
      <graphic fileref="ui/cr11.png"/>
    </figure>
    <figure id="cr11a" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Sitemaps</title>
      <graphic fileref="ui/cr11a.png"/>
    </figure>    
  </listitem>
  <listitem>Click the "Import Queues" button.
    <figure id="cr12" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Sitemaps</title>
      <graphic fileref="ui/cr12.png"/>
    </figure>
   
  </listitem>
  <listitem>For the "Robot targets" with label "Basic Sitemap Crawling Example " click the "Run" button.
    <figure id="cr12a" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Sitemaps</title>
      <graphic fileref="ui/cr12a.png"/>
    </figure>   	
  </listitem>
  <listitem>This will result in the Target site being crawled and the retrieved pages stored locally in DAV and any network resource triples being fetched in the RDF Quad store.
    <figure id="cr13" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Sitemaps</title>
      <graphic fileref="ui/cr13.png"/>
    </figure>
  </listitem>
  <listitem>Go to the "Web Application Server" -&gt; "Content Management" tab.
    <figure id="cr14" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Sitemaps</title>
      <graphic fileref="ui/cr14.png"/>
    </figure>
  </listitem>
  <listitem>Navigate to the location of newly created DAV collection:
<programlisting><![CDATA[
/DAV/home/demo/VirtSample/
]]></programlisting>
  </listitem>
  <listitem>The retrieved content will be available in this location.
    <figure id="cr15" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Sitemaps</title>
      <graphic fileref="ui/cr15.png"/>
    </figure>
  </listitem>
</orderedlist>  
  </sect5>  
  <sect5 id="contentcrawlerrdfssm"><title>Setting up a Content Crawler Job to Retrieve Semantic Sitemaps (a variation of the standard sitemap)</title>
  <para>The following section describes how to set up crawler job for getting Semantic Sitemap's content: a variation of standard sitemap:</para>  
<orderedlist>
  <listitem>From the Virtuoso Conductor User Interface i.e. http://cname:port/conductor, login as the "dba" user.</listitem>
  <listitem>Go to "Web Application Server".
    <figure id="cr1" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Semantic Sitemap content</title>
      <graphic fileref="ui/cr1.png"/>
    </figure>
  </listitem>
  <listitem>Go to "Content Imports".
    <figure id="cr2" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Semantic Sitemap content</title>
      <graphic fileref="ui/cr2.png"/>
    </figure>
  </listitem>
  <listitem>Click "New Target".
    <figure id="cr3" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Semantic Sitemap content</title>
      <graphic fileref="ui/cr3.png"/>
    </figure>
  </listitem>
  <listitem>In the shown form:
<itemizedlist mark="bullet">
  <listitem>Enter for "Crawl Job Name":
<programlisting><![CDATA[
Semantic Web Sitemap Example 	
]]></programlisting>  	
</listitem>
  <listitem>Enter for "Data Source Address (URL)":
<programlisting><![CDATA[
http://www.connexfilter.com/sitemap_en.xml	
]]></programlisting>  	
</listitem>
  <listitem>Enter the location in the Virtuoso WebDAV  repository the crawled should stored in the 
  	"Local WebDAV Identifier" text box, for example, if user demo is available, then:
<programlisting><![CDATA[
/DAV/home/demo/semantic_sitemap/	
]]></programlisting>  	
</listitem>
  <listitem>Choose the "Local resources owner" for the collection from the list box available, for ex: user demo.</listitem> 
  <listitem>Hatch "Semantic Web Crawling"
<itemizedlist mark="bullet">
  <listitem>Note: when you select this option, you can either:
<orderedlist>
  <listitem>Leave the Store Function and Extract Function empty - in this case the system Store and Extract functions will be used for the Semantic Web Crawling Process, or:</listitem>
  <listitem>You can select your own Store and Extract Functions, for ex:
<programlisting><![CDATA[
-- Example of Extract Function
use WS;

create procedure WS.WS.SITEMAP_BB_PARSE (
  in _host varchar, 
  in _url varchar, 
  in _root varchar, 
  inout _content varchar,  
  in _c_type varchar := null, 
  in lev int := 0))
{
  --pl_debug+
  declare xt, xp, graph any;
  declare inx int;

--  dbg_obj_print ('WS.WS.GET_URLS_SITEMAP', _url);

  declare exit handler for sqlstate '*'
    {
--      dbg_obj_print (__SQL_MESSAGE);
      return;
    };

  if (_url like '%.xml.gz')
    {
      _content := gzip_uncompress (_content); 
    }

  if (_url like '%.xml' or _url like '%.xml.gz' or _url like '%.rdf')
    {
      xt := xtree_doc (_content);
      if (xpath_eval ('/urlset/dataset', xt) is not null)
	{
	  xp := xpath_eval ('/urlset/dataset/dataDumpLocation/text()', xt, 0);
	  graph := cast (xpath_eval ('/urlset/dataset/datasetURI/text()', xt) as varchar);
	  if (length (graph))
	    update VFS_SITE set VS_UDATA = serialize (vector ('graph', graph)) where VS_HOST = _host and VS_ROOT = _root;
	  inx := 0;
	  foreach (any u in xp) do
	    {
	      declare hf, host, url varchar;

	      u := cast (u as varchar);
	      hf := WS.WS.PARSE_URI (u);
	      host := hf[1];
	      --dbg_obj_print ('WS.WS.GET_URLS_SITEMAP PARSE', u);
	      url := hf[2];
	      insert soft VFS_QUEUE (VQ_HOST, VQ_TS, VQ_URL, VQ_STAT, VQ_ROOT, VQ_OTHER) 
		  values (host, now (), url, 'waiting', _root, NULL); 
	      if (row_count () = 0)
		update VFS_QUEUE set VQ_STAT = 'waiting', VQ_TS = now () where VQ_HOST = host and VQ_ROOT = _root and VQ_URL = url;
	      inx := inx + 1;
	    }
	}
      if (xpath_eval ('/sitemapindex/sitemap/loc', xt) is not null)
	{
	  xp := xpath_eval ('/sitemapindex/sitemap/loc/text()', xt, 0);
	  inx := 0;
	  foreach (any u in xp) do
	    {
	      declare hf, host, url varchar;

	      u := trim (cast (u as varchar));
	      hf := WS.WS.PARSE_URI (u);
	      host := hf[1];
--	      dbg_obj_print ('WS.WS.GET_URLS_SITEMAP', host, _host);
	      url := hf[2];
	      if (url <> '')
		{
		  insert soft VFS_QUEUE (VQ_HOST, VQ_TS, VQ_URL, VQ_STAT, VQ_ROOT, VQ_OTHER) 
		      values (host, now (), url, 'waiting', _root, NULL); 
		  if (row_count () = 0)
		    update VFS_QUEUE set VQ_STAT = 'waiting', VQ_TS = now () where VQ_HOST = host and VQ_ROOT = _root and VQ_URL = url;
		  inx := inx + 1;
		}
	    }
	}
    }
  commit work;
}
;


-- Example of Store Function
use WS;

create procedure WS.WS.SITEMAP_BB_STORE (
  in _host varchar, 
  in _url varchar, 
  in _root varchar,
  inout _content varchar, 
  in _s_etag varchar, 
  in _c_type varchar,
  in store_flag int := 1, 
  in udata any := null,
  in lev int := 0)
{
  --pl_debug+
  declare graph varchar;

--  dbg_obj_print ('WS.WS.SITEMAP_BB_STORE', _url, udata);
  if (isarray (udata))
    graph := get_keyword ('graph', udata);
  else  
    graph := null;

  if (graph is not null and _url like '%.rdf')
    {
      DB.DBA.RDF_LOAD_RDFXML (_content, graph, graph);
      DB.DBA.VT_INC_INDEX_DB_DBA_RDF_OBJ ();
    }
  insert soft VFS_URL (VU_HOST, VU_URL, VU_CHKSUM, VU_CPTIME, VU_ETAG, VU_ROOT)
      values (_host, _url, md5 (_content), now (), _s_etag, _root);
  if (row_count () = 0)
    update VFS_URL set VU_CHKSUM = md5 (_content), VU_CPTIME = now (), VU_ETAG = _s_etag where
	VU_HOST = _host and VU_URL = _url and VU_ROOT = _root;
  commit work;
}
;
]]></programlisting>
  </listitem>
</orderedlist>  	
  </listitem>
</itemizedlist>
  </listitem>    
</itemizedlist>  	
  </listitem>
  <listitem>Optionally you can select "Convert Link" to make all HREFs in the local stored content relative.</listitem>
  <listitem>Hatch "Accept RDF"
    <figure id="cr16" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Semantic Sitemap content</title>
      <graphic fileref="ui/cr16.png"/>
    </figure>
    <figure id="cr17" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Semantic Sitemap content</title>
      <graphic fileref="ui/cr17.png"/>
    </figure>    
  </listitem>  
  <listitem>Optionally you can hatch "Store metadata *" and specify which RDF Cartridges to be included from the Sponger: 
    <figure id="cr17a" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Semantic Sitemap content</title>
      <graphic fileref="ui/cr17a.png"/>
    </figure>        
  </listitem>
  <listitem>Click the button "Create". 
    <figure id="cr18" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Semantic Sitemap content</title>
      <graphic fileref="ui/cr18.png"/>
    </figure>
  </listitem>
  <listitem>Click "Import Queues".
    <figure id="cr19" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Semantic Sitemap content</title>
      <graphic fileref="ui/cr19.png"/>
    </figure>
  </listitem>
  <listitem>For "Robot target" with label "Semantic Web Sitemap Example" click "Run".
  </listitem>
  <listitem>As result should be shown the number of the pages retrieved.
    <figure id="cr20" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Semantic Sitemap content</title>
      <graphic fileref="ui/cr20.png"/>
    </figure>
  </listitem>
  <listitem>Check the retrieved RDF data from your Virtuoso instance sparql endpoint http://cname:port/sparql with the following query selecting all the retrieved graphs for ex:
<programlisting><![CDATA[
SELECT ?g 
FROM <http://host:port/>
WHERE 
  { 
    graph ?g { ?s ?p ?o } . 
    FILTER ( ?g LIKE <http://www.connexfilter.com/%> ) 
  }	
]]></programlisting>
    <figure id="cr21" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Semantic Sitemap content</title>
      <graphic fileref="ui/cr21.png"/>
    </figure>
  </listitem>
</orderedlist>  
  </sect5> 
  <sect5 id="contentcrawlerrdfsd"><title>Setting up a Content Crawler Job to Retrieve Content from Specific Directories</title>
  <para>The following section describes how to set up crawler job for getting directories using Conductor.</para>  
<orderedlist>
	  <listitem>From the Virtuoso Conductor User Interface i.e. http://cname:port/conductor, login as the "dba" user.</listitem>
  <listitem>Go to "Web Application Server".
    <figure id="cr1" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Content from Specific Directories</title>
      <graphic fileref="ui/cr1.png"/>
    </figure>
  </listitem>
  <listitem>Go to "Content Imports".
    <figure id="cr2" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Content from Specific Directories</title>
      <graphic fileref="ui/cr2.png"/>
    </figure>
  </listitem>
  <listitem>Click "New Target".
    <figure id="cr3" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Content from Specific Directories</title>
      <graphic fileref="ui/cr3.png"/>
    </figure>
  </listitem>
  <listitem>In the shown form:
<itemizedlist mark="bullet">
  <listitem>Enter for "Crawl Job Name":
<programlisting><![CDATA[
Gov.UK data	
]]></programlisting>  	
</listitem>
  <listitem>Enter for "Data Source Address (URL)":
<programlisting><![CDATA[
http://source.data.gov.uk/data/	
]]></programlisting>  	
</listitem>
  <listitem>Enter for "Local WebDAV Identifier" for available user, for ex. demo:
<programlisting><![CDATA[
/DAV/home/demo/gov.uk/	
]]></programlisting>  	
</listitem>
  <listitem>Choose from the available list "Local resources owner" an user, for ex. demo.	
    <figure id="d1" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Content from Specific Directories</title>
      <graphic fileref="ui/d1.png"/>
    </figure>  	
    <figure id="d1a" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Content from Specific Directories</title>
      <graphic fileref="ui/d1a.png"/>
    </figure>      	
</listitem>
  <listitem>Optionally you can select "Convert Link" to make all HREFs in the local stored content relative.</listitem>
  <listitem>Click the button "Create".</listitem>
</itemizedlist>
  </listitem>
  <listitem>As result the Robot target will be created:
    <figure id="d2" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Content from Specific Directories</title>
      <graphic fileref="ui/d2.png"/>
    </figure>
  </listitem>
  <listitem>Click "Import Queues".
    <figure id="d3" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Content from Specific Directories</title>
      <graphic fileref="ui/d3.png"/>
    </figure>
  </listitem>
  <listitem>For "Robot target" with label "Gov.UK data" click "Run".
  </listitem>
  <listitem>As result will be shown the status of the pages: retrieved, pending or respectively waiting.
    <figure id="d4" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Content from Specific Directories</title>
      <graphic fileref="ui/d4.png"/>
    </figure>
  </listitem>
  <listitem>Click "Retrieved Sites".</listitem>
  <listitem>As result should be shown the number of the total pages retrieved.
    <figure id="d5" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Content from Specific Directories</title>
      <graphic fileref="ui/d5.png"/>
    </figure>
  </listitem>
  <listitem>Go to "Web Application Server" -> "Content Management".
  </listitem>    
  <listitem>Enter path:
<programlisting><![CDATA[
DAV/home/demo/gov.uk	
]]></programlisting> 
    <figure id="d6" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Content from Specific Directories</title>
      <graphic fileref="ui/d6.png"/>
    </figure> 	
  </listitem> 
  <listitem>Go to path
<programlisting><![CDATA[
DAV/home/demo/gov.uk/data	
]]></programlisting>
  </listitem> 
  <listitem>As result the retrieved content will be shown.
    <figure id="d7" float="1">
      <title>Setting up a Content Crawler Job to Retrieve Content from Specific Directories</title>
      <graphic fileref="ui/d7.png"/>
    </figure>
  </listitem>       
</orderedlist>  
  </sect5>   
  <sect5 id="contentcrawleratom"><title>Setting up a Content Crawler Job to Retrieve Content from ATOM feed</title>
    <para>This section demonstrates populating the Virtuoso Quad Store using ATOM feed.</para>
    <para>Populating the Virtuoso Quad Store can be done in different ways Virtuoso supports. The Conductor -> Content Import UI offers plenty of options, one of which is the XPath expression for crawling RDF resources URLs and this feature is a powerful and easy-to-use for managing the Quad Store.</para>
    <para>To populate the Virtuoso Quad Store, in this Guide we will use a XPAth expression for the URLs of the RDF resources references in a given ATOM feed. For ex. this one of the "National Bibliography" Store.</para>
    <orderedlist>
      <listitem>Go to http://cname/conductor</listitem>
      <listitem>Enter dba credentials</listitem>
      <listitem>Go to Web Application Server -> Content Management -> Content Imports:
        <figure id="cra1" float="1">
          <title>Crawling ATOM feed</title>
          <graphic fileref="ui/cra1.png"/>
        </figure>       	
      </listitem>
      <listitem>Click "New Target":
        <figure id="cr3" float="1">
          <title>Crawling ATOM feed</title>
          <graphic fileref="ui/cr3.png"/>
        </figure>       	
      </listitem>
      <listitem>In the presented form specify respectively:
        <itemizedlist mark="bullet">
          <listitem>"Crawl Job Name": for ex. National Bibliography ;</listitem>
          <listitem>"Data Source Address (URL)": for ex. http://data.libris.kb.se/nationalbibliography/feed/ ;
          <para>Note: the entered URL will be the graph URI for storing the imported RDF data. 
          	You can also set it explicitly by entering another graph URI in the 
          	"Data Source URL" shown as option in this form.</para>
          </listitem>
          <listitem>"Local WebDAV Identifier": for ex.
<programlisting><![CDATA[
/DAV/temp/nbio/ 	
]]></programlisting>          	
          </listitem>
          <listitem>"XPath expression for links extraction:":
<programlisting><![CDATA[
//entry/link/@href	
]]></programlisting>          	
          </listitem>
          <listitem>"Update Interval (minutes)": for ex. 10 ; </listitem>
          <listitem>"Run Sponger": hatch this check-box ; </listitem>
          <listitem>"Accept RDF": hatch this check-box ; </listitem>
          <listitem>"Store metadata": hatch this check-box ; </listitem>
          <listitem>"RDF Cartridge": hatch this check-box and specify what cartridges will be used:
            <figure id="cra3" float="1">
              <title>Crawling ATOM feed</title>
              <graphic fileref="ui/cra3.png"/>
            </figure>     
            <figure id="cra4" float="1">
              <title>Crawling ATOM feed</title>
              <graphic fileref="ui/cra4.png"/>
            </figure>
            <figure id="cra5" float="1">
              <title>Crawling ATOM feed</title>
              <graphic fileref="ui/cra5.png"/>
            </figure>
          </listitem>
        </itemizedlist>      	
      </listitem>
      <listitem>Click "Create".</listitem>
      <listitem>The new created target should be displayed in the list of available Targets:
        <figure id="cra7" float="1">
          <title>Crawling ATOM feed</title>
          <graphic fileref="ui/cra7.png"/>
        </figure>      	
      </listitem>
      <listitem>Click "Import Queues": 
        <figure id="cra8" float="1">
          <title>Crawling ATOM feed</title>
          <graphic fileref="ui/cra8.png"/>
        </figure>      	
      </listitem>
      <listitem>Click for "National Bibliography" target the "Run" link from the very-right "Action" column.</listitem>
      <listitem>Should be presented list of Top pending URLs:
        <figure id="cra9" float="1">
          <title>Crawling ATOM feed</title>
          <graphic fileref="ui/cra9.png"/>
        </figure>       	
      </listitem>
      <listitem>Finally when the import is finished, should be shown the total URLs that were processed:
        <figure id="cra10" float="1">
          <title>Crawling ATOM feed</title>
          <graphic fileref="ui/cra10.png"/>
        </figure>       	
      </listitem>
      <listitem>Click "Back":
        <figure id="cra11" float="1">
          <title>Crawling ATOM feed</title>
          <graphic fileref="ui/cra11.png"/>
        </figure>      	
      </listitem>
      <listitem>Click "Retrieved Sites":
        <figure id="cra12" float="1">
          <title>Crawling ATOM feed</title>
          <graphic fileref="ui/cra12.png"/>
        </figure>       	
      </listitem>
      <listitem>Out target should be presented in the list of available retrieved sites. From here you could manage the retrieved URLs by editing the imported URLs or exporting to External/Internal WebDAV destination. Click for ex. the "Edit" link of the very-right "Action" column for our retrieved site.</listitem>
      <listitem>Should be presented all downloaded URLs of RDF resources referenced in our initial ATOM feed:
        <figure id="cra13" float="1">
          <title>Crawling ATOM feed</title>
          <graphic fileref="ui/cra13.png"/>
        </figure>      	
      </listitem>
      <listitem>To view the imported RDF data, go to http://cname/sparql and enter a simple query for ex.: 
<programlisting><![CDATA[
SELECT * 
FROM <http://data.libris.kb.se/nationalbibliography/feed/>
WHERE 
  {
    ?s ?p ?o
  }	
]]></programlisting>      
        <figure id="cra14" float="1">
          <title>Crawling ATOM feed</title>
          <graphic fileref="ui/cra14.png"/>
        </figure>  	
      </listitem>
      <listitem>Click "Run Query".</listitem>
      <listitem>The imported RDF data triples should be shown:
        <figure id="cra15" float="1">
          <title>Crawling ATOM feed</title>
          <graphic fileref="ui/cra15.png"/>
        </figure>  	      	
      </listitem>   
    </orderedlist>
  </sect5>  
  <sect5 id="contentcrawlersparqlendp"><title>Setting up a Content Crawler Job to Retrieve Content from SPARQL endpoint</title>   
    <para>The following step-by section walks you through the process of:</para>
    <itemizedlist mark="bullet">
      <listitem>Populating a Virtuoso Quad Store with data from a 3rd party SPARQL endpoint</listitem>
      <listitem>Generating RDF dumps that are accessible to basic HTTP or WebDAV user agents.</listitem>
    </itemizedlist>
    <orderedlist>
      <listitem>Sample SPARQL query producing a list SPARQL endpoints:
<programlisting><![CDATA[
PREFIX rdf:      <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs:     <http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl:      <http://www.w3.org/2002/07/owl#>
PREFIX xsd:      <http://www.w3.org/2001/XMLSchema#>
PREFIX foaf:     <http://xmlns.com/foaf/0.1/>
PREFIX dcterms:  <http://purl.org/dc/terms/>
PREFIX scovo:    <http://purl.org/NET/scovo#>
PREFIX void:     <http://rdfs.org/ns/void#>
PREFIX akt:      <http://www.aktors.org/ontology/portal#>

SELECT DISTINCT ?endpoint 
WHERE 
  { 
    ?ds a void:Dataset . 
    ?ds void:sparqlEndpoint ?endpoint 
  }	
]]></programlisting>      	
      </listitem>
      <listitem>Here is a sample SPARQL protocol URL constructed from one of the sparql endpoints in the result from the query above: 
<programlisting><![CDATA[
http://void.rkbexplorer.com/sparql/?query=PREFIX+foaf%3A+%3Chttp%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2F%3E+%0D%0APREFIX+void%3A+++++%3Chttp%3A%2F%2Frdfs.org%2Fns%2Fvoid%23%3E++%0D%0ASELECT+distinct+%3Furl++WHERE+%7B+%3Fds+a+void%3ADataset+%3B+foaf%3Ahomepage+%3Furl+%7D%0D%0A&format=sparql	
]]></programlisting>      	
      </listitem>
      <listitem>Here is the cURL output showing a Virtuoso SPARQL URL that executes against a 3rd party SPARQL Endpoint URL: 
<programlisting><![CDATA[
$ curl "http://void.rkbexplorer.com/sparql/?query=PREFIX+foaf%3A+%3Chttp%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2F%3E+%0D%0APREFIX+void
%3A+++++%3Chttp%3A%2F%2Frdfs.org%2Fns%2Fvoid%23%3E++%0D%0ASELECT+distinct+%3Furl++WHERE+%7B+%3Fds+a+void%3ADataset+%3B+foaf%3Ah
omepage+%3Furl+%7D%0D%0A&format=sparql"
<?xml version="1.0"?>
<sparql xmlns="http://www.w3.org/2005/sparql-results#">
  <head>
    <variable name="url"/>
  </head>
  <results ordered="false" distinct="true">
    <result>
      <binding name="url"><uri>http://kisti.rkbexplorer.com/</uri></binding>
    </result>
    <result>
      <binding name="url"><uri>http://epsrc.rkbexplorer.com/</uri></binding>
    </result>
    <result>
      <binding name="url"><uri>http://test2.rkbexplorer.com/</uri></binding>
    </result>
    <result>
      <binding name="url"><uri>http://test.rkbexplorer.com/</uri></binding>
    </result>
    ...
    ...
    ...
  </results>
</sparql>	
]]></programlisting>      	
      </listitem>
      <listitem>Go to Conductor UI. For ex. http://example.com/conductor :
        <figure id="scp1" float="1">
          <title>Crawling SPARQL Endpoints</title>
          <graphic fileref="ui/scp1.png"/>
        </figure>      	
      </listitem>
      <listitem>Enter dba credentials;</listitem>
      <listitem>Go to "Web Application Server"-> "Content Management" -> "Content Imports"
        <figure id="scp2" float="1">
          <title>Crawling SPARQL Endpoints</title>
          <graphic fileref="ui/scp2.png"/>
        </figure>        	
      </listitem>
      <listitem>Click "New Target":
        <figure id="cr3" float="1">
          <title>Crawling SPARQL Endpoints</title>
          <graphic fileref="ui/cr3.png"/>
        </figure>      	
      </listitem>
      <listitem>In the presented form enter for ex.:
        <orderedlist>
          <listitem>"Crawl Job Name": voiD store;</listitem>
          <listitem>"Data Source Address (URL)": the url from above i.e.:
<programlisting><![CDATA[
http://void.rkbexplorer.com/sparql/?query=PREFIX+foaf%3A+%3Chttp%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2F%3E+%0D%0APREFIX+void%3A+++++%3Chttp%3A%2F%2Frdfs.org%2Fns%2Fvoid%23%3E++%0D%0ASELECT+distinct+%3Furl++WHERE+%7B+%3Fds+a+void%3ADataset+%3B+foaf%3Ahomepage+%3Furl+%7D%0D%0A&format=sparql	
]]></programlisting>          	
          </listitem>
          <listitem>"Local WebDAV Identifier":
<programlisting><![CDATA[
/DAV/void.rkbexplorer.com/content	
]]></programlisting>          	
          </listitem>
          <listitem>"Follow links matching (delimited with ;)": 
<programlisting><![CDATA[
%
]]></programlisting>          	
          </listitem>
          <listitem>Un-hatch "Use robots.txt" ;</listitem>
          <listitem>"XPath expression for links extraction":
<programlisting><![CDATA[
//binding[@name="url"]/uri/text()	
]]></programlisting>          	
          </listitem>
          <listitem>Hatch "Semantic Web Crawling";</listitem>
          <listitem>"If Graph IRI is unassigned use this Data Source URL:": enter for ex:
<programlisting><![CDATA[
http://void.collection	
]]></programlisting>          	
          </listitem>
          <listitem>Hatch "Follow URLs outside of the target host";</listitem>  
          <listitem>Hatch "Run "Sponger" and "Accept RDF"
            <figure id="scp4" float="1">
              <title>Crawling SPARQL Endpoints</title>
              <graphic fileref="ui/scp4.png"/>
            </figure>           	
            <figure id="scp5" float="1">
              <title>Crawling SPARQL Endpoints</title>
              <graphic fileref="ui/scp5.png"/>
            </figure>           	
          </listitem>
        </orderedlist>      	
      </listitem>
      <listitem>Click "Create";</listitem>
      <listitem>The target should be created and presented in the list of available targets:
        <figure id="scp7" float="1">
          <title>Crawling SPARQL Endpoints</title>
          <graphic fileref="ui/scp7.png"/>
        </figure>       	
      </listitem>
      <listitem>Click "Import Queues":
        <figure id="scp8" float="1">
          <title>Crawling SPARQL Endpoints</title>
          <graphic fileref="ui/scp8.png"/>
        </figure>      	
      </listitem>
      <listitem>Click "Run" for the imported target: 
        <figure id="scp9" float="1">
          <title>Crawling SPARQL Endpoints</title>
          <graphic fileref="ui/scp9.png"/>
        </figure>       	
      </listitem>
      <listitem>To check the retrieved content go to "Web Application Server"-> "Content Management" -> "Content Imports" -> "Retrieved Sites":
        <figure id="scp11" float="1">
          <title>Crawling SPARQL Endpoints</title>
          <graphic fileref="ui/scp11.png"/>
        </figure>       	      	
      </listitem>
      <listitem>Click "voiD store" -> "Edit":
        <figure id="scp12" float="1">
          <title>Crawling SPARQL Endpoints</title>
          <graphic fileref="ui/scp12.png"/>
        </figure>       	
      </listitem>
      <listitem>To check the imported URLs go to "Web Application Server"-> "Content Management" -> "Repository" path DAV/void.rkbexplorer.com/content:
        <figure id="scp10" float="1">
          <title>Crawling SPARQL Endpoints</title>
          <graphic fileref="ui/scp10.png"/>
        </figure>      	
      </listitem>
      <listitem>To check the inserted into the RDF QUAD data go to http://cname/sparql and execute the following query:
<programlisting><![CDATA[
SELECT * 
FROM <http://void.collection> 
WHERE 
  {
    ?s ?p ?o
  }	
]]></programlisting>    
        <figure id="scp13" float="1">
          <title>Crawling SPARQL Endpoints</title>
          <graphic fileref="ui/scp13.png"/>
        </figure>    	
        <figure id="scp14" float="1">
          <title>Crawling SPARQL Endpoints</title>
          <graphic fileref="ui/scp14.png"/>
        </figure>    	        
      </listitem>
    </orderedlist>
  </sect5>
  </sect4>
  </sect3>
  <sect3 id="admiui.accesscontrol"><title>Access Control</title>
    <para>From "System Admin" -&gt; Security -&gt; "Access Controls" you can manage Rules and ACL 
    	respectively for HTTP, News, Proxy. The tabs PSH and PSH-SSL are available only when the 
	    <ulink url="http://s3.amazonaws.com/opldownload/uda/vad-packages/6.1/virtuoso/pubsubhub_dav.vad">pubsubhub_dav.vad</ulink> 
	    is installed.
    </para>
          <figure float="1" id="acl001"><title>Access Control Lists</title>
      <graphic fileref="ui/acl001.png"/>
    </figure>
    <para>For each of the tabs "HTTP", "NEWS", "PROXY" the created rules will be shown in a list with
Filter, Access, Destination, Object, Mode, Rate values. You can also add/delete rules, re-arrange rules order.
    </para>
    <figure float="1" id="acl002"><title>Access Control List for HTTP</title>
      <graphic fileref="ui/acl002.png"/>
    </figure>
    <para>Click the link "Edit" for a rule. Then specify the filter and access values.
    </para>
          <figure float="1" id="acl003"><title>Access Control Lists</title>
      <graphic fileref="ui/acl003.png"/>
    </figure>
  </sect3>
  <sect3 id="admiui.wsdl"><title>Import WSDL</title>
    <para>From "Web Services" / "WSDL Import/Export" you can provide a URL to a WSDL description.
In return Virtuoso will automatically provide a wrapper for the services available, hence stored
procedures and user-defined types that are callable within Virtuoso while the processing and mechanics of
the services are actually handled at the source.
    </para>
        <figure float="1" id="wsdlimp001"><title>WSDL Import</title>
      <graphic fileref="ui/wsdlimp001.png"/>
    </figure>
    <para>After Virtuoso examines the supplied URL to a WSDL you are presented with the source
code for the PL wrappers and Virtuoso user-defined types to be created. You have the chance to
edit the code for more specific needs and then you can either save this to a file for later
work, or execute it in Virtuoso to create the procedures and types.
    </para>
          <figure float="1" id="wsdlimp002"><title>WSDL Import</title>
      <graphic fileref="ui/wsdlimp002.png"/>
    </figure>
    <para>Any errors in the code will be highlighted if you try and execute it.
    </para>
    <para>If you wish to save the file the appropriate file system ACLs must be in place for
the destination.
    </para>
  </sect3>
</sect2>