I want to get all entities that the text contains the keyword "tweet about", this is my python code:`import wikidata import requests
API_ENDPOINT="https://www.wikidata.org/w/api.php"
query="tweet about"
params={
'action':'wbsearchentities',
'format':'json',
'language':'en',
'search':query
}
r=requests.get(API_ENDPOINT,params=params)
print(r.json())
and the print content is :
[{'repository': '', 'id': 'Q58571598', 'concepturi': 'http://www.wikidata.org/entity/Q58571598', 'title': 'Q58571598', 'pageid': 58483717, 'url': '//www.wikidata.org/wiki/Q58571598', 'label': 'Tweet about Skin or a Digital Homage to Skin', 'match': {'type': 'label', 'language': 'en', 'text': 'Tweet about Skin or a Digital Homage to Skin'}}]
But when I do search in wikidata, there are lots of results:
can anyone help me? thank you very much!