How to import RDF file to Apache Solr

此生再无相见时 提交于 2019-12-23 12:46:02

问题


I'm new to Apache Solr. I want to import a rdf file into solr for indexing.I have googled it but I didn't find anything useful. please give me some pointers.


回答1:


Solr accepts JSON documents. You can transform your RDF document into a JSON-LD document. JSON-LD is a RDF serialization format and it is part of RDF 1.1. You can safely go back and forth between JSON-LD and other RDF serializations and not loose any data.




回答2:


Take a look at HttpDataSource example of DataImportHandler. It talks about processing RDF using XPathEntityProcessor.

Edit - Another blog - RDF Aggregates and Full Text Search on Steroids with Solr




回答3:


You can also look for Siren that has the capability of adding RDF data to lucene




回答4:


My 2 cents on this experiment, let me know what you think about: http://andreagazzarini.blogspot.it/2014/12/a-solr-rdf-store-and-sparql-endpoint-in.html



来源:https://stackoverflow.com/questions/15140691/how-to-import-rdf-file-to-apache-solr

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!