query-c8f140a7f03c266d1e92d1f2e5854721
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 ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?class ?classLabel ?classDescription ?prop ?propLabel ?propDescription #?subclass ?subclassLabel
WHERE {
{ select distinct ?prop where {
?prop p:P2302 _:s1 .
_:s1 ps:P2302 wd:Q21510851 .
_:s1 pq:P2306 ?alqual . filter(?alqual in (wd:P580, wd:P582, wd:P585, wd:P571, wd:P577))
} }
?prop p:P2302 _:s2 .
_:s2 ps:P2302 wd:Q21503250 .
_:s2 pq:P2308 ?class .
# optional { ?subclass wdt:P279 ?class . }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
ORDER BY ?class
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?alqual")
v1("?class"):::projected
v3("?prop"):::projected
a1((" "))
a2((" "))
c10(["wd:Q21503250"]):::iri
c15(["en"]):::literal
c8(["wd:Q21510851"]):::iri
c13(["bd:serviceParam"]):::iri
list0c5(["wd:P577"]):::iri
list0c3(["wd:P585"]):::iri
list0c1(["wd:P580"]):::iri
list0c2(["wd:P582"]):::iri
list0c4(["wd:P571"]):::iri
list0c1 --o f0
list0c2 --o f0
list0c3 --o f0
list0c4 --o f0
list0c5 --o f0
f0[[" in "]]
f0 --> v2
v3 --"p:P2302"--> a1
a1 --"p:statement/P2302"--> c8
a1 --"p:qualifier/P2306"--> v2
v3 --"p:P2302"--> a2
a2 --"p:statement/P2302"--> c10
a2 --"p:qualifier/P2308"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c13 --"wikibase:language"--> c15
end