query-a882aa13615abaaf9163a1c853b8e8c2
C'est quasi ça :
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 bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel
WHERE
{
?item ?prop wd:Q17362920 .
OPTIONAL { ?frarticle schema:about ?item . ?frarticle schema:inLanguage "fr" }
FILTER(bound(?frarticle))
MINUS { ?item wdt:P31 wd:Q4167410 }
MINUS { ?item wdt:P31 wd:Q20010800 }
MINUS { ?item wdt:P31 wd:Q4167836 }
MINUS { ?item wdt:P31 wd:Q19842659 }
SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,en" }
}
LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?frarticle")
v2("?item"):::projected
v3("?prop")
c6(["wd:Q4167410"]):::iri
c7(["wd:Q20010800"]):::iri
c9(["wd:Q19842659"]):::iri
c4(["fr"]):::literal
c11(["bd:serviceParam"]):::iri
c13(["fr,en"]):::literal
c8(["wd:Q4167836"]):::iri
c1(["wd:Q17362920"]):::iri
f0[["bound(?frarticle)"]]
f0 --> v1
v2 -->v3--> c1
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."schema:about".-> v2
v1 --"schema:inLanguage"--> c4
end
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P31"--> c6
end
subgraph minus2["MINUS"]
style minus2 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P31"--> c7
end
subgraph minus3["MINUS"]
style minus3 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P31"--> c8
end
subgraph minus4["MINUS"]
style minus4 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P31"--> c9
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end