How to import RDF file to Apache Solr

2019-06-25 11:43发布

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.

标签: solr rdf
4条回答
在下西门庆
2楼-- · 2019-06-25 12:20

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

查看更多
Fickle 薄情
3楼-- · 2019-06-25 12:21

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.

查看更多
何必那么认真
4楼-- · 2019-06-25 12:21

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

查看更多
叼着烟拽天下
5楼-- · 2019-06-25 12:31

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

查看更多
登录 后发表回答