query-930bbf47c57136d6277f89ad9ab32598
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?ist_ein_e_Label WHERE {
VALUES ?sitelink {
"Michael Jackson"@de
}
?article schema:about ?item;
schema:isPartOf <https://de.wikipedia.org/>;
schema:name ?sitelink.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],de,en". }
OPTIONAL { ?item wdt:P31 ?ist_ein_e_. }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?article")
v4("?ist_ein_e_")
v3("?item"):::projected
v1("?sitelink")
c3([https://de.wikipedia.org/]):::iri
c6(["bd:serviceParam"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,de,en"]):::literal
bind0[/VALUES ?sitelink/]
bind0-->v1
bind00([sMichael Jackson^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#langString>"])
bind00 --> bind0
v2 --"schema:about"--> v3
v2 --"schema:isPartOf"--> c3
v2 --"schema:name"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P31".-> v4
end