query-b1984cb6f69345b63e0a46dafab02123
Evergreen A-class container ships
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 schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT * {
{
SELECT * {
?item wdt:P289 wd:Q107241737 .
OPTIONAL { ?item wdt:P617 ?yard_number . }
OPTIONAL { ?item wdt:P176 ?manufacturer . }
OPTIONAL { ?item wdt:P8047 ?country_of_registry . }
OPTIONAL { ?item wdt:P729 ?service_entry . }
} LIMIT 100
}
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en,en,de,fr,ja,es,ru,pt,it,zh,fa,ar,pl,nl,uk,tr,id,he,cs,sv,hu,fi,vi,ko,el,hi,bn,no,ca,ro,th,da,sr,bg,az,ms,et,uz,hr,sk,eu,hy,sl,lt,eo,ta,kk,lv,be,kn,sq,ur,mk" .
?item rdfs:label ?label . ?item schema:description ?description . ?manufacturer rdfs:label ?manufacturer_name . ?country_of_registry rdfs:label ?country_name
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v9("?country_name"):::projected
v4("?country_of_registry"):::projected
v7("?description"):::projected
v1("?item"):::projected
v6("?label"):::projected
v3("?manufacturer"):::projected
v8("?manufacturer_name"):::projected
v5("?service_entry"):::projected
v2("?yard_number"):::projected
c8(["bd:serviceParam"]):::iri
c10(["en,en,de,fr,ja,es,ru,pt,it,zh,fa,ar,pl,nl,uk,tr,id,he,cs,sv,hu,fi,vi,ko,el,hi,bn,no,ca,ro,th,da,sr,bg,az,ms,et,uz,hr,sk,eu,hy,sl,lt,eo,ta,kk,lv,be,kn,sq,ur,mk"]):::literal
c2(["wd:Q107241737"]):::iri
v1 --"wdt:P289"--> c2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P617".-> v2
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P176".-> v3
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P8047".-> v4
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P729".-> v5
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
v1 --"rdfs:label"--> v6
v1 --"schema:description"--> v7
v3 --"rdfs:label"--> v8
v4 --"rdfs:label"--> v9
end