an evaluation of the brandeis semantic ontology · an evaluation of the brandeis semantic ontology...

33
An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University

Upload: others

Post on 14-Mar-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

An Evaluation of theBrandeis Semantic

OntologyCatherine Havasi, Anna

Rumshisky, James PustejovskyBrandeis University

Page 2: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

What is the BSO?

• GL is meant to be used• GL-based Lexical resource for the NL

community• Currently in development at Brandeis• Consists of an ontology and a dictionary• Build a lexicon/ontology for English,

following SIMPLE specification

Page 3: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

What’s in the BSO?• Four levels of information:

– Lexical typing structure– Argument structure: specifies predicate’s

arguments– Event structure: specifies event type and

sub-events– Qualia structure

• Distinguishing between Natural, Artifactual,and Complex types

Page 4: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

Vital Statistics

• 40,000 lexical Items• 3,500 ontological Items• 1,400 of these have qualia other than

formal

Page 5: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

The Upper Ontology

Page 6: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

• Qualia are defined for Entity types• Argument types are specified for Events• Entity hierarchy:

– Natural types– Inherit formal qualia of supertype

– Artifactual types– Inherit telic qualia of supertype– Formal qualia is inherited through formal mapping

– Complex types– “dot types” (e.g. building, book, lecture)– very shallow hierarchy– inherit from two or three functional and/or natural types

The BSO Hierarchy

Page 7: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

Inheritance in the BSO

• Type inheritance principles:– Inheritance is typed– A simple type may inherit its qualia

from different supertypes– Inheritance for Entities follows qualia

links– Inheritance for Events mirrors

argument type inheritance

Page 8: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

Inheritance Plan

Physical Object

Living Entity

Person

Natural Type

formal

formal

formal Artifactual Type

Professional

Doctor

Surgeon

telic

telic

telic…

formal formal

Page 9: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

Types of Qualia• Formal: the basic type distinguishing the

meaning of a word• Constitutive: the relation between an object

and its constituent parts• Telic: the purpose or function of the object

(Direct, Indirect and Instrumental)• Agentive: the factors involved in the object’s

origins or “coming into being” (Direct andIndirect)

Page 10: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

Qualia in the BSO

BEER• Type: Alcoholic Beverage• Indirect Agentive: Brew• Constitutive: Alcohol, Hops• Telic: Drink Activity

Page 11: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

Example: Beer

Page 12: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

Example: Book

Page 13: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

Browsing the BSO

Page 14: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

BULB

Page 15: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

An Extended Example:Sprout

Page 16: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

The Tree

Page 17: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

The Parent Type

Page 18: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

An Evaluation of the BSO

• How does the BSO compare withdifferent types of resources?– BNC - corpus based resource– ConceptNet - normal language

• Accuracy and “Node Coverage”

Page 19: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

Two Pairs of Words

BNC

House, build

Is of Type

Build ActivityCompare!!

BSOHOUSEDirect Agentive: Build Activity

Is of Type

Page 20: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

The Measurements

• How many “hops”it takes to get fromone graph locationto another• “Horse” to “Pony”

is 2• “Horse” to

“Rodent” is 3Horse Pony

Equine

Mammal

Donkey

Rodent

Page 21: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

BNC Pairs

• burn incense• knit lace• eat lamb• play music• wear shorts• read thesis• blow trumpet• read philosophy

• writing letters• eat food• ride horses• build houses• give interviews• fly jets• hear music• grow sugar

Page 22: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

Versus the BNC

BSO: 51% Exact Matches. Average Distance 1.84Random: 0% Exact Matches. Average Distance 5.00

Page 23: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

Wait? From the internet?

Page 24: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

A Web of Relations

Page 25: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

Common Sense in GL

• Focuses on relations between words• IsA can map to formal• UsedFor can map to telic• MadeOf can map to constitutive• New relation added for agentive - no

data yet

Page 26: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

More Beer

Agentive``all beer has the property of beingbrewed.''

Constitutive``Beer is made from hops andbarley''

Constitutive``Something you find in beer isalcohol”

Telic``beer is for drinking.''

Type``Beer is a type of alcoholicbeverage''

Qualia RelationOMCS Statement

Page 27: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

Versus the BSO

Page 28: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

… for each Qualia Type

Page 29: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

Average Distances

• Random: 4.05• Formal: 1.37• If it isn’t an exact match, then it isn’t far

away.

Page 30: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

Allowing for Granularity

• What if the BSO is simply more fine-grained than ConceptNet?

• Check if the lexical item is a directancestor of the target term.

• Apply the same checks to Wordnet vs.ConceptNet

Page 31: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

Inheritance Scoring

Page 32: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

Web Addresses of Interest

• BULB:http://eurydice.cs.brandeis.edu:8000/dev/

• BSO Browser:http://eurydice.cs.brandeis.edu/BSOonline/BSOtester.py

• OpenMind Commons:http://commons.media.mit.edu:3001

My Email is [email protected]

Page 33: An Evaluation of the Brandeis Semantic Ontology · An Evaluation of the Brandeis Semantic Ontology Catherine Havasi, Anna Rumshisky, James Pustejovsky Brandeis University. What is

Questions?