As you might know that Lucene does not provide the advanced features that Solr provides like, faceting, key work highlighting, auto completion etc. When I saw that OSF integrates the Solr framework with a triple store i.e Virtuoso in this case, I was very interested in it. I have the following questions to make my understanding clear.
I would appreciate if you could provide answers to these questions any examples would be greatly appreciated as well.
Thanks .
I find this project to be very interesting ,before I ask any questions , I would like to give a quick background of what I am trying to do.
- I collect the RDF data over the web in different ontologies and stores it in RDF format in Jena TDB.
- I then index it i.e the free-text part of it (literals) using Lucene.
- I then query it using the magic predicates in SPARQL.
- Lucene Indexes are stored separately from the TDB indices and need to be in synch.
As you might know that Lucene does not provide the advanced features that Solr provides like, faceting, key work highlighting, auto completion etc. When I saw that OSF integrates the Solr framework with a triple store i.e Virtuoso in this case, I was very interested in it. I have the following questions to make my understanding clear.
- conStruct implements the integration with Solr and Virtuoso , can it be used as an API in this case to replace Lucene inexing?
- I am assuming I will need to migrate to Virtuoso from TDB inorder to accomplish this ?
- will conStruct allow me use to use magic predicates in SPARQL within Virtuoso?
- will the sparql results from Virtuoso be represented in a Solr format so as to use the faceting and other advanced features in Drupla ?
Thank you for the answer Fred! I am sorry I was not very clear in my previous post.
I am aware that there are two different services Search and SPARQL, when I said "magic predicates" I meant combining the free-text search and regular SPARQL in a single SPARQL query like LARQ and then possibly returning the results in Solr XML form or in any other form where the Solr data can be leveraged.
Everything is explained here:
http://techwiki.openstructs.org/index.php/Search
Also, you may be interested in the structWSF-PHP-API to help you
querying the structWSF endpoints:
https://github.com/structureddynamics/structWSF-PHP-API
Thanks,
Fred