Get the claims (statements) related to an item.
Usage
get_claims(
qid = "Q528626",
property = "P625",
wikibase_api_url = "https://www.wikidata.org/w/api.php",
csrf = NULL
)Arguments
- qid
The QID of the item.
- property
The property for which the claim is required.
- wikibase_api_url
The full URL of the Wikibase API, which is the address that the
wbdatasetR client sends requests to when interacting with the knowledge base. For example,'https://reprexbase.eu/demowiki/api.php'. The URL must end with api.php.- csrf
A response csrf received with
get_csrf.
Details
A wrapper around wbgetentities.