3

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" .
Mark Miller
  • 3,011
  • 1
  • 14
  • 34
  • I know that there is a workbench, but I can only see the *explore* option which might be not what you want but at least avoid writing queries: http://graphdb.ontotext.com/documentation/free/workbench-user-interface.html – UninformedUser Jul 24 '17 at 20:45
  • 1
    Otherwise, you setup something on top your triple store, e.g. SemFacet or the like – UninformedUser Jul 24 '17 at 20:46
  • I find `explore` handy when I can remember my IRIs, but I have colleagues who will want to search for entities based on their literal values. I felt stupid asking a "I can't find something" question, but now I know about SemFacet! – Mark Miller Jul 24 '17 at 20:53
  • @AKSW Wait... can SemFacet connect to an endpoint like GraphDB, or is it just for searching data that can be statically loaded from an RDF file? – Mark Miller Jul 24 '17 at 20:56
  • Well... sorry, you're right - it's in-memory only. I never used it by myself - just read their publications. Another tool would be [Facete](http://aksw.org/Projects/Facete.html) But again, I never used it, but here at least I know that it's SPARQL-based :D – UninformedUser Jul 25 '17 at 00:35

1 Answers1

3

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
vassil_momtchev
  • 1,173
  • 5
  • 11
  • Great, I'll try later today. Do you know how to add predicates that trigger indexing? For example, my ontology uses `:literalValue` to say that something bears a value, which may be different from its name. See updated question. – Mark Miller Jul 25 '17 at 12:43
  • this is great, and the ability to add predicates form my ontology as "label IRIs" is right there on the `/autocomplete` link. Thanks! – Mark Miller Jul 25 '17 at 19:30