It matches the German descriptions (German „einst“ = English “once”, “formerly” – the results are described as having been civil rights activists in the GDR).

On 04.10.19 16:55, Tim Thompson wrote:
Great to learn about these features/extensions. However, I'm confused by the results in Lucas's example query for WikibaseCirrusSearch. How is the string "einst" being matched here?


Tim A. Thompson
Discovery Metadata Librarian
Yale University Library

On Fri, Oct 4, 2019 at 8:54 AM Lucas Werkmeister <> wrote:

If you use regular search rather than entity search, you can use WikibaseCirrusSearch search keywords like "haswbstatement:P31=Q5". Note that this uses a different kind of search, though – I think it only matches full words (after stemming and other transformations?), not prefixes. Query Link


On 04.10.19 10:22, Ettore RIZZA wrote:
Forgot to mention: you can do the same search using the API only:

But not sure you can easily filter the results by "instance of".

Ettore Rizza

On Fri, 4 Oct 2019 at 10:15, Ettore RIZZA <> wrote:
Hello Thomas,

You can perform a full text search with the API, but not yet with SPARQL AFAIK. However, it is possible to call the API in a SPARQL query. For example, here is a query that looks for "human (Q5)"  whose label contains the string "einst".

Hope this helps,

Ettore Rizza

On Fri, 4 Oct 2019 at 09:58, Thomas Francart <> wrote:

I understand the wikidata SPARQL label service only fetches the labels, but does not allow to search/filter on them; labels are also available in regulare rdfs:label on which a FILTER can be made.
However I would like to do full-text search over labels, to e.g. feed an autocomplete search field, actually just like the usual top-right wikidata search field does. I would also be interested to combine this with a criteria on "instance of", to search only on instances of a given class.

Can I do that efficiently using the Wikidata SPARQL service ? or is there a separate API I could use ? (exemple welcome)



Thomas Francart - SPARNA
Web de données | Architecture de l'information | Accès aux connaissances
blog :, site :, linkedin :
tel : 
 +33 (0)
, skype : francartthomas
Wikidata mailing list

Wikidata mailing list
Wikidata mailing list

Wikidata mailing list