ewdlop / ewdlop/NLPNote

formal knowledge base

Open
#185 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

ChatG{T:

是的,現在已經有很多現成的形式化知識庫(formal knowledge base)可以直接查詢或使用,而且有些已經在 AI、語義網、科學數據管理裡廣泛應用。

我幫你分成大型通用型專業領域型語義網/本體型三大類列出來。




1. 大型通用型

名稱 | 形式語言/邏輯基礎 | 特點 | 官網
-- | -- | -- | --
Cyc / OpenCyc | 基於 CycL(類似一階邏輯的語言) | 1984 年起的超大型常識知識庫,涵蓋日常物理、社會、心理等常識推理 | https://www.cyc.com/
ConceptNet | 半結構化(圖結構 + 邏輯關係) | 偏自然語言的常識網路,適合 NLP 模型增強 | https://conceptnet.io/
Wikidata | RDF + SPARQL | 維基百科的結構化資料後端,開放查詢與編輯 | https://www.wikidata.org/
DBpedia | RDF + OWL | 從維基百科自動抽取結構化資訊 | https://wiki.dbpedia.org/



4. 互動查詢方式




  • SPARQL:查詢 RDF/OWL 知識庫(Wikidata、DBpedia、GO 都支持)

    範例:查詢所有是貓的實體


    SELECT ?cat WHERE {
    
    ?cat wdt:P31 wd:Q146 .
    }



  • API / SDK:ConceptNet、Cyc 提供 HTTP API 或 Python SDK。




  • Reasoner:HermiT、Pellet、Fact++ 可對本地 OWL 知識庫做推理。






📚 來源




  1. Lenat, D. B. (1995). CYC: A large-scale investment in knowledge infrastructure. Communications of the ACM.




  2. Vrandečić, D., & Krötzsch, M. (2014). Wikidata: a free collaborative knowledgebase. Communications of the ACM.




  3. Baader, F., et al. (2007). The Description Logic Handbook.






如果你想,我可以幫你整理一張**「現成知識庫對照表」,加上它們的邏輯基礎、自我參照能力、推理能力**,讓你直接比較哪一個最適合做實驗或專案。

你要我幫你整理嗎?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.