Project:SPARQL/examples: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 426: Line 426:
{?item wbt:P5/wbt:P4* wb:Q48.
{?item wbt:P5/wbt:P4* wb:Q48.
MINUS {?item wbt:P17 []}
MINUS {?item wbt:P17 []}
SERVICE wikibase:label { bd:serviceParam wikibase:language "sv,en". }
}
</SPARQL>
==Presentations that are Part of something that is not an activity==
<SPARQL tryit="1">
PREFIX wb: <https://metabase.wikibase.cloud/entity/>
PREFIX wbt: <https://metabase.wikibase.cloud/prop/direct/>
SELECT ?item ?itemLabel ?partOfInstance ?partOfInstanceLabel
WHERE
{?item wbt:P5/wbt:P4* wb:Q48.
?item wbt:P17 ?partOf
MINUS {?partOf wbt:P5/wbt:P4* wb:Q8}
?partOf wbt:P5 ?partOfInstance.
SERVICE wikibase:label { bd:serviceParam wikibase:language "sv,en". }
SERVICE wikibase:label { bd:serviceParam wikibase:language "sv,en". }
}
}
</SPARQL>
</SPARQL>

Navigation menu