query-9a66f4120efbe7cb42f52593fa116f0a
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 ?sportLabel ?occLabel ?natLabel
WHERE
{
?entity wdt:P31 wd:Q5.
?entity wdt:P1814 ?value.
?entity wdt:P106 ?occ.
?entity wdt:P27 ?nat.
?entity wdt:P641 ?sport.
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
v4("?nat")
v3("?occ")
v5("?sport")
v1("?value"):::projected
c9(["bd:serviceParam"]):::iri
c3(["wd:Q5"]):::iri
c11(["en"]):::literal
f0[["contains(?value,'ア')"]]
f0 --> v1
v2 --"p:direct/P31"--> c3
v2 --"p:direct/P1814"--> v1
v2 --"p:direct/P106"--> v3
v2 --"p:direct/P27"--> v4
v2 --"p:direct/P641"--> v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end