query-8f1c00b6eac051a1bfc6528af6897e78
簡易版
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 bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel ?startDate WHERE {
VALUES ?organizationType {
wd:Q4830453
}
?item wdt:P31 ?organizationType;
wdt:P17 wd:Q17;
wdt:P571 ?startDate.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
MINUS { ?item wdt:P3225 _:b6. }
MINUS { ?item wdt:P576 _:b7. }
MINUS { ?item wdt:P31 wd:Q55097243 }
MINUS { ?item wdt:P31 wd:Q10846389 }
}
ORDER BY DESC(?startDate)
LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?item"):::projected
v2("?organizationType")
v1("?startDate"):::projected
a1((" "))
a2((" "))
c3(["wd:Q17"]):::iri
c11(["wd:Q55097243"]):::iri
c6(["bd:serviceParam"]):::iri
c8(["#91;AUTO_LANGUAGE#93;"]):::literal
c12(["wd:Q10846389"]):::iri
bind0[/VALUES ?organizationType/]
bind0-->v2
bind00(["wd:Q4830453"])
bind00 --> bind0
v3 --"wdt:P31"--> v2
v3 --"wdt:P17"--> c3
v3 --"wdt:P571"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v3 --"wdt:P3225"--> a1
end
subgraph minus2["MINUS"]
style minus2 stroke-width:6px,fill:pink,stroke:red;
v3 --"wdt:P576"--> a2
end
subgraph minus3["MINUS"]
style minus3 stroke-width:6px,fill:pink,stroke:red;
v3 --"wdt:P31"--> c11
end
subgraph minus4["MINUS"]
style minus4 stroke-width:6px,fill:pink,stroke:red;
v3 --"wdt:P31"--> c12
end