query-99ee2ca3fc13d3c8ca51723969c41831
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX v: <http://www.wikidata.org/prop/statement/>
prefix schema: <http://schema.org/>
Select ?sujet ?sujetLabel ?badgeLabel where {
?article schema:about ?sujet .
?article schema:inLanguage "ja" .
?article wikibase:badge ?badge .
minus {
?articlefr schema:about ?sujet .
?articlefr schema:inLanguage "fr" .
}
SERVICE wikibase:label {
bd:serviceParam wikibase:language "fr,ja" .
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?article")
v4("?articlefr")
v3("?badge")
v2("?sujet"):::projected
c7(["bd:serviceParam"]):::iri
c9(["fr,ja"]):::literal
c3(["ja"]):::literal
c5(["fr"]):::literal
v1 --"schema:about"--> v2
v1 --"schema:inLanguage"--> c3
v1 --"wikibase:badge"--> v3
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v4 --"schema:about"--> v2
v4 --"schema:inLanguage"--> c5
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end