query-6ec66e52a1172a8fba71f7a056b5f331
Scientific paper with altmetric SELECT ?item ?itemLabel ?altMetric WHERE { # Scientific paper ?item wdt:P31 wd:Q13442814. ?item wdt:P5530 ?altMetric .
# That doesn't have a a DOI FILTER NOT EXISTS { ?item wdt:P356 ?DOI }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
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#>
# Scientific paper with altmetric
SELECT ?item ?itemLabel ?altMetric WHERE {
# Scientific paper
?item wdt:P31 wd:Q13442814.
?item wdt:P5530 ?altMetric .
# That doesn't have a a DOI
FILTER NOT EXISTS { ?item wdt:P356 ?DOI }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
- https://www.wikidata.org/wiki/Property_talk:P5530
- https://www.wikidata.org/wiki/User:Dirac/Altmetric
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?DOI")
v3("?altMetric"):::projected
v1("?item"):::projected
c3(["wd:Q13442814"]):::iri
c6(["bd:serviceParam"]):::iri
c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P356"--> e0v2
e0v2("?DOI"):::projected
e0v1("?item"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
v1 --"wdt:P356"--> v2
v1 --"wdt:P31"--> c3
v1 --"wdt:P5530"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end