Project:SPARQL/examples: Difference between revisions
Jump to navigation
Jump to search
(→Events) |
|||
Line 130: | Line 130: | ||
=Topics= | =Topics= | ||
==Timeline of everything about a topic== | |||
<SPARQL tryit="1"> | |||
#defaultView:Timeline | |||
PREFIX wb: <https://metabase.wikibase.cloud/entity/> | |||
PREFIX wbt: <https://metabase.wikibase.cloud/prop/direct/> | |||
SELECT ?item ?itemLabel ?time | |||
WHERE | |||
{ | |||
?item wbt:P15 wb:Q90 # SDC | |||
{?item wbt:P23 ?time} # point in time | |||
UNION | |||
{?item wbt:P18 ?time} # publication date | |||
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,sv". } | |||
} | |||
</SPARQL> | |||
==Topics of the sessions at the GLAM Wiki 2023 conference== | ==Topics of the sessions at the GLAM Wiki 2023 conference== | ||
<SPARQL tryit="1"> | <SPARQL tryit="1"> | ||
Line 145: | Line 160: | ||
ORDER BY DESC(?count) | ORDER BY DESC(?count) | ||
</SPARQL> | </SPARQL> | ||
=Events= | =Events= | ||
==Most common locations for WMSE events== | ==Most common locations for WMSE events== |