applying ontology-based lexicons to the semantic annotation of learning objects kiril simov and...

31
Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project http://www.BulTreeBank.org Linguistic Modelling Laboratory Bulgarian Academy of Sciences RANLP, Borovets 2007, Bulgaria

Upload: carter-power

Post on 27-Mar-2015

226 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

Applying Ontology-Based Lexicons to the Semantic Annotation of Learning

ObjectsKiril Simov and Petya Osenova

BulTreeBank Projecthttp://www.BulTreeBank.org

Linguistic Modelling LaboratoryBulgarian Academy of Sciences

RANLP, Borovets 2007, Bulgaria

Page 2: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

Outline of the Talk• Introductory notes• LT4eL Domain Ontology• Ontology-based Lexicon Model• Annotation Grammar• Semantic Annotation of Learning Objects• Bottlenecks within the Semantic

Annotation• Discussion and Conclusions

Page 3: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

Acknowledgments

We would like to thank our partners from the project for their useful feedback. Especially to:

Paola Monachesi, Cristina Vertan, Lothar Lemnitzer, Corina Forascu, Claudia Borg, Rosa Del Gaudio, Jantine Trapman, Beata Wójtowicz, Eelco Mossel

Page 4: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

Introductory notes (1)• LT4eL European project aims at

demonstrating the relevance of the language technology and ontology document annotation for improving the usability of learning management systems (LMS)

• This paper discusses the role of the ontology

in the definition of domain lexicons in several languages and its usage for the semantic annotation of Learning Objects (LOs)

Page 5: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

Introductory notes (2)

• The relation between the domain ontology and the domain texts (the learning objects) is mediated by two kinds of information: domain lexicons and concept annotation grammars

• We assume that the ontology is defined first in a formal way, and then the lexicons are built on the basis of the concepts and relations defined in the ontology

Page 6: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

LT4eL Domain Ontology: general issues

• The domain: Computer Science for Non-Computer Scientists

• Coverage: operating systems; programs; document preparation – creation, formatting, saving, printing; Web, Internet, computer networks; HTML, websites, HTML documents; email

• The role of the ontology: for indexing of the LOs both: on metadata level, and inline

Page 7: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

Synopsis of the Ontology Construction Methodologies

(3)Conclusions (continued):• Ontology development is necessarily

an iterative process • An evaluation of the sources of

information is essential to the development of an ontology

Page 8: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

LT4eL Domain Ontology: creation

Keywordsannotation

BG

EN

PT

NL

MT

CZ

PO

RO

Translationinto EN

DefinitionCollection

Conceptcreation

Page 9: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

LT4eL Domain Ontology: verification

• The created domain concepts are the backbone

• Connection to an upper ontology– DOLCE– Via OntoWordnet

• Extension of the concepts– Restrictons on an existing concept– Superconcept– Subconcepts

Page 10: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

Examples for the extension

• Available restriction: if a program has a creator, the concept for program creator is also added to the ontology

• Superconcept: if the concept for text editor is in the ontology, then we added also the concept of editor (as a kind of program) to the ontology

• Subconcept: if left margin and right margin are represented as concepts in the ontology, then we add also concepts for top margin and bottom margin

Page 11: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

Current state of the ontology

• about 750 domain concepts,• about 50 concepts from DOLCE• about 250 intermediate concepts from

OntoWordNet• We also have added about 200 new

concepts extracted from LOs. They were:– More specific concepts of a present concept,

and hence expressed by more complex NPs– With new domain meanings, which were

missing

Page 12: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

Why are keywords not enough…?

• not all keywords are shared by the annotations in all languages

• some concepts from the extension of the first set of concepts (created on the basis of the keywords) appear in the texts, but were not annotated as keywords

Therefore: NEED FOR A LEXICON

Page 13: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

Ontology-Based Lexicon Model (1)

• The lexicons represent the main interface between the user's query, the ontology and the ontological search engine

• Close to LingInfo model (Buitelaar 2006)• Using ideas of Pustejovsky applied in SIMPLE

and mapping to WordNet• The terminological lexicons were

constructed on the basis of the formal definitions of the concepts within the ontology

Page 14: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

Ontology-Based Lexicon Model 2

The problems in EuroWordNet:• for some concepts there is no lexicalized term in a given

language • some important term in a given language has no

appropriate concept in the ontology which to represent its meaning

Our solution:• we allow the lexicons to contain also non-lexicalized

phrases which have the meaning of the concepts without lexicalization in a given language (mapping variety)

• including all the important concepts within a domain (see how)

Page 15: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

Mapping varieties

Ontology

LexicalizedTerms

Free Phrases

Page 16: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

Solutions

• The specific solutions for the lexical terms without appropriate concept in the ontology are the following:– More detailed classes in the ontology

added– More complex mapping between the

ontology and some lexicons is performed

Page 17: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

Example from the Dutch lexicon

<entry id="id60"> <owl:Class rdf:about="lt4el:BarWithButtons"> <rdfs:subClassOf> <owl:Class rdf:about="lt4el:Window"/> </rdfs:subClassOf> </owl:Class> <def>A horizontal or vertical bar as a part of a window, that contains buttons, icons.</def> <termg lang="nl"> <term shead="1">werkbalk</term> <term>balk</term> <term type="nonlex">balk met knoppen</term> <term>menubalk</term> </termg> </entry>

Page 18: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

Example part from the DTD<!ELEMENT LT4ELLex (entry+)><!ELEMENT entry ((owl:Class|rdf:Description|rdf:Property), def, termg+)><!ELEMENT def (#PCDATA)><!ELEMENT termg (term+,def?)><!ATTLIST termg

lang (bg|cs|de|en|mt|nl|pl|pt|ro) # REQUIRED><!ELEMENT term (#PCDATA)><!ATTLIST term

type (lex|nonlex) "lex"shead (1|0) "0"gram CDATA #IMPLIED

>

Page 19: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

Concept Annotation Grammar

• It encodes the connection of the lexicon to the concepts in the ontology

• It is a cascaded regular grammar• It is written and executed in CLaRK

<!ELEMENT line (LC?, RE, RC?, RM, Comment?) ><!ELEMENT LC (#PCDATA)><!ELEMENT RC (#PCDATA)><!ELEMENT RE (#PCDATA)><!ELEMENT RM (#PCDATA)><!ELEMENT Comment (#PCDATA)>

Page 20: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

Part of the BG annotation grammar

Page 21: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

The relations between the lexical items, grammar rules

and the textLexical Items Grammar Rules Domain Texts

Page 22: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

Semantic Annotation of Learning Objects

• Within the project we performed both types of annotation,:– inline– through metadata

• The metadata annotation is used during the retrieval of learning objects from the repository

• The inline annotation will be used:– as a step to metadata annotation of the learning objects – as a mechanism to validate the coverage of the

ontology; – as an extension of the retrieval of learning objects

Page 23: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

Stages of Annotation• preparation for the semantic

annotation (grammar, layouts, DTD, constraints)

• actual annotation – semi-automatic, involves annotator choice points

Page 24: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

The role of the grammar and constraints

• Grammar – assigns all possible concepts per text segment

• Constraints – two variants:– Constraint 1 (Select Concept):

• stops at each annotated node• introduces artificial ambiguities – EXTEND, and

ERASE• Example: Internet vs. Wireless Internet

– Constraint 2 (Select LT4eL Concept) – at later stage, when the grammar shows a better performance

Page 25: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

Bottlenecks (1)(1) some concepts in the ontology might be quite

specific or rather broad with respect to the term which they were assigned to (Size is defined as ‘number of unique entries in a database’ )

(2) some general terms in a connected text refer to specific entities (in anaphoric relations) (Systems for Personalization = Systems)

(3) the boundaries of the terms might need extension (Agent technology )

Page 26: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

Bottlenecks (2)

(4) the ambiguity within concepts might be fake (Metadata and DescriptiveMetadata)

(5) the detected term has also a common-use meaning and hence – in the context this common meaning is triggered (Help as command and as request )

(6) do verbs receive semantic annotation (Button ‘Save’ and the command ‘(to) Save’ )

Page 27: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

Discussion of the Lexicon Model (1)

• WordNet – Similar: grouping lexical items around a

common meaning in synsets– Different: the meaning is defined independently

in the ontology

• SIMPLE – Similar: defining the meaning of lexical items by

means of the ontology– Different: the selection of the ontology which in

our case represents the domain of interest, and in the case of SIMPLE reflects the lexicon model

Page 28: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

Discussion of the Lexicon Model (2)

• LingInfo model

– Similar: the idea that the grammatical and context information also needs to be presented in a connection to the ontology

– Different: implementation of the model and the degree of realization of the concrete language resources and tools

Page 29: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

Formal Evaluation of Semantic Search

• Search for paragraphs with query formed on the basis of Concepts from ontology

• Search for paragraphs with query formed on the basis of Terms in the lexicons

• Cases:– Ambiguous term – depends on WSD - help– Unambiguous specific terms – slide and

presentation– General terms – program (ontology

inference)

Page 30: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

Results for Bulgarian

• Concept search – #Program* + #Slide• Text search – Program, Software,

Editor, Slide• Concept search: Precision 0.73, Recall

1.00, F 0.84• Text search: Precision 1.00, Recall

0.375, F 0.55

Page 31: Applying Ontology-Based Lexicons to the Semantic Annotation of Learning Objects Kiril Simov and Petya Osenova BulTreeBank Project

Conclusion

• In future, more work has to be done on:

– the extension of the annotation grammars,– on the implementation of disambiguation

rules,– on the connection of the lexicon and the

grammars to non-domain dependent concepts,

– also, we need to add domain relations