2017-02-12 62 views
1

事件與n元關係有什麼區別?事件提取與N元關係提取

我想區分兩者並最終專注於提取任務。例如,從給定的句子:

Peter completed B.Sc. in physics from Boston University. 

提取的N個元關係:

r(Peter, B.Sc., physics, Boston University) 

(假設實體已經標示)

對於事件提取問題,我們有ACE 2005事件提取語料庫等數據集。但是,我還沒有遇到任何用於n元關係抽取的語料庫。有人知道任何可能促進n元關係抽取的語料庫嗎?

回答

0

一旦您使用opennlp和stanfordnlp這樣的庫從您的文本中獲得了您的實體,您需要將它們添加到您的詞彙中,就像here。他們的計劃是爲了描述一個類表示一個n元關係並定義RDF和OWL和其他語言中的n元關係之間的映射。

他們已經考慮了很多屬性來描述關係。

他們使用RDF中的空白節點來表示關係的實例。

:Christine 
     a  :Person ; 
     :has_diagnosis _:Diagnosis_Relation_1 . 

:_Diagnosis_relation_1 
     a  :Diagnosis_Relation ; 
     :diagnosis_probability :HIGH; 
     :diagnosis_value :Breast_Tumor_Christine . 

同樣,你可以做

:Peter 
     a  :Person ; 
     :has_degree _:Degree_1 . 

:_Degree_1 
     a  :Degree ; 
     :degree_name :B.Sc; 
     :degree_value :Physics; 
     :degree_place :Boston_University . 

按照this的一些見解。

希望這會有所幫助!