query-2889efd6f40b6321f3ff5b4f375c650e
TODO
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 DISTINCT ?event ?eventLabel ?lang ?name WHERE {
?event wdt:P31/wdt:P279* wd:Q46190676 .
MINUS { ?event wdt:P361 [] }
?sitelink schema:about ?event; schema:inLanguage ?lang; schema:name ?name; schema:isPartOf ?project .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,es". }
} ORDER BY ASC(?lang)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?event"):::projected
v1("?lang"):::projected
v4("?name"):::projected
v5("?project")
v3("?sitelink")
a2((" "))
a1((" "))
c12(["#91;AUTO_LANGUAGE#93;,en,es"]):::literal
c10(["bd:serviceParam"]):::iri
c3(["wd:Q46190676"]):::iri
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P361"--> a2
end
v3 --"schema:about"--> v2
v3 --"schema:inLanguage"--> v1
v3 --"schema:name"--> v4
v3 --"schema:isPartOf"--> v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end