Description Usage Arguments Value Examples
Convert a URL ending in an identifier (returned by SPARQL queries) to just the plain identifier (QID or PID).
Convert a URL ending in an identifier (returned by SPARQL queries) to just the plan identifier (QID or PID).
1 2 3 |
x |
a vector of strings representing wikidata URLs |
if the URL ends in a QID or PID, return that PID or QID, else return the original string
QID or PID
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.