[13:28:00] Hello. Reading the API doc, I can't find any example of a search request by a property with a specific string value. I would like a request for searching the item with VIAF identifier (P214) == 66522427 [13:28:48] The result should be Q103114 [13:30:40] Yeah, I should learn SPARQL but it seems to me that the search with a string value of a property is not a common request, regarding all the API examples [13:32:19] (not possible with action=wbgetentities) [13:38:37] ... WHERE { ?item wdt:P214 "66522427" } ? [14:03:36] Ok solved. ?item wdt:P214 "66522427" With the help of the tutorial https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries [14:30:57] ironie: or https://www.wikidata.org/wiki/Special:Search/haswbstatement:P214=66522427 [14:31:22] documentation for that is at https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Extension:WikibaseCirrusSearch [14:31:41] Lucas_WMDE Raaaaa so simple. Thanks. [14:40:01] Lucas_WMDE That Special:Search and CirrusSearch seems dedicated to human search. I can't find the same possibilities with the simple API for my bot. So I have to use SPARQL (in get request) for the bot [14:41:24] I'm using https://query.wikidata.org/bigdata/namespace/wdq/sparql?format=json&query=SELECT distinct ?item WHERE { ?item wdt:P214 "66522427"} [14:41:39] ironie: with action=query and search as list or generator you'll get what you see in Special:Search [14:42:10] dcausse: Oh ?! nice [14:43:21] https://www.wikidata.org/w/api.php?action=query&list=search&srsearch=haswbstatement:P214=66522427&formatversion=2&format=json [14:44:49] dcausse : I lost 2 hours in SPARQL :'-( Thanks [14:45:14] yw!