I think it would be great to have the possibility of doing lucene-style fuzzy matches for properties in queries. Let's say we're looking for a person, but are not sure what his name is e.g. Mike vs. Maik... Given lucene, we would probably be able to find both easily with Mike~0.5. You can't do that with regular expressions.
I'd love to see something along the lines of SELECT * WHERE {?person :name LUCENE{Mike~0.5}} Regards, Michael On Wednesday, 22 January 2014 01:04:29 UTC+1, Holger Knublauch wrote: > > Michael, > > Jena's latest versions basically offer a programmatic way of synchronizing > a (Lucene/Solr) text index so that certain text operations can be handled > faster than with the FILTER regex trick. Our Solr integration offers > similar capabilities although only for faceted search. So it would > certainly make sense to generalize this (like we used to have with LARQ > support) and we do have such a JIRA ticket on our list. The problem is > keeping track of changes, and making sure that the external text index > doesn't get out of synch. This is easy for Jena API users in a controlled > environment but harder for a generic tool such as TopBraid. That's why this > task hasn't made it to the top of our list. > > Could you clarify what your use case is so that we can better understand > the benefits? > > Thanks > Holger > > > On 1/22/2014 9:49, Scott Henninger wrote: > > Michale, Composer used to support LARQ, but we have moved to Solr for > server solutions. Jena and Jena ARQ are the platform TopBraid is built > over. > > -- Scott > > On 1/21/2014, 5:32 PM, Michael B. wrote: > > Do you have any plans on integrating Jena ARQ? It offers text search over > pretty much everything out of the box... > > -- Michael > > On Thursday, 2 January 2014 18:32:10 UTC+1, Scott Henninger wrote: >> >> Stephane; Text search is separate from Solr indexing. As stated, the >> Jena interface is not directly supported. But if you look in the Search >> View, the 'Search any Text' does what I think you want out-of-the-box. >> This is a property-based search, therefore it will by default search all >> datatype properties for the chosen class and its subclasses (to search >> across the entire project, choose the top-level node). >> >> You can also restrict which properties the search field will search - see >> http://topquadrant.com/topbraid/evn/43doc/adminguide.html#activateSrchTxtProps. >> >> >> >> Note this is a regex search and in 4.3.1 performs a phrase search, so >> [condition action] would not match "condition and action". In 4.4, out >> later this month, the phrases will be tokenized, so [condition action] >> would match "condition and action", as would ["condition and"]. >> >> -- Scott >> >> On 1/2/2014, 10:58 AM, Stephane Varin wrote: >> >> Hi Scott, >> >> Thanks a lot for the prompt answer. Following Mark's previous answer, I >> have successfully configured EVN's interface with Solr and I have no >> additional question at this point. >> >> My current question is independent of EVN. I would like to know if it >> is possible to use the solr index from TBC, i.e. execute a "sparql query + >> text search" directly from Top Braid Composer, such as >> >> PREFIX text: <http://jena.apache.org/text#> <http://jena.apache.org/text#> >> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> >> >> SELECT ?s >> { ?s text:query (rdfs:label 'word' 10) ; >> rdfs:label ?label >> } >> >> (from http://jena.apache.org/documentation/query/text-query.html) >> >> I see there are some SparqlMotion Modules related to Solr, and I have >> also found a solr.ttl file, but so far I have not been able to figure out >> how to "assemble" the pieces. >> >> Cheers, >> Stéphane VARIN >> >> On Thursday, January 2, 2014 5:44:15 PM UTC+1, Scott Henninger wrote: >>> >>> Stephane; There is a section in the EVN documentation that describes >>> EVN's interface with Solr - see >>> http://topquadrant.com/topbraid/evn/43doc/userguide.html#solr >>> >>> The Jena interface is not supported directly in the EVN UI. Instead, >>> Solr is used in the background for the faceted search UI. Once set up, and >>> EVN user will be able to use faceted search to look up property values - >>> for example choosing a related concept or customized concept. >>> >>> That's a bit vague, so take a look at the documentation and let us know >>> what questions arise from that. >>> >>> -- Scott >>> >>> On 1/2/2014, 9:58 AM, Stephane Varin wrote: >>> >>> Thanks Mark, >>> >>> After some further exploration, I have been able to configure a Solr >>> instance and somehow "configure" it from EVN web interface. It seems to >>> work fine. I suppose from now on, EVN will use the solr index to do some >>> "full text search" in addition to the sparlq based search? >>> >>> Anyways, that is not exactly what I am trying to do here. I am looking >>> for a way to run a SPARQL query in TopBraid Composer which combines SPARQL >>> and Text Search, such as: >>> >>> PREFIX text: <http://jena.apache.org/text#>PREFIX rdfs: >>> <http://www.w3.org/2000/01/rdf-schema#> >>> SELECT ?s{ ?s text:query (rdfs:label 'word' 10) ; >>> rdfs:label ?label } >>> >>> (from http://jena.apache.org/documentation/query/text-query.html) >>> >>> Is this possible at all? If yes, how do I configure TBC to use my Solr >>> instance? >>> >>> Cheers, >>> Stephane VARIN >>> >>> PS: Happy New Year to all the users of TBC and all the support team at >>> Top Quadrant !!! >>> >>> On Wednesday, December 18, 2013 6:11:35 PM UTC+1, Mark Graham wrote: >>>> >>>> Hi Stephane, >>>> >>>> Can click on the Schema.org Example project, click on Configure Solr. >>>> You will need to place a URL for your Solr account there. >>>> >>>> Thanks, >>>> Mark >>>> >>>> >>>> On Wed, Dec 18, 2013 at 11:32 AM, Stephane Varin >>>> <stephan...@gmail.com>wrote: >>>> >>>>> Hi all, >>>>> >>>>> We would like to use a search index from our Sparql queries, and we >>>>> are investigating how to configure Lucene or Solr to work with Jena in >>>>> our >>>>> environment. >>>>> >>>>> I just came accross this article >>>>> faceted-search-in-topbraid-43<http://composing-the-semantic-web.blogspot.fr/2013/06/faceted-search-in-topbraid-43.html> >>>>> which >>>>> indicates: >>>>> "The alternative mode is using Apache Solr, a Lucene-based search >>>>> index that is optimized for faceted search scenarios. To make use of >>>>> this, >>>>> you only need to configure your TopBraid EVN project to synchronize with >>>>> a >>>>> Solr server." >>>>> >>>>> Would there be any documentation or example explaining how to do >>>>> this? >>>>> >>>>> Cheers, >>>>> Stéphane >>>>> -- >>>>> -- You received this message because you are subscribed to the Google >>>>> Group "TopBraid Suite Users", the topics of which include Enterprise >>>>> Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid >>>>> Insight, SPARQLMotion, SPARQL Web Pages and SPIN. >>>>> To post to this group, send email to >>>>> topbrai...@googlegroups.com >>>>> To unsubscribe from this group, send email to >>>>> topbraid-user...@googlegroups.com >>>>> For more options, visit this group at >>>>> http://groups.google.com/group/topbraid-users?hl=en >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "TopBraid Suite Users" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to topbraid-user...@googlegroups.com. >>>>> For more options, visit https://groups.google.com/groups/opt_out. >>>>> >>>> >>>> >>>> >>>> -- >>>> Thanks, >>>> Mark >>>> >>>> >>>> Mark Graham >>>> TopQuadrant Support >>>> >>>> *PRODUCT SUPPORT:* >>>> >>>> help...@topquadrant.com >>>> http://www.topquadrant.com/products/support.html >>>> >>>> -- >>> -- You received this message because you are subscribed to the Google >>> Group "TopBraid Suite Users", the topics of which include Enterprise >>> Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid >>> Insight, SPARQLMotion, SPARQL Web Pages and SPIN. >>> To post to this group, send email to >>> topbrai...@googlegroups.com >>> To unsubscribe from this group, send email to >>> topbraid-user...@googlegroups.com >>> For more options, visit this group at >>> http://groups.google.com/group/topbraid-users?hl=en >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "TopBraid Suite Users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to topbraid-user...@googlegroups.com. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> -- >> -- You received this message because you are subscribed to the Google >> Group "TopBraid Suite Users", the topics of which include Enterprise >> Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid >> Insight, SPARQLMotion, SPARQL Web Pages and SPIN. >> To post to this group, send email to >> topbrai...@googlegroups.com >> To unsubscribe from this group, send email to >> topbraid-user...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/topbraid-users?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "TopBraid Suite Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to topbraid-user...@googlegroups.com. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> -- > -- You received this message because you are subscribed to the Google > Group "TopBraid Suite Users", the topics of which include Enterprise > Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid > Insight, SPARQLMotion, SPARQL Web Pages and SPIN. > To post to this group, send email to > topbrai...@googlegroups.com <javascript:> > To unsubscribe from this group, send email to > topbraid-user...@googlegroups.com <javascript:> > For more options, visit this group at > http://groups.google.com/group/topbraid-users?hl=en > --- > You received this message because you are subscribed to the Google Groups > "TopBraid Suite Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to topbraid-user...@googlegroups.com <javascript:>. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- > -- You received this message because you are subscribed to the Google > Group "TopBraid Suite Users", the topics of which include Enterprise > Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid > Insight, SPARQLMotion, SPARQL Web Pages and SPIN. > To post to this group, send email to > topbrai...@googlegroups.com <javascript:> > To unsubscribe from this group, send email to > topbraid-user...@googlegroups.com <javascript:> > For more options, visit this group at > http://groups.google.com/group/topbraid-users?hl=en > --- > You received this message because you are subscribed to the Google Groups > "TopBraid Suite Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to topbraid-user...@googlegroups.com <javascript:>. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN. To post to this group, send email to topbraid-users@googlegroups.com To unsubscribe from this group, send email to topbraid-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/topbraid-users?hl=en --- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.