query-d8ac9d278423c350092826499297f212
All articles published in a given journal with no authors
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 ?item ?itemLabel ?year
WHERE
{
?item wdt:P1433 wd:Q15765167 .
?item wdt:P31 wd:Q13442814 .
optional { ?item wdt:P50 ?author . }
optional { ?item wdt:P2093 ?authorstring . }
filter(!bound(?author) && !bound(?authorstring) )
?item wdt:P577 ?date .
BIND(YEAR(?date) AS ?year) .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?author")
v2("?authorstring")
v4("?date")
v3("?item"):::projected
v5("?year"):::projected
c4(["wd:Q13442814"]):::iri
c9(["bd:serviceParam"]):::iri
c2(["wd:Q15765167"]):::iri
c11(["en"]):::literal
f0[["not bound(?author)not bound(?authorstring)"]]
f0 --> v1
f0 --> v2
v3 --"wdt:P1433"--> c2
v3 --"wdt:P31"--> c4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P50".-> v1
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P2093".-> v2
end
v3 --"wdt:P577"--> v4
bind1[/"year-from-dateTime(?date)"/]
v4 --o bind1
bind1 --as--o v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end