KBQA一個簡單實例


Jena 是RDF數據庫
  • The RDF API - the core RDF API in Jena
  • SPARQL - querying and updating RDF models using the SPARQL
  • Fuseki - SPARQL server which can present RDF data and answer  SPARQL queries over HTTP
  • Assembler - describing recipes for constructing Jena models  declaratively using RDF
  • Inference - using the Jena rules engine and other inference algorithms  to derive consequences from RDF models
  • Javadoc - JavaDoc generated from the Jena source
  • Text Search - enhanced indexes using Lucene or Solr for more efficient
  • I/O - notes on input and output of triples to and from Jena models
  • How-To's - various topic-specific how-to documents
  • Ontology - support for handling OWL models in Jena
  • TDB - a fast persistent triple store that stores directly to disk
  • SQL DB - constructing persistent Jena models using SQL databases as  the storage layer
  • Tools - various command-line tools and utilities to help developers  manage RDF data and other aspects of Jena
 
第一步:進入 apache-jena-fuseki-3.12.0 文件夾下(在linux中如果沒有可執行權限需要使用chmod +x賦予權限)
        使用命令./fuseki-server —update —mem /ds啟動服務
第二步:在瀏覽器中輸入http://localhost:3030即可進入jena數據庫
第三步:將EasyKBQA中給的一個模版數據導入到數據庫中(很少),進而進行測試
第四步:該案例主要了解簡單的問題系統的形式,以及如何連接數據庫,如何進行查詢
(之前講基於本體建模的時候用protégé,而protégé 本身是人與本體對象之間進行交互,而jena可以理解為是應用程序和本體之間進行交互通常會將兩者之間配合起來進行使用,就是一個完整的關於本體操作的解決方案)
 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM