query-f697ec0c6766d977a5242e5ea8444f60
).contribs • talk (Dirac comment was added byunsignedThe preceding – Voici la requête répondant strictement à ta question :
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 bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel WHERE
{
{ ?item wdt:P31 wd:Q190107 } UNION { ?item wdt:P31 wd:Q846837 } .
?item wdt:P17 wd:Q16 .
SERVICE wikibase:label { bd:serviceParam wikibase:language "fr". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
c5(["wd:Q16"]):::iri
c2(["wd:Q190107"]):::iri
c7(["bd:serviceParam"]):::iri
c3(["wd:Q846837"]):::iri
c9(["fr"]):::literal
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
v1 --"wdt:P31"--> c3
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v1 --"wdt:P31"--> c2
end
union0r <== or ==> union0l
end
v1 --"wdt:P17"--> c5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end