query-7a0acd2ae5b59ff91d1fe448daac83e2
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
select ?item ?itemLabel where {
?item rdfs:label ?label .
FILTER( CONTAINS(?label, "assedio") ) .
FILTER( LANG(?label) = "it" ) .
MINUS {?item wdt:P31 ?p31 } #instance P31
SERVICE wikibase:label { bd:serviceParam wikibase:language "it" } .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?label")
v3("?p31")
c6(["bd:serviceParam"]):::iri
c1(["it"]):::literal
f0[["?label = 'it'"]]
f0 --> v1
f1[["contains(?label,'assedio')"]]
f1 --> v1
v2 --"rdfs:label"--> v1
subgraph minus2["MINUS"]
style minus2 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P31"--> v3
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c1
end