query-637be65e3d8bb5e46411483fa0d1b243
Emner med kategori_for_skibsnavn, men uden ibrugtaget
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?ship ?shipLabel ?shipDescription ?kategori_for_skibsnavnLabel WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
?ship wdt:P7782 ?kategori_for_skibsnavn.
MINUS { ?ship wdt:P729 ?ibrugtaget. }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?ibrugtaget")
v2("?kategori_for_skibsnavn")
v1("?ship"):::projected
c2(["bd:serviceParam"]):::iri
c4(["en"]):::literal
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
v1 --"wdt:P7782"--> v2
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P729"--> v3
end