Autocomplete index

The Autocomplete index offers suggestions for the URIs local names in the SPARQL editor and the View Resource page.

It is disabled by default. Go to Setup -> Autocomplete to enable it. GraphDBD indexes all URIs in the repository by splitting their local names into words, for example, subPropertyOf is split into sub+Property+Of. This way, when you search for a word, the Autocomplete finds URIs with local names containing the symbols that you typed in the editor.

_images/autocompleteEnable.png

If you get strange results and you think the index is broken, use the Build Now button.

_images/autocompleteBuildNow.png

If you try to use autocompletion before it is enabled, a tooltip warns you that the autocomplete index is off and provides a link for building the index.

_images/autocompleteEnableLink.png

Autocomplete in the SPARQL editor

To start autocompletion in the SPARQL editor, use the shortcuts Alt+Enter / Ctrl+Space / Cmd+Space depending on your OS and the way you have set up your shortcuts. You can use autocompletion to:

  • search in all URIs

    _images/autocompleteNoPrefix.png
  • search only for URIs that start with a certain prefix

    _images/autocompletePub.png
  • search for more than one word

    Tip

    Just start writing the words one after another without spaces, e.g., “pngOnto”, and the index smartly splits them.

    _images/autocomplete_moreThanOneWord.png
  • search for numbers

_images/autocompleteNumber.png

Autocomplete in the View resource on Home page

To use the autocompletion feature to find a resource, go to the GraphDB home page, and start typing in the Explore -> View resource field. The retrieved results can be in text format or in the form of a visual graph, with the latter automatically taking you to the Visual graph view.

_images/autocomplete_viewResource.png