query-3db2978b31311e02e873504ae90a4b61
ships without service entry
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel ?itemDescription WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "en-gb,en,mul". }
{
SELECT DISTINCT ?item WHERE {
?item p:P31 ?statement0.
?statement0 (ps:P31/(wdt:P279*)) wd:Q559026.
?item p:P495 ?statement1.
?statement1 (ps:P495/(wdt:P279*)) wd:Q145.
MINUS {
?item p:P729 ?statement_2.
?statement_2 psv:P729 ?statementValue_2.
?statementValue_2 wikibase:timeValue ?P729_2.
}
}
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?P729_2")
v1("?item"):::projected
v2("?statement0")
v3("?statement1")
v5("?statementValue_2")
v4("?statement_2")
a1((" "))
a2((" "))
c4(["en-gb,en,mul"]):::literal
c8(["wd:Q559026"]):::iri
c2(["bd:serviceParam"]):::iri
c11(["wd:Q145"]):::iri
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
v1 --"p:P31"--> v2
v2 --"p:statement/P31"--> a1
a1 --"p:direct/P279"--> c8
v1 --"p:P495"--> v3
v3 --"p:statement/P495"--> a2
a2 --"p:direct/P279"--> c11
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"p:P729"--> v4
v4 --"p:statement/value/P729"--> v5
v5 --"wikibase:timeValue"--> v6
end