4,316
edits
Want to learn more about Metabase, share your ideas or get help? You're welcome to the Metabase Office Hours and chat with the Wikimedia Sverige team! Friday, August 23, 9am Swedish time (convert time zone) – join in Google Meet Friday, August 23, 4pm Swedish time (convert time zone) – join in Google Meet |
Line 8: | Line 8: | ||
{ | { | ||
?item wbt:P4* wb:Q21. | ?item wbt:P4* wb:Q21. | ||
OPTIONAL {?item wbt:P1 ?wikidataQ} | |||
BIND(URI(concat("http://www.wikidata.org/entity/", ?wikidataQ)) AS ?wikidata_iri) | |||
SERVICE wikibase:label { bd:serviceParam wikibase:language "sv,en". } | |||
} | |||
</SPARQL> | |||
==All types of activities and events and their Wikidata equivalents == | |||
<SPARQL tryit="1"> | |||
PREFIX wb: <https://metabase.wikibase.cloud/entity/> | |||
PREFIX wbt: <https://metabase.wikibase.cloud/prop/direct/> | |||
SELECT ?item ?itemLabel ?wikidata_iri | |||
WHERE | |||
{ | |||
?item wbt:P4* wb:Q8. | |||
OPTIONAL {?item wbt:P1 ?wikidataQ} | OPTIONAL {?item wbt:P1 ?wikidataQ} | ||
BIND(URI(concat("http://www.wikidata.org/entity/", ?wikidataQ)) AS ?wikidata_iri) | BIND(URI(concat("http://www.wikidata.org/entity/", ?wikidataQ)) AS ?wikidata_iri) |