query-c72c3458b2c185ff5663ab1ca4f7770f
nach Items mit DOI Abfrage
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?description ?count WHERE {
{
{
SELECT (COUNT(*) AS ?count) WHERE { [] wdt:P356 []. }
} BIND("Items with a DOI" AS ?description)
}
UNION
{
{
SELECT (COUNT(*) AS ?count) WHERE { [] wdt:P4109 []. }
} BIND("Items with an URN" AS ?description)
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?count"):::projected
v3("?description"):::projected
a1((" "))
a2((" "))
a3((" "))
a4((" "))
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
a3 --"wdt:P4109"--> a4
bind1[/"count(*)"/]
bind1 --as--o v3
bind2[/"'Items with an URN'"/]
bind2 --as--o v3
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
a1 --"wdt:P356"--> a2
bind4[/"count(*)"/]
bind4 --as--o v3
bind5[/"'Items with a DOI'"/]
bind5 --as--o v3
end
union0r <== or ==> union0l
end