Download 1.2 Use Cases

Transcript
Contents /
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . .1
1.1 Problem Statement and Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . .1
1.2 Use Cases . . . . . . . . . . . . . . . . . . . . . . . .3
1.2.1 Use Case 1 – basic example case. . . . . . . . . . . . . . . . . .3
1.2.2 Use Case 2 – National
Heritage Institute . . . . . . . . . .4
1.2.3 Use Case 3 – Air Accidents Investigation
Institute . . . . . . . . . . . . . . . . . . . .6
1.2.4 Use Case 4 – National
Transportation Safety
Board . . . . . . . . . . . . . . . . . . . . . . .8
1.3 Current solution crOWLer . . . . . .9
1.4 Proposed Solution and
Methodology . . . . . . . . . . . . . . . . . . . 10
1.5 Specific goals of the thesis . . . . . 10
1.6 Work structure . . . . . . . . . . . . . . . . . 10
2 Principles and technologies . . . . . 11
2.1 Technology of Semantic Web . . 11
2.2 Linked Data . . . . . . . . . . . . . . . . . . . . 12
2.3 RDF and RDFS. . . . . . . . . . . . . . . . 12
2.3.1 URI . . . . . . . . . . . . . . . . . . . . . . . 12
2.3.2 RDF and RDFS vocabulary . . . . . . . . . . . . . . . . . . 13
2.4 OWL . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.5 RDFa . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.6 SPARQL . . . . . . . . . . . . . . . . . . . . . . . 13
2.7 RDF/XML syntax . . . . . . . . . . . . . 14
2.8 Turtle syntax . . . . . . . . . . . . . . . . . . . 14
3 Existing solutions . . . . . . . . . . . . . . . . . 15
3.1 Semantic and non semantic
crawlers. . . . . . . . . . . . . . . . . . . . . . . . . 15
3.1.1 Advantages and pitfalls of Semantic
crawlers . . . . . . . . . . . . . . . . . . 15
3.2 Analysis of crOWLer . . . . . . . . . . 16
3.2.1 Issues of crOWLer configuration . . . . . . . . . . . . . . . . . 17
3.2.2 Confrontation with use
cases – technical issues . . 18
3.2.3 Result form crOWLer
analysis . . . . . . . . . . . . . . . . . . . 20
3.3 Strigil . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.3.1 What problem does it
solve? . . . . . . . . . . . . . . . . . . . . .
3.3.2 Strigil vs crOWLer. . . . . . .
3.3.3 Confronting Strigil
with use cases . . . . . . . . . . . .
3.3.4 What inspiration it
brings for crOWLer . . . . . .
3.4 Finding platform for frontend .
3.4.1 InfoCram 6000 –
ExtBrain . . . . . . . . . . . . . . . . .
3.4.2 Selenium . . . . . . . . . . . . . . . . .
3.5 Libraries for SOWL . . . . . . . . . . . .
3.5.1 jQuery . . . . . . . . . . . . . . . . . . . .
3.5.2 jOWL. . . . . . . . . . . . . . . . . . . . .
3.5.3 rdfQuery . . . . . . . . . . . . . . . . .
3.5.4 aardvark . . . . . . . . . . . . . . . . . .
4 Program design. . . . . . . . . . . . . . . . . . .
4.1 Workflow . . . . . . . . . . . . . . . . . . . . . . .
4.1.1 Main line . . . . . . . . . . . . . . . . .
4.1.2 Scenario creation. . . . . . . . .
4.1.3 Additional branches to
Scenario Creation . . . . . . . .
4.1.4 crOWLer scraping . . . . . . .
4.2 Designing scenario format . . . . .
4.2.1 Strigil/XML . . . . . . . . . . . . . .
4.2.2 Adaptation of Strigil/XML format . . . . . . . . . . .
4.2.3 SOWL/JSON . . . . . . . . . . . .
4.2.4 Consequences of conversion to JSON format .
4.3 JavaScript and events support . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4 User Interface . . . . . . . . . . . . . . . . . .
4.4.1 SOWL user interface. . . . .
4.4.2 crOWLer user interface . .
4.5 Model . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.5.1 SOWL model. . . . . . . . . . . . .
4.5.2 crOWLer model . . . . . . . . . .
5 Program Implementation and
Specifications . . . . . . . . . . . . . . . . . . . . .
5.1 SOWL implementation . . . . . . . .
5.1.1 Parsing Ontologies in
JavaScript . . . . . . . . . . . . . . . .
5.1.2 Targeting elements on
webpage and generating selectors . . . . . . . . . . . . . .
v
21
21
22
24
24
24
25
27
27
28
28
28
29
29
30
30
30
30
30
31
32
32
33
33
37
37
37
37
37
38
39
39
39
40