4

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" .
5
  • 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: graphdb.ontotext.com/documentation/free/… Commented Jul 24, 2017 at 20:45
  • 1
    Otherwise, you setup something on top your triple store, e.g. SemFacet or the like Commented Jul 24, 2017 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! Commented Jul 24, 2017 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? Commented Jul 24, 2017 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 But again, I never used it, but here at least I know that it's SPARQL-based :D Commented Jul 25, 2017 at 0:35

1 Answer 1

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
Sign up to request clarification or add additional context in comments.

2 Comments

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.
this is great, and the ability to add predicates form my ontology as "label IRIs" is right there on the /autocomplete link. Thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.