query-9ee33462cd8ae0ac0bc465fffdb55d46
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?person ?personLabel ?article_en ?badge_enLabel ?article_fr ?badge_frLabel ?article_it ?badge_itLabel ?article_de ?badge_deLabel WHERE {
values ?person {wd:Q7186 wd:Q232423 wd:Q236038 wd:Q266086 wd:Q269338 wd:Q4110933}.
optional { ?wen schema:about ?person . ?wen schema:name ?article_en . ?wen schema:isPartOf <https://en.wikipedia.org/> . optional {?wen wikibase:badge ?badge_en .} }
optional { ?wfr schema:about ?person . ?wfr schema:name ?article_fr . ?wfr schema:isPartOf <https://fr.wikipedia.org/> . optional {?wfr wikibase:badge ?badge_fr .} }
optional { ?wit schema:about ?person . ?wit schema:name ?article_it . ?wit schema:isPartOf <https://it.wikipedia.org/> . optional {?wit wikibase:badge ?badge_it .} }
optional { ?wde schema:about ?person . ?wde schema:name ?article_de . ?wde schema:isPartOf <https://de.wikipedia.org/> . optional {?wde wikibase:badge ?badge_de .} }
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;
v12("?article_de"):::projected
v3("?article_en"):::projected
v6("?article_fr"):::projected
v9("?article_it"):::projected
v13("?badge_de")
v4("?badge_en")
v7("?badge_fr")
v10("?badge_it")
v1("?person"):::projected
v11("?wde")
v2("?wen")
v5("?wfr")
v8("?wit")
c8([https://de.wikipedia.org/]):::iri
c4([https://en.wikipedia.org/]):::iri
c10(["bd:serviceParam"]):::iri
c6([https://fr.wikipedia.org/]):::iri
c12(["en"]):::literal
c7([https://it.wikipedia.org/]):::iri
bind0[/VALUES ?person/]
bind0-->v1
bind00(["wd:Q7186"])
bind00 --> bind0
bind01(["wd:Q232423"])
bind01 --> bind0
bind02(["wd:Q236038"])
bind02 --> bind0
bind03(["wd:Q266086"])
bind03 --> bind0
bind04(["wd:Q269338"])
bind04 --> bind0
bind05(["wd:Q4110933"])
bind05 --> bind0
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."schema:about".-> v1
v2 --"schema:name"--> v3
v2 --"schema:isPartOf"--> c4
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wikibase:badge".-> v4
end
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v5 -."schema:about".-> v1
v5 --"schema:name"--> v6
v5 --"schema:isPartOf"--> c6
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v5 -."wikibase:badge".-> v7
end
end
subgraph optional4["(optional)"]
style optional4 fill:#bbf,stroke-dasharray: 5 5;
v8 -."schema:about".-> v1
v8 --"schema:name"--> v9
v8 --"schema:isPartOf"--> c7
subgraph optional5["(optional)"]
style optional5 fill:#bbf,stroke-dasharray: 5 5;
v8 -."wikibase:badge".-> v10
end
end
subgraph optional6["(optional)"]
style optional6 fill:#bbf,stroke-dasharray: 5 5;
v11 -."schema:about".-> v1
v11 --"schema:name"--> v12
v11 --"schema:isPartOf"--> c8
subgraph optional7["(optional)"]
style optional7 fill:#bbf,stroke-dasharray: 5 5;
v11 -."wikibase:badge".-> v13
end
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end