Search code examples
sparqlgraphdb

Text search in GraphDB web interface?


Is there a text search accessible through the GraphDB web interface, like there is for Blazegraph, Stardog, and Virtuoso faceted search?

For example:

enter image description here

I have gone through the Lucene connector and full-text exercises. I see how I can write a SPARQL search that includes text searching:

PREFIX luc: <http://www.ontotext.com/owlim/lucene#>
SELECT * {
  ?id luc:myTestIndex "ast*"
}

But is there a point-and-click search interface?

If I need to specify the predicates that trigger an indexing process, I would want to include :literalValue form my application ontology.

:Mark a :StackOverflowQuestioner .
:Mark :denotedBy :MarksName .
:MarksName rdfs:label "Mark's Name" .
:MarksName :literalValue "Mark Miller" .

Solution

  • To configure the autocomplete indexes start GraphDB Workbench and open:

     http://localhost:7200/autocomplete
    

    The interface allows you to index the IRI text and the values of specific predicates like rdfs:label or skos:label.

    enter image description here

    The index will be updated on the fly with the new data updates. It can be accessed from:

    • SPARQL editor by pressing Ctrl|Cmd+Space, so the editor will autocomplete the IRI
    • Explore > Visual graphs by typing the resource to start the exploration from