Project:SPARQL/examples: Difference between revisions

Line 235: Line 235:


==== Co-authorship clustering ====
==== Co-authorship clustering ====
This query returns a graph linking authors (P72) who have authored pieces with one another. It uses the service wikibase:label to return the labels in your default language or in English.
This query returns a graph linking authors (P72) who have authored pieces with one another. It uses the service wikibase:label to return the labels in your default language or in English. WARNING: Be extremely careful with this query as it will take several minutes to run or may crash. Use at your own risk.


<sparql tryit="1">PREFIX wd: <https://lgbtdb.wikibase.cloud/entity/>
<sparql tryit="1">PREFIX wd: <https://lgbtdb.wikibase.cloud/entity/>