Retrieve responses from Wikidata Query Service (WDQS). Uses ratelimitr if param limitRequester = TRUE.
w_query(sparql_query, format = "csv", method = "GET", limitRequester = FALSE)
The response in selected format or NULL on errors.
A string with the query in SPARQL language.
A string with the query response format. Mandatory. See https://www.mediawiki.org/wiki/Wikidata_Query_Service/User_Manual#SPARQL_endpoint. Only 'json', 'xml' or 'csv' formats are allowed, default 'csv'.
The method used in the httr request, GET or POST, mandatory. Default 'GET'.
If True, uses ratelimitr to limit the requests.
Angel Zazo, Department of Computer Science and Automatics, University of Salamanca