query-1c6bebe49af357645ed859d6383e00b3
sailboat class (Q106179098) items with length (P2043) of (P642) waterline length (Q1817392)
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?sailboat ?sailboatLabel ?desc ?property ?qualifierLabel
WHERE
{
?sailboat wdt:P31 wd:Q106179098 .
?sailboat wdt:P2043 ?property .
?sailboat schema:description ?desc .
?sailboat p:P2043 [ps:P2043 ?property;
pq:P642 ?qualifier;
pq:P642 wd:Q1817392;
].
FILTER ( lang(?desc) = "en" )
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
- https://www.wikidata.org/wiki/Wikidata:WikiProject_Sailing/Queries
- https://www.wikidata.org/wiki/Wikidata:WikiProject_Sailing/Queries/Lists_sailboat_class
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?desc"):::projected
v3("?property"):::projected
v4("?qualifier")
v2("?sailboat"):::projected
a1((" "))
c3(["wd:Q106179098"]):::iri
c11(["bd:serviceParam"]):::iri
c8(["wd:Q1817392"]):::iri
c13(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["?desc = 'en'"]]
f0 --> v1
v2 --"p:direct/P31"--> c3
v2 --"p:direct/P2043"--> v3
v2 --"schema:description"--> v1
a1 --"p:statement/P2043"--> v3
a1 --"p:qualifier/P642"--> v4
a1 --"p:qualifier/P642"--> c8
v2 --"p:P2043"--> a1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end