Project:SPARQL/examples: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
 
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/>
Line 402: Line 401:
{
{
?item wbt:P15 ?subject.
?item wbt:P15 ?subject.
MINUS {?subject wbt:P5 wb:Q12}
FILTER NOT EXISTS {?subject wbt:P5 wb:Q12}
SERVICE wikibase:label { bd:serviceParam wikibase:language "sv,en". }
SERVICE wikibase:label { bd:serviceParam wikibase:language "sv,en". }
}
}

Navigation menu