Retrieve responses from Wikidata Query Service (WDQS)
reqWDQS(sparql_query, format = "json", method = "GET")
The response in the format selected. Please check httr::stop_for_status(response)
A string with the query in SPARQL language (SELECT query).
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 'json'.
The method used in the httr request, GET or POST, mandatory. Default 'GET'. Use 'POST' method for long SELECT clauses.
Angel Zazo, Department of Computer Science and Automatics, University of Salamanca