4,315
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 394: | Line 394: | ||
==Items used as values of Main Subject that are not Index Terms== | ==Items used as values of Main Subject that are not Index Terms== | ||
<SPARQL tryit="1"> | <SPARQL tryit="1"> | ||
#Items used as values of Main Subject that are not Index Terms | |||
PREFIX wb: <https://metabase.wikibase.cloud/entity/> | PREFIX wb: <https://metabase.wikibase.cloud/entity/> | ||
PREFIX wbt: <https://metabase.wikibase.cloud/prop/direct/> | PREFIX wbt: <https://metabase.wikibase.cloud/prop/direct/> | ||
SELECT ?subject ?subjectLabel | SELECT ?item ?itemLabel ?subject ?subjectLabel | ||
WHERE | WHERE | ||
{ | { | ||
?item | ?item wbt:P15 ?subject. | ||
MINUS {?subject | MINUS {?subject wbt:P5 wb:Q12} | ||
SERVICE wikibase:label { bd:serviceParam wikibase:language "sv,en". } | SERVICE wikibase:label { bd:serviceParam wikibase:language "sv,en". } | ||
} | } |