User:DL2204/SPARQL

< User:DL2204
Revision as of 11:53, 12 June 2024 by DL2204 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SPARQL queries

A list of Wikibases where DL2204 is involved as author:

#title: Wikibase (co-)authored by David Lindemann (Q354)
PREFIX wwdt: <https://wikibase.world/prop/direct/>
PREFIX wwd: <https://wikibase.world/entity/>

SELECT ?wikibase ?wikibaseLabel ?wikibaseUrl ?inception (sample(?desc) as ?description) (group_concat(distinct str(?authorName); SEPARATOR=" & ") as ?authors)
WHERE {
    ?wikibase wwdt:P3 wwd:Q10 ; wwdt:P17 wwd:Q354; wwdt:P5 ?inception; schema:description ?desc; wwdt:P1 ?wikibaseUrl ; wwdt:P17 ?author.
    ?author rdfs:label ?authorName.
    SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} group by ?wikibase ?wikibaseLabel ?wikibaseUrl ?inception ?description ?authors order by ?inception

Try it!