req_WDQS: req_WDQS Retrieve responses in JSON format from Wikidata...

View source: R/wiki_utils.R

req_WDQSR Documentation

req_WDQS Retrieve responses in JSON format from Wikidata Query Service (WDQS)

Description

req_WDQS Retrieve responses in JSON format from Wikidata Query Service (WDQS)

Usage

req_WDQS(sparql_query)

Arguments

sparql_query

A string with the query in SPARQL language.

Value

A JSON response. Please check httr::stop_for_status(response)

Note

For short queries GET method is better, POST for long ones. Only GET queries as cached.

Author(s)

Angel F. Zazo, Departament of Computer Science and Automatics, University of Salamanca


wikiTools documentation built on March 24, 2022, 9:05 a.m.