Project:SPARQL/examples: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 29: Line 29:
}
}
</SPARQL>
</SPARQL>
 
=Documents=
==People and how many documents they have authored==
<SPARQL tryit="1">
PREFIX wb: <https://metabase.wikibase.cloud/entity/>
PREFIX wbt: <https://metabase.wikibase.cloud/prop/direct/>
SELECT ?author ?authorLabel (COUNT(?item) AS ?count)
WHERE
{
?item wbt:P5/wbt:P4* wb:Q21.
?item wbt:P19 ?author.
SERVICE wikibase:label { bd:serviceParam wikibase:language "sv,en". }
}
GROUP BY ?author ?authorLabel
ORDER BY DESC (?count)
</SPARQL>
=Projects=
=Projects=
==Timeline of all projects==
==Timeline of all projects==