query-8677e25e0998b9989bf7a98a062ce27c
Propertiesinstance of (P31)subclass of (P279)
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 ?model ?modelLabel ?series ?seriesLabel WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?model wdt:P31 wd:Q10929058.
?model wdt:P279+ wd:Q2796.
?model wdt:P279 ?series.
}
ORDER BY ?seriesLabel ?modelLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?model"):::projected
v2("?modelLabel"):::projected
v4("?series"):::projected
v1("?seriesLabel"):::projected
c2(["bd:serviceParam"]):::iri
c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c8(["wd:Q2796"]):::iri
c6(["wd:Q10929058"]):::iri
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
v3 --"wdt:P31"--> c6
v3 --"wdt:P279"--> c8
v3 --"wdt:P279"--> v4