query-276221bc4be8449f57d0fbec1c79c271
ORCID Scraper pages for random in-scope Wikidata items with ORCID statement
SELECT DISTINCT (URI(CONCAT("https://orcid-scraper.toolforge.org/results?qid=", ENCODE_FOR_URI(REPLACE(STR(?person), ".*Q", "Q")), "&orcid=", ENCODE_FOR_URI(?orcid))) AS ?qidorcidURI) WHERE { SERVICE bd:sample { ?person wdt:P6104 wd:Q56241615 . bd:serviceParam bd:sample.limit 2000 . } ?person wdt:P496 ?orcid . } LIMIT 20
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
# ORCID Scraper pages for random in-scope Wikidata items with ORCID statement
SELECT DISTINCT
(URI(CONCAT("https://orcid-scraper.toolforge.org/results?qid=", ENCODE_FOR_URI(REPLACE(STR(?person), ".*Q", "Q")), "&orcid=", ENCODE_FOR_URI(?orcid))) AS ?qidorcidURI)
WHERE {
SERVICE bd:sample {
?person wdt:P6104 wd:Q56241615 .
bd:serviceParam bd:sample.limit 2000 .
}
?person wdt:P496 ?orcid .
}
LIMIT 20
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?orcid"):::projected
v1("?person"):::projected
v3("?qidorcidURI")
c4(["bd:serviceParam"]):::iri
c3(["wd:Q56241615"]):::iri
c6(["2000^^xsd:integer"]):::literal
subgraph s1["http://www.bigdata.com/rdf#sample"]
style s1 stroke-width:4px;
v1 --"wdt:P6104"--> c3
c4 --"bd:sample.limit"--> c6
end
v1 --"wdt:P496"--> v2
bind0[/"concat('https://orcid-scraper.toolforge.org/results?qid=',encode-for-uri(replace(str(?person),'.*Q','Q')),'&orcid=',encode-for-uri(?orcid))"/]
v1 --o bind0
v2 --o bind0
bind0 --as--o v3