Dear all,

I have just started using Wikibase.cloud and have set up this instance:

https://tdkiv.wikibase.cloud/

I have added one property (https://tdkiv.wikibase.cloud/wiki/Property:P1) and imported some data (e.g., https://tdkiv.wikibase.cloud/wiki/Item:Q10).

Now I would like to get a list of all items (their QIDs) with P1 present. I have tried the following query:

https://tdkiv.wikibase.cloud/query/embed.html#PREFIX%20ktd%3A%20%3Chttp%3A%2F%2Ftdkiv.wikibase.cloud%2Fentity%2F%3E%0A%0ASELECT%20%3Fitem%20%3Flongerdesc%20WHERE%20%7B%0A%3Fitem%20ktd%3AP1%20%3Flongerdesc%20.%0A%20%20%0ASERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%2Ccs%22.%20%7D%0A%7D

A short URL to query results:

https://tinyurl.com/2dcy62zk

But, unfortunately, it gives no results.

I suppose it maybe a config issue (I have just used the query service as it is available out-of-the box with a new Wikibase.cloud instance).

Also, due to the nature of the values assigned P1 which are longer texts, I have set up String and Monolingual text to a maximum of 2000 chars. I hope it won’t be an underlying issue for the query but I am just noting it here as the config page mentions that “Longer than default lengths (which are used on Wikidata) is generally untested and might have some unexpected outcomes.”

What (and where) should I check or set up to make the query service work?

Or how should I change my query to make it return the results I hope for :-)?

Thank you in advance for your help!

Linda

---
Linda Jansova
National Library of the Czech Republic
linda.jansova@nkp.cz
linda.jansova@gmail.com