query-bca1c148241dc4051447532076ddf5ad

rq turtle/ttl

cats (items with P31: Q146) and female (P21 Q43445) SELECT ?item ?itemLabel WHERE { ?item wdt:P31 wd:Q146 . ?item wdt:P21 wd:Q43445 . SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" } }

Use at

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#>
#cats (items with P31: Q146) and female (P21 Q43445)
SELECT ?item ?itemLabel
WHERE
{
    ?item wdt:P31 wd:Q146 .
    ?item wdt:P21 wd:Q43445 .
    SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected c2(["wd:Q146"]):::iri c6(["bd:serviceParam"]):::iri c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal c4(["wd:Q43445"]):::iri v1 --"wdt:P31"--> c2 v1 --"wdt:P21"--> c4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end