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