Skip to content
This repository was archived by the owner on Apr 9, 2025. It is now read-only.

Repository files navigation

WordNetGraph

The WordNetGraph is an RDF graph generated from WordNet, whose noun and verb definitions were labeled with Definition Semantic Roles (DSR). The definitions are classified using the DSR labels proposed in the following work:

Vivian S. Silva, Siegfried Handschuh and André Freitas. Categorization of Semantic Roles for Dictionary Definitions. Cognitive Aspects of the Lexicon (CogALex-V), Workshop at the 26th International Conference on Computational Linguistics, (COLING), Osaka, 2016.

The classified definitions are segmented into roles. The RDF graph is a slightly modified version of the conceptual model presented in the paper. In this graph, each synset (definiendum) is a node, linked to its supertype. The supertype is, in turn, linked to all the other roles.

Please note that the role labeling is an automatic task, so the graph may contain some classification errors. The current accuracy of the automatic classifier is around 80%.

There are four namespaces defined for the model:

NamespaceFull Namespace URIUsage
dsrhttp://nlp/resources/DefinitionSemanticRoles#Model properties
wnnhttp://nlp/resources/synsets/WordNetNounSynset#Resources denoting WordNet noun synsets
wnvhttp://nlp/resources/synsets/WordNetVerbSynset#Resources denoting WordNet verb synsets
wnehttp://nlp/resources/expression/WordNetExpression#Resources denoting the synset's definition roles, which can range from a single word to a whole sentence

The following properties were defined for the model:

PropertyUsage
dsr:has_supertypeLinks the synset to the supertype(s) role(s)
dsr:has_diff_qualLinks a supertype to a differentia quality role
dsr:has_diff_eventLinks a supertype to a differentia event role
dsr:at_timeLinks a differentia event to its event time
dsr:at_locationLinks a differentia event to its event location
dsr:has_qual_modifLinks a differentia quality to its quality modifier
dsr:has_origin_locLinks a supertype to a origin location role
dsr:has_purposeLinks a supertype to a purpose role
dsr:has_assoc_factLinks a supertype to a associated fact role
dsr:has_acc_qualLinks a supertype to a accessory quality role
dsr:has_acc_detLinks a supertype to a accessory determiner role

Supertype roles are always represented as resources. The differentia quality and differentia event roles can be represented as either resources, when they have components (event times and/or locations, or quality modifiers) to be linked to; or literals otherwise. All the other roles are represented as literals.

As an example, the noun synset People against Gangsterism and Drugs, PAGAD, whose definition is:

a terrorist organization in South Africa formed in 1996 to fight drug lords

received the following classification:

Classified definition

which can be interpreted as:

Definition graph

In the RDF graph, we have:

<rdf:Descriptionrdf:about="http://nlp/resources/synsets/WordNetNounSynset#People_against_Gangsterism_and_Drugs__PAGAD">
<rdf:type>
<rdf:Statement>
<rdf:object>to fight drug lords</rdf:object>
<rdf:predicaterdf:resource="http://nlp/resources/DefinitionSemanticRoles#has_purpose"/>
<rdf:subjectrdf:resource="http://nlp/resources/expression/WordNetExpression#terrorist_organization"/>
</rdf:Statement>
</rdf:type>
<rdf:type>
<rdf:Statement>
<rdf:object>
<rdf:Statement>
<rdf:object>in 1996</rdf:object>
<rdf:predicaterdf:resource="http://nlp/resources/DefinitionSemanticRoles#at_time"/>
<rdf:subjectrdf:resource="http://nlp/resources/expression/WordNetExpression#formed"/>
</rdf:Statement>
</rdf:object>
<rdf:predicaterdf:resource="http://nlp/resources/DefinitionSemanticRoles#has_diff_event"/>
<rdf:subjectrdf:resource="http://nlp/resources/expression/WordNetExpression#terrorist_organization"/>
</rdf:Statement>
</rdf:type>
<rdf:type>
<rdf:Statement>
<rdf:object>in South Africa</rdf:object>
<rdf:predicaterdf:resource="http://nlp/resources/DefinitionSemanticRoles#has_origin_loc"/>
<rdf:subjectrdf:resource="http://nlp/resources/expression/WordNetExpression#terrorist_organization"/>
</rdf:Statement>
</rdf:type>
<dsr:has_supertyperdf:resource="http://nlp/resources/expression/WordNetExpression#terrorist_organization"/>
</rdf:Description>

About

Structured definitions from Wordnet.

Resources

Stars

10 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors