Is there a way to extract the labels of the statements (property and object) in Wikidata? I want to get all the information that there is here:https://www.wikidata.org/wiki/Q42, properties and objects with label so both (wikidata.org/wiki/Property:P21, sex or gender) and (wikidata.org/wiki/Q6581097, male).
I've tried to do this using the wikidata toolkit, but I can't find a way to avoid doing multiple request to the api (I'm now getting ids from the Q42 entities and than, for each of this, I send an api request to get the label.)
The problem is the same I've found in this two questions:
There's a way to get all the information when I retrieve the data for the Q42 entity?