Korean Knowledge Extraction System Demo
Java 1.8MavenJavascript
๋ชจ๋ ๋ฐ์ดํฐ๋ JSON ํํ๋ก ์ ๊ณต๋ฉ๋๋ค.
- object(obj), array(arr), string(str), number(num), boolean(bool)
- text: (str) ์ ๋ ฅ ํ ์คํธ
- KV: (bool) Knowledge Validation ๊ธฐ๋ฅ์ ์ฌ์ฉ On/Off
{
"text": "์ด๋์คํธ ํค๋ฐ์จ์ด๋ ๋ฏธ๊ตญ์ ์์ค๊ฐ์ด์ ์ ๋๋ฆฌ์คํธ์ด๋ค.",
"KV": true
}
- EL: (obj) ๊ฐ์ฒด ์์ค ์ถ์ถ ์ ๋ณด
- sentence: (arr(obj)) ๋ฌธ์ฅ๋ค ์ ๋ณด
- text: (str) ์๋ฌธ ํ ์คํธ ํ ๋ฌธ์ฅ
- ELU: (obj) ๊ฐ์ฑ ์ถ์ถ ์ ๋ณด
- entities: (arr(obj)) Entity Linking ๊ฒฐ๊ณผ
- text: (str) ๊ฐ์ฒด ํ๋ฉดํ
- en_entity: (str) ๊ฐ์ฒด ์์ด๋ช
- start_offset: (num) ๊ฐ์ฒด ๋ฌธ์ฅ ๋ด ์์ ์์น
- end_offset: (num) ๊ฐ์ฒด ๋ฌธ์ฅ ๋ด ๋ ์์น
- ne_type: (str) ETRI ๊ฐ์ฒด ํ์
- source: (str) ์ถ์ถ ๋ชจ๋๋ช
- type: (arr(str)) ๊ฐ์ฒด ํ์ ์ ๋ณด
- uri: (str) ๊ฐ์ฒด URI ์ ๋ณด
- predicted_coref_index: (num) ์ํธ ์ฐธ์กฐ ID
- score: (num) ๊ฐ์ฒด ์ถ์ถ ์ ์
- confidence: (num) ๊ฐ์ฒด ์ถ์ถ ์ ๋ขฐ๋
- d_entities: (arr(obj)) dark entity ๊ฒฐ๊ณผ
- text: (str) ๊ฐ์ฒด ํ๋ฉดํ
- type: (str) ETRI ๊ฐ์ฒด ํ์
- source: (str) ์ถ์ถ ๋ชจ๋๋ช
- start_offset: (num) ๊ฐ์ฒด ๋ฌธ์ฅ ๋ด ์์ ์์น
- end_offset: (num) ๊ฐ์ฒด ๋ฌธ์ฅ ๋ด ๋ ์์น
- uri: (str) ๊ฐ์ฒด URI ์ ๋ณด
- score: (num) ๊ฐ์ฒด ์ถ์ถ ์ ์
- confidence: (num) ๊ฐ์ฒด ์ถ์ถ ์ ๋ขฐ๋
- indirect: (num) (deprecated)
- link: (num) ๊ฐ์ฒด ์ฐ๊ฒฐ
- relation: (num) (deprecated)
- sen_id: (num) ๋ฌธ์ฅ ID
- ne_id: (num) ๊ฐ์ฒด ID
- merge: arr(obj) ๋ฐ๋ชจ๋ฅผ ์ํ entities + d_entities ๋ณํฉ ์ ๋ณด
- entities: (arr(obj)) Entity Linking ๊ฒฐ๊ณผ
- text: (str) ์ ๋ ฅ ์๋ณธ ๋ฌธ์ฅ
- sentence: (arr(obj)) ๋ฌธ์ฅ๋ค ์ ๋ณด
- PL: (obj) ๊ด๊ณ ์์ค ์ถ์ถ ์ ๋ณด
- triples: (arr(obj)) ํธ๋ฆฌํ๋ค
- s: (str) ํธ๋ฆฌํ Sbject ๊ฐ์ฒด
- p: (str) ํธ๋ฆฌํ ๊ด๊ณ๋ช
- o: (str) ํธ๋ฆฌํ Object ๊ฐ์ฒด
- src: (str) ์ถ์ถ ๋ชจ๋๋ช
- sco: (num) ์ถ์ถ ๋ชจ๋ ์ ์
- stc: (str) ์ถ์ถ ๋์ ๋ฌธ์ฅ
- graph: (obj) ๋ฐ๋ชจ ๊ทธ๋ํ์ฉ ์ ๋ณด
- nodes: (arr(obj)) ๋ฐ๋ชจ ๊ทธ๋ํ ๋ ธ๋ ์ ๋ณด
- name: (str) ๋ฐ๋ชจ ๊ทธ๋ํ ๋ ธ๋ ์ด๋ฆ
- label: (str) ๋ฐ๋ชจ ๊ทธ๋ํ ๋ ธ๋ ๋ ์ด๋ธ
- id: (num) ๋ฐ๋ชจ ๊ทธ๋ํ ๋ ธ๋ ID
- links: (arr(obj)) ๋ฐ๋ชจ ๊ทธ๋ํ ๋งํฌ ์ ๋ณด
- rel: (str) ๊ด๊ณ๋ช
- sumz: (bool) ์์ฝ ๋์ ์ /๋ฌด
- source: (num) ๊ทธ๋ํ ํค๋ ๋ ธ๋
- type: (str) ๊ด๊ณ๋ช :์ถ์ถ์ ์
- target: (num) ๊ทธ๋ํ ํ ์ผ ๋ ธ๋
- ABS_NLG: (str) (deprecated)
- EXT_NLG: (str) (deprecated)
- triples: (arr(obj)) ํธ๋ฆฌํ๋ค
{
"EL": {
"sentence": [
{
"text": "์ด๋์คํธ ํค๋ฐ์จ์ด๋ ๋ฏธ๊ตญ์ ์์ค๊ฐ์ด์ ์ ๋๋ฆฌ์คํธ์ด๋ค.",
"ELU": {
"entities": [
{
"score": 0.4626169800758362,
"confidence": 0.4987819194793701,
"en_entity": "Ernest_Hemingway",
"end_offset": 9,
"predicted_coref_index": -1,
"ne_type": "PS_NAME",
"text": "์ด๋์คํธ ํค๋ฐ์จ์ด",
"start_offset": 0,
"source": "ELU",
"type": [
"http://wikidata.dbpedia.org/resource/Q215627",
"http://www.wikidata.org/entity/Q215627",
"http://dbpedia.org/ontology/Artist",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#Agent",
"http://dbpedia.org/ontology/Agent",
"http://www.wikidata.org/entity/Q5",
"http://schema.org/Person",
"http://wikidata.dbpedia.org/resource/Q5",
"http://www.w3.org/2002/07/owl#Thing",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#NaturalPerson",
"http://dbpedia.org/ontology/Person",
"http://www.wikidata.org/entity/Q24229398",
"http://xmlns.com/foaf/0.1/Person",
"http://dbpedia.org/ontology/Writer",
"http://www.wikidata.org/entity/Q36180"
],
"uri": "http://kbox.kaist.ac.kr/resource/์ด๋์คํธ_ํค๋ฐ์จ์ด"
},
{
"score": 0.4748806059360504,
"confidence": 0.46671003103256226,
"en_entity": "United_States",
"end_offset": 13,
"predicted_coref_index": -1,
"ne_type": "LCP_COUNTRY",
"text": "๋ฏธ๊ตญ",
"start_offset": 11,
"source": "ELU",
"type": [
"http://dbpedia.org/ontology/Place",
"http://www.ontologydesignpatterns.org/ont/d0.owl#Location",
"http://schema.org/Country",
"http://schema.org/Place",
"http://dbpedia.org/ontology/Wikidata:Q532",
"http://dbpedia.org/ontology/PopulatedPlace",
"http://dbpedia.org/ontology/Country"
],
"uri": "http://kbox.kaist.ac.kr/resource/๋ฏธ๊ตญ"
},
{
"score": 0.4756163954734802,
"confidence": 0.5063678026199341,
"en_entity": "Novelist",
"end_offset": 18,
"predicted_coref_index": -1,
"ne_type": "CV_OCCUPATION",
"text": "์์ค๊ฐ",
"start_offset": 15,
"source": "ELU",
"type": [
"http://dbpedia.org/ontology/Profession",
"http://dbpedia.org/ontology/PersonFunction"
],
"uri": "http://kbox.kaist.ac.kr/resource/์์ค๊ฐ"
},
{
"score": 0.47593772411346436,
"confidence": 0.49228110909461975,
"en_entity": "Journalist",
"end_offset": 26,
"predicted_coref_index": -1,
"ne_type": "CV_OCCUPATION",
"text": "์ ๋๋ฆฌ์คํธ",
"start_offset": 21,
"source": "ELU",
"type": [
"http://dbpedia.org/ontology/Profession",
"http://dbpedia.org/ontology/PersonFunction"
],
"uri": "http://kbox.kaist.ac.kr/resource/์ ๋๋ฆฌ์คํธ"
}
],
"d_entities": [],
"merge": [
{
"score": 0.4626169800758362,
"confidence": 0.4987819194793701,
"en_entity": "Ernest_Hemingway",
"end_offset": 9,
"predicted_coref_index": -1,
"ne_type": "PS_NAME",
"text": "์ด๋์คํธ ํค๋ฐ์จ์ด",
"start_offset": 0,
"source": "ELU",
"type": [
"http://wikidata.dbpedia.org/resource/Q215627",
"http://www.wikidata.org/entity/Q215627",
"http://dbpedia.org/ontology/Artist",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#Agent",
"http://dbpedia.org/ontology/Agent",
"http://www.wikidata.org/entity/Q5",
"http://schema.org/Person",
"http://wikidata.dbpedia.org/resource/Q5",
"http://www.w3.org/2002/07/owl#Thing",
"http://www.ontologydesignpatterns.org/ont/dul/DUL.owl#NaturalPerson",
"http://dbpedia.org/ontology/Person",
"http://www.wikidata.org/entity/Q24229398",
"http://xmlns.com/foaf/0.1/Person",
"http://dbpedia.org/ontology/Writer",
"http://www.wikidata.org/entity/Q36180"
],
"uri": "http://kbox.kaist.ac.kr/resource/์ด๋์คํธ_ํค๋ฐ์จ์ด"
},
{
"score": 0.4748806059360504,
"confidence": 0.46671003103256226,
"en_entity": "United_States",
"end_offset": 13,
"predicted_coref_index": -1,
"ne_type": "LCP_COUNTRY",
"text": "๋ฏธ๊ตญ",
"start_offset": 11,
"source": "ELU",
"type": [
"http://dbpedia.org/ontology/Place",
"http://www.ontologydesignpatterns.org/ont/d0.owl#Location",
"http://schema.org/Country",
"http://schema.org/Place",
"http://dbpedia.org/ontology/Wikidata:Q532",
"http://dbpedia.org/ontology/PopulatedPlace",
"http://dbpedia.org/ontology/Country"
],
"uri": "http://kbox.kaist.ac.kr/resource/๋ฏธ๊ตญ"
},
{
"score": 0.4756163954734802,
"confidence": 0.5063678026199341,
"en_entity": "Novelist",
"end_offset": 18,
"predicted_coref_index": -1,
"ne_type": "CV_OCCUPATION",
"text": "์์ค๊ฐ",
"start_offset": 15,
"source": "ELU",
"type": [
"http://dbpedia.org/ontology/Profession",
"http://dbpedia.org/ontology/PersonFunction"
],
"uri": "http://kbox.kaist.ac.kr/resource/์์ค๊ฐ"
},
{
"score": 0.47593772411346436,
"confidence": 0.49228110909461975,
"en_entity": "Journalist",
"end_offset": 26,
"predicted_coref_index": -1,
"ne_type": "CV_OCCUPATION",
"text": "์ ๋๋ฆฌ์คํธ",
"start_offset": 21,
"source": "ELU",
"type": [
"http://dbpedia.org/ontology/Profession",
"http://dbpedia.org/ontology/PersonFunction"
],
"uri": "http://kbox.kaist.ac.kr/resource/์ ๋๋ฆฌ์คํธ"
}
]
}
}
],
"text": "์ด๋์คํธ ํค๋ฐ์จ์ด๋ ๋ฏธ๊ตญ์ ์์ค๊ฐ์ด์ ์ ๋๋ฆฌ์คํธ์ด๋ค."
},
"PL": {
"triples": [
{
"p": "occupation",
"s": "์ด๋์คํธ_ํค๋ฐ์จ์ด/Ernest_Hemingway",
"stc": "<e1>์ด๋์คํธ_ํค๋ฐ์จ์ด</e1> ๋ ๋ฏธ๊ตญ ์ <e2>์์ค๊ฐ</e2> ์ด์ ์ ๋๋ฆฌ์คํธ ์ด๋ค.",
"src": "BERT",
"sco": 0.99187875,
"o": "์์ค๊ฐ/Novelist"
},
{
"p": "occupation",
"s": "์ด๋์คํธ_ํค๋ฐ์จ์ด/Ernest_Hemingway",
"stc": "<e1>์ด๋์คํธ_ํค๋ฐ์จ์ด</e1> ๋ ๋ฏธ๊ตญ ์ ์์ค๊ฐ ์ด์ <e2>์ ๋๋ฆฌ์คํธ</e2> ์ด๋ค.",
"src": "BERT",
"sco": 0.98237854,
"o": "์ ๋๋ฆฌ์คํธ/Journalist"
},
{
"p": "nationality",
"s": "์ด๋์คํธ_ํค๋ฐ์จ์ด/Ernest_Hemingway",
"stc": "<e1>์ด๋์คํธ_ํค๋ฐ์จ์ด</e1> ๋ <e2>๋ฏธ๊ตญ</e2> ์ ์์ค๊ฐ ์ด์ ์ ๋๋ฆฌ์คํธ ์ด๋ค.",
"src": "BERT",
"sco": 0.71771085,
"o": "๋ฏธ๊ตญ/United_States"
}
],
"graph": {
"nodes": [
{
"name": "์ด๋์คํธ_ํค๋ฐ์จ์ด",
"label": "Ernest_Hemingway",
"id": 1
},
{
"name": "์์ค๊ฐ",
"label": "Novelist",
"id": 2
},
{
"name": "์์ด๋คํธ_์ฃผ",
"label": "Idaho",
"id": 3
},
{
"name": "๋ฌด๊ธฐ์ฌ_์_์๊ฑฐ๋ผ",
"label": "A_Farewell_to_Arms",
"id": 4
},
{
"name": "๋
ธ์ธ๊ณผ_๋ฐ๋ค",
"label": "The_Old_Man_and_the_Sea",
"id": 5
},
{
"name": "๋
ธ๋ฒจ๋ฌธํ์",
"label": "",
"id": 6
},
{
"name": "ํฐ๋ฆฌ์ฒ์_ํฝ์
_๋ถ๋ฌธ",
"label": "Pulitzer_Prize_for_Fiction",
"id": 7
},
{
"name": "ํฐ๋ฆฌ์ฒ์",
"label": "Pulitzer_Prize",
"id": 8
},
{
"name": "๋ฏธ๊ตญ",
"label": "United_States",
"id": 9
},
{
"name": "์คํฌํํฌ_(์ผ๋ฆฌ๋
ธ์ด_์ฃผ)",
"label": "Oak_Park,_Illinois",
"id": 10
},
{
"name": "๋๊ตฌ๋ฅผ_์ํ์ฌ_์ข
์_์ธ๋ฆฌ๋",
"label": "For_Whom_the_Bell_Tolls",
"id": 11
},
{
"name": "์ผ๋ฆฌ๋
ธ์ด์ฃผ",
"label": "",
"id": 12
},
{
"name": "๋
ธ๋ฒจ_๋ฌธํ์",
"label": "Nobel_Prize_in_Literature",
"id": 13
},
{
"name": "์ ๋๋ฆฌ์คํธ",
"label": "Journalist",
"id": 14
}
],
"links": [
{
"rel": "1_occupation",
"sumz": false,
"source": 1,
"type": "occupation:0.99",
"target": 2
},
{
"rel": "2_occupation",
"sumz": false,
"source": 1,
"type": "occupation:0.98",
"target": 14
},
{
"rel": "3_occupation",
"sumz": false,
"source": 2,
"type": "occupation:0.98",
"target": 14
},
{
"rel": "4_occupation",
"sumz": false,
"source": 9,
"type": "occupation:0.92",
"target": 2
},
{
"rel": "5_nationality",
"sumz": false,
"source": 1,
"type": "nationality:0.72",
"target": 9
},
{
"rel": "6_occupation",
"sumz": false,
"source": 9,
"type": "occupation:0.27",
"target": 14
}
]
},
"ABS_NLG": "",
"EXT_NLG": ""
}
}
CC BY-NC-SAAttribution-NonCommercial-ShareAlike- If you want to commercialize this resource, please contact to us
Machine Reading Lab @ KAIST
This work was supported by Institute for Information & communications Technology Promotion(IITP) grant funded by the Korea government(MSIT) (2013-0-00109, WiseKB: Big data based self-evolving knowledge base and reasoning platform)
Nam, Sangha, et al. "A Korean Knowledge Extraction System for Enriching a KBox." Proceedings of the 27th International Conference on Computational Linguistics: System Demonstrations. 2018.
