Project:SPARQL/examples: Difference between revisions
Jump to navigation
Jump to search
Line 309: | Line 309: | ||
</SPARQL> | </SPARQL> | ||
==Events without indication whether they're online, in-person or hybrid== | ==Events (excluding campaigns) without indication whether they're online, in-person or hybrid== | ||
<SPARQL tryit="1"> | <SPARQL tryit="1"> | ||
PREFIX wb: <https://metabase.wikibase.cloud/entity/> | PREFIX wb: <https://metabase.wikibase.cloud/entity/> | ||
Line 317: | Line 317: | ||
WHERE | WHERE | ||
{ | { | ||
?item wbt:P5/wbt:P4* wb:Q40 . | ?item wbt:P5/wbt:P4* wb:Q40 . # is an event | ||
MINUS {?item wbt:P5 wb:Q81} | MINUS {?item wbt:P5 wb:Q81} # is not an online event | ||
MINUS {?item wbt:P5 wb:Q80} | MINUS {?item wbt:P5 wb:Q80} # is not an in-person event | ||
MINUS {?item wbt:P5 wb:Q79} | MINUS {?item wbt:P5 wb:Q79} # is not a hybrid event | ||
MINUS {?item wbt:P5 wb:Q22217} # is not a campaign | |||
SERVICE wikibase:label { bd:serviceParam wikibase:language "sv,en". } | SERVICE wikibase:label { bd:serviceParam wikibase:language "sv,en". } | ||
} | } |