Project:RedirectionScript
From MaRDI portal
SPARQL queries
Count number of items that redirect to another item
SELECT (COUNT (DISTINCT ?o) AS ?count)
WHERE
{
?o owl:sameAs ?sa .
}
Get mapping of original items to the ones they were redirected to
SELECT DISTINCT ?o ?sa
WHERE
{
?o owl:sameAs ?sa .
}