rlabel=function(query,language){
query <- str_c(str_replace(query,"\\}#endOfWhere",""),
"\nSERVICE wikibase:label {bd:serviceParam wikibase:language \"",language,"\".}",
"}#endOfWhere")
return(query)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.