2D interactive presentation: press O for overview, H for help.
FrameNet (FN) is a large-scale linguistic resource for English developed at ICSI (UC Berkeley). Documents the syntactic and semantic combinations (valences) of predicative word senses:
frame:Statement is an event in which a statement is madelu:announce.v and lu:declare.v both evoke frame:Statementfe:Speaker.statement, fe:Message.statementEg annotations of frame:Statement, lu:announce.v over varying phrases. Colors show different FE's
Frames are extensively documented. E.g. documentation for frame:Statement:
{Message, Topic}{Medium, Speaker}Visualization with FrameGrapher
The figure for Statement shows that:
Statement is inherited by Complaining, Predicting, Reading_aloud, Recording, Reveal_secret, Telling (red arrows)Statement uses Communication (green arrows)Statement is used by Adducing, Attributed_information, Chatting, Judgment_communication, Renunciation, Unattributed_information (green arrows)Statement and Telling also shownfe:Addressee.statement is nc: can make a statement without addressing anyone in particularfe:Addressee.telling is c: you have to tell someone.frame:Statement
lu:announce.vSpeaker, Time, Message
May be easier to see the candidate frames in vertical layout
SEMAFOR returns JSON with candidate frames, LUs, FEs, and frame score
| Frame | Score |
|---|---|
| Statement | 113.2 |
| Competition | 54.6 |
| Coming_up_with | 50.7 |
| Calendric_unit | 30.4 |
| Topic | 25.4 |
Statement and Competition) are the best framesComing_up_with is wrong ("design competition" is not creative "design")Topic and Calendric_unit are parts of StatementFilter candidate frames:
Impediments to real world use:
FN LOD paper:
Many elements not documented, e.g. class fn:Header, data prop fn:frame_cBy
We studied fndata and diagrammed classes and properties to understand them
fntbox (terminology box) is the FN-LOD metamodel. OWLDoc documentation
Prefixes (registered in prefix.cc):
| prefix | description |
|---|---|
| fn: | FN metamodel (tbox) |
| frame: | frame |
| fe: | frame element |
| lu: | lexical unit |
| st: | semantic type |
To understand fntbox consider the classes in two groups and navigate top-down.
(1) Text and annotations (FN and other linguistic info):
Header holds together all FullTextAnnotation and CorpDoc about the same frame.FullTextAnnotation represents a mode of annotation where sentences are "preselected" by a given text.CorpDoc is a corpus comprising of documents and sentences that are carefully chosen by lexicographers to illustrate the possible valences of LUs, i.e. make various frames for each sense of each LU.Sentence holds the text being annotated and some identifying information.AnnotationSet is a set of annotations about one frame. One sentence may have several frames and they may even overlap.
Layer: subset of annotations with a single purpose, indicated in fn:layer_name.
Often used ones:
Label: word or phrase in an annotated Sentence
label_start, label_endCan be:
fn:label_name "Target", orfn:label_FE points to FE definition e.g. fe:Speaker.statement, orlabel_name, orfn:label_itype "CNI", "DNI", etc(2) Frame definition:
Frame: abstracts over a real-world situation
Causative, Inchoative, Subframe, inherits, uses, precedes, perspectiveOnLexUnit: head-word of a (sub)sentence, invokes the frame
SentenceCount: simple statistics to manage annotators workLexeme: linguistic representation of LU (a LU can have several)AnnotationSets that attests themFrameElement: entity participating in a frame
excludes, requires, SubFEFE_coreType: Core, Core-Unexpressed, Extra-Thematic, PeripheralFECoreSet: set of alternative FEs, one must be present in the frameSemType classifies elements, eg
Non-perspectivalized_frame, Non-Lexical_FrameSentient (agent), Artifact, Message, State_of_affairsfnabox (assertion box) includes all frame definitions
lu:swing_(into).v -> lu:swing__into_.vframe:Statement fn:hasFrameElement fe:Time.statement, fe:Iteration.statement... ; fn:hasLexUnit lu:gloat.v, lu:explain.v, lu:declaration.n, lu:talk.v... ; fn:isInheritedBy frame:Telling, frame:Reveal_secret, frame:Recording... ; fn:isUsedBy frame:Unattributed_information, frame:Adducing... ; fn:uses frame:Communication .
Triples for a couple of the core FEs in that frame:
fe:Speaker.statement a fn:FrameElement ; fn:hasSemType st:Sentient ; fn:hasSuperFE fe:Speaker.speak_on_topic... fe:Message.statement a fn:FrameElement ; fn:hasSemType st:Message ; fn:hasSuperFE fe:Message.encoding, fe:Message.communication...
fndata_v5: FN LOD annotations corpus
annotationSetFrame)./iran_missile_sentence_52.ttl: all triples about iran_missile_fullTextAnnotation_sentence_52
Crucial in allowing us to understand the structure of FN-LOD and the meaning of most fields
"Payload" ontologies:
Links:
Document:
fn:Document vs nif:Contextfn:text vs nif:isStringAbove document:
fn:CorpDoc or fn:FullTextAnnotation (two kinds of corpora).nif:broaderContext to point to higher-level contextsBelow document:
fn:Sentence is the basic level, then fn:AnnotationSet, fn:Layer, fn:Labelnif:Structure, subclasses Paragraph, Sentence, Phrase, Word…fn:Label: label_start, label_end vs nif:String: beginIndex, endIndexNIF links:
String (Paragraph, Sentence, Phrase…) points to enclosing context (referenceContext)subString (inv superString) points uniformly from higher level texts to lower level textsword (inv nif:sentence): from sentence down to its words (not declared sub-prop of subString?)previousSentence inv nextSentence), words (previousWord inv nextWord)firstWord and lastWordFN-LOD: non-uniform treatment of links:
Sentence to its strings (Label): must follow property pathsentenceInDocument/annoForSentence/hasLayer/hasLabelMost significant difference between FN-LOD and NIF.
FN-LOD:
NIF:
<#char=282,253> a nif:Phrase; nif:beginIndex 282; nif:endIndex 253; nif:referenceContext <#char=0,2353>. # whole text
nif:String.oliaLinkMultisensor relies on a dependency parse of the sentence. Assume:
Note: same model works without dependency parse, if you have some other way of discovering FEs
Think of fn:AnnotationSet as frame instance and of fn:Label as FE instance. 3 tiers:
nif:dependency or specific sub-props are used for that treeupf-deep:deepDependencynif:Words to fn:AnnotationSet thus framefe:label_start/end, they duplicate nif:begin/endIndexnif:oliaLinkfn:hasLayer/fn:hasLabel is even "harmful": it causes head to have two nif:oliaLink, which could be confusingfn:hasLabel ties the frame instance togetherfn:label_FE points to specific FE in the frame definition^$$head (if it has a frame):select * { $head nif:oliaLink ?annoSet. ?annoSet fn:annotationSetLU ?lu; fn:annotationSetFrame ?frame}
Could also use the round-about path:
select * { $head nif:oliaLink [ fn:label_name "Target"; ^fn:hasLabel/^fn:hasLayer ?annoSet. ?annoSet fn:annotationSetLU ?lu; fn:annotationSetFrame ?frame]}
$head:select ?fe ?word ?itype { # Find the ?annoSet and ?frame $head nif:oliaLink ?annoSet. ?annoSet fn:annotationSetFrame ?frame. # Get all ?fe, ?label, (optionally) ?word ?frame fn:hasFrameElement ?fe. ?annoSet fn:hasLayer/fn:hasLabel ?label. ?label fn:label_FE ?fe. optional {?word nif:oliaLink ?label} optional {?label fn:label_itype ?itype}}
nif:word is used to point out the words of a sentence
$sentence:select * { $sentence nif:word/nif:oliaLink ?annoSet. ?annoSet fn:annotationSetFrame ?frame}
nif:referenceContext is used to connect each word to the complete text$context (a nif:Context):select * { $context ^nif:referenceContext/ nif:oliaLink ?annoSet. ?annoSet fn:annotationSetFrame ?frame}
Statement, Topic, Competition)Label, Layer, AnnotationSet
fe-upf:Linguistic_situation to connect the graph
Representing Confidence. Candidates:
nif:oliaConf from NIF 2.0: confidence of nif:oliaLink and nif:oliaCategorynif-ann:confidence from NIF 2.1 RCfise:confidence from Stanbol EntityAnnotation StructureRDF Shapes:
Acknowledgements: