query-257c26f0001243d4464dc7c6a27a002f
Ships of the Line
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 bd: <http://www.bigdata.com/rdf#>
SELECT ?ship ?shipLabel
{
# instance of ship of the line Q207452
?ship wdt:P31/wdt:P279* wd:Q207452 .
# operator GB
?ship wdt:P137 wd:Q172771 .
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en" .
}
} ORDER BY ?shipLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?ship"):::projected
v1("?shipLabel"):::projected
a1((" "))
c3(["wd:Q207452"]):::iri
c7(["bd:serviceParam"]):::iri
c9(["en"]):::literal
c5(["wd:Q172771"]):::iri
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
v2 --"wdt:P137"--> c5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end