query-1020c08e245b499b83e88d75a693964d
Sentinel-class cutters
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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?item_en ?instance_of_en ?manufacturer_en ?operator_en ?pennant_number ?country_of_registry_en ?country ?mmsi ?service_entry ?named_after_en
WHERE {
?item wdt:P289 wd:Q6468587
OPTIONAL { ?item wdt:P176 ?manufacturer. }
OPTIONAL { ?item wdt:P137 ?operator. }
OPTIONAL { ?item wdt:P617 ?yard_number. }
OPTIONAL { ?item wdt:P31 ?instance_of. }
OPTIONAL { ?item wdt:P587 ?mmsi. }
OPTIONAL { ?item wdt:P8047 ?country_of_registry. }
OPTIONAL { ?item wdt:P17 ?country. }
OPTIONAL { ?item wdt:P879 ?pennant_number. }
OPTIONAL { ?item wdt:P138 ?named_after. }
OPTIONAL { ?item wdt:P729 ?service_entry. }
OPTIONAL { ?item wdt:P504 ?shipping_port. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en".
?item rdfs:label ?item_en .
?manufacturer rdfs:label ?manufacturer_en .
?operator rdfs:label ?operator_en .
?country_of_registry rdfs:label ?country_of_registry_en .
?named_after rdfs:label ?named_after_en .
?instance_of rdfs:label ?instance_of_en .
}
}
ORDER BY ?pennant_number
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v9("?country"):::projected
v8("?country_of_registry")
v16("?country_of_registry_en"):::projected
v6("?instance_of")
v18("?instance_of_en"):::projected
v2("?item"):::projected
v13("?item_en"):::projected
v3("?manufacturer")
v14("?manufacturer_en"):::projected
v7("?mmsi"):::projected
v10("?named_after")
v17("?named_after_en"):::projected
v4("?operator")
v15("?operator_en"):::projected
v1("?pennant_number"):::projected
v11("?service_entry"):::projected
v12("?shipping_port")
v5("?yard_number")
c17(["en"]):::literal
c15(["bd:serviceParam"]):::iri
c2(["wd:Q6468587"]):::iri
v2 --"wdt:P289"--> c2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P176".-> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P137".-> v4
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P617".-> v5
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P31".-> v6
end
subgraph optional4["(optional)"]
style optional4 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P587".-> v7
end
subgraph optional5["(optional)"]
style optional5 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P8047".-> v8
end
subgraph optional6["(optional)"]
style optional6 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P17".-> v9
end
subgraph optional7["(optional)"]
style optional7 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P879".-> v1
end
subgraph optional8["(optional)"]
style optional8 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P138".-> v10
end
subgraph optional9["(optional)"]
style optional9 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P729".-> v11
end
subgraph optional10["(optional)"]
style optional10 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P504".-> v12
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c15 --"wikibase:language"--> c17
v2 --"rdfs:label"--> v13
v3 --"rdfs:label"--> v14
v4 --"rdfs:label"--> v15
v8 --"rdfs:label"--> v16
v10 --"rdfs:label"--> v17
v6 --"rdfs:label"--> v18
end