query-c74d66de60e80334e392682201e29ee4
Bean49Bot 2) logs • contribs • talk (Bean49 Operator: )xtools • User rights • User rights log • Block log • SUL • new lexemes • new items • contribs • talk (Bean49Bot Adding statements to plwikisource items with no statements. Task/s: Code: Function details: with no statements. (Q7667418)Słownik etymologiczny języka polskiego to plwikisource subpages of (P1476)title , (P1433)published in , (P31)instance of task. I add WD:RBOT#request to add "published in" (P1433) to subpages of plwikisource (2021-12-02)Taking ]reply[19:40, 5 January 2023 (UTC)) talk (Bean49. --Special:Diff/1811427725Sample edit:
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX schema: <http://schema.org/>
SELECT ?item ?title WHERE {
?item wikibase:statements 0 .
_:b2 schema:about ?item;
schema:isPartOf <https://pl.wikisource.org/>;
schema:name ?n.
FILTER(STRSTARTS(?n, "Słownik etymologiczny języka polskiego/"))
BIND(STRAFTER(?n, "/") AS ?title)
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?n")
v3("?title"):::projected
a1((" "))
c3(["0^^xsd:integer"]):::literal
c6([https://pl.wikisource.org/]):::iri
f0[["starts-with(?n,'Słownik etymologiczny języka polskiego/')"]]
f0 --> v1
v2 --"wikibase:statements"--> c3
a1 --"schema:about"--> v2
a1 --"schema:isPartOf"--> c6
a1 --"schema:name"--> v1
bind1[/"substring-after(?n,'/')"/]
v1 --o bind1
bind1 --as--o v3