query-aaa3d04a2096c3fd99b22610f636cfc8
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
select ?entity ?entityLabel ?value
WHERE
{
?entity wdt:P31 wd:Q5.
?entity wdt:P1814 ?value.
filter (contains(?value,"ア")).
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }.
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?entity"):::projected
v1("?value"):::projected
c6(["bd:serviceParam"]):::iri
c3(["wd:Q5"]):::iri
c8(["en"]):::literal
f0[["contains(?value,'ア')"]]
f0 --> v1
v2 --"p:direct/P31"--> c3
v2 --"p:direct/P1814"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end