query-05476f8b700b4aa8bd7d24352b99dbcb
(P792)chapter
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
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 ?item ?itemLabel ?sourceLabel ?chapter WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?item p:P1343 ?st.
?st pq:P792 ?chapter.
?st ps:P1343 ?source.
FILTER (?chapter in ('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'))
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?chapter"):::projected
v2("?item"):::projected
v4("?source")
v3("?st")
c28(["bd:serviceParam"]):::iri
c30(["#91;AUTO_LANGUAGE#93;,en"]):::literal
list0c1(["A"]):::literal
list0c2(["B"]):::literal
list0c3(["C"]):::literal
list0c4(["D"]):::literal
list0c5(["E"]):::literal
list0c6(["F"]):::literal
list0c7(["G"]):::literal
list0c8(["H"]):::literal
list0c9(["I"]):::literal
list0c10(["J"]):::literal
list0c11(["K"]):::literal
list0c12(["L"]):::literal
list0c13(["M"]):::literal
list0c14(["N"]):::literal
list0c15(["O"]):::literal
list0c16(["P"]):::literal
list0c17(["Q"]):::literal
list0c18(["R"]):::literal
list0c19(["S"]):::literal
list0c20(["T"]):::literal
list0c21(["U"]):::literal
list0c22(["V"]):::literal
list0c23(["W"]):::literal
list0c24(["X"]):::literal
list0c25(["Y"]):::literal
list0c26(["Z"]):::literal
list0c1 --o f0
list0c2 --o f0
list0c3 --o f0
list0c4 --o f0
list0c5 --o f0
list0c6 --o f0
list0c7 --o f0
list0c8 --o f0
list0c9 --o f0
list0c10 --o f0
list0c11 --o f0
list0c12 --o f0
list0c13 --o f0
list0c14 --o f0
list0c15 --o f0
list0c16 --o f0
list0c17 --o f0
list0c18 --o f0
list0c19 --o f0
list0c20 --o f0
list0c21 --o f0
list0c22 --o f0
list0c23 --o f0
list0c24 --o f0
list0c25 --o f0
list0c26 --o f0
f0[[" in "]]
f0 --> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c28 --"wikibase:language"--> c30
end
v2 --"p:P1343"--> v3
v3 --"p:qualifier/P792"--> v1
v3 --"p:statement/P1343"--> v4