query-3223a7d0bff6b29957dd4b2d00f96e14
Avec filtre sur une description
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 schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?human ?humanLabel ?humandesc
WHERE
{
?human wdt:P31 wd:Q15632617;
rdfs:label ?label.
SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,en". }
?human schema:description ?humandesc.
FILTER(LANG(?label) = "en").
FILTER(CONTAINS(?humandesc, "character")).
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?human"):::projected
v1("?humandesc"):::projected
v2("?label")
c7(["bd:serviceParam"]):::iri
c9(["fr,en"]):::literal
c4(["wd:Q15632617"]):::iri
f0[["contains(?humandesc,'character')"]]
f0 --> v1
f1[["?label = 'en'"]]
f1 --> v2
v3 --"wdt:P31"--> c4
v3 --"rdfs:label"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end
v3 --"schema:description"--> v1