query-c45318db2db64606a5a4d363a824040d
Propertiesinstance of (P31)taxon rank (P105)image (P18)
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 pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?typeLabel ?property1Label ?property2Label ?_pq2 WHERE {
?item wdt:P31 wd:Q16521 .
#?item wdt:P105 wd:Q7432 .
?property1 wikibase:claim ?p1 .
#?property1 wikibase:statementProperty ?ps1 .
#?property1 wikibase:qualifier ?pq1 .
?property1 a wikibase:Property .
#?property2 wikibase:claim ?p2 .
?property2 wikibase:qualifier ?pq2 .
?property2 a wikibase:Property .
?item wdt:P31 ?type .
?item ?p1 ?_p1 .
#?_p1 ?ps1 ?_ps1 .
?_p1 ?pq2 ?_pq2 .
?_p1 pq:P18 ?_pq2 .
SERVICE wikibase:label {bd:serviceParam wikibase:language "en".}
}
LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v7("?_p1")
v8("?_pq2"):::projected
v1("?item"):::projected
v3("?p1")
v5("?pq2")
v2("?property1")
v4("?property2")
v6("?type")
c9(["bd:serviceParam"]):::iri
c5(["wikibase:Property"]):::iri
c11(["en"]):::literal
c2(["wd:Q16521"]):::iri
v1 --"wdt:P31"--> c2
v2 --"wikibase:claim"--> v3
v2 --"a"--> c5
v4 --"wikibase:qualifier"--> v5
v4 --"a"--> c5
v1 --"wdt:P31"--> v6
v1 -->v3--> v7
v7 -->v5--> v8
v7 --"pq:P18"--> v8
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end