query-e6b48efc866916a09a078762c8ad6990
People with Mathematics Genealogy Project IDs, enwiki pages, and a familiar description pattern
Currently zero as of 21 Feb 2022.
SELECT DISTINCT ?item ?itemLabel ?d { ?item wdt:P549 ?id; schema:description ?d . FILTER( lang(?d) = "en" && strstarts(?d, "Ph.D.") ) FILTER EXISTS { [] schema:about ?item ; schema:isPartOf https://en.wikipedia.org/ } 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 schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
# People with Mathematics Genealogy Project IDs, enwiki pages, and a familiar description pattern
# Currently zero as of 21 Feb 2022.
SELECT DISTINCT ?item ?itemLabel ?d
{
?item wdt:P549 ?id; schema:description ?d .
FILTER( lang(?d) = "en" && strstarts(?d, "Ph.D.") )
FILTER EXISTS { [] schema:about ?item ; schema:isPartOf <https://en.wikipedia.org/> }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?d"):::projected
v3("?id")
v1("?item"):::projected
a1((" "))
c3([https://en.wikipedia.org/]):::iri
c9(["bd:serviceParam"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[[" "]]
subgraph f0e0["Exists Clause"]
e0a1 --"schema:about"--> e0v1
e0a1 --"schema:isPartOf"--> e0c3
e0v1("?item"):::projected
e0a1((" ")):::projected
e0c3([https://en.wikipedia.org/]):::iri
end
f0--EXISTS--> f0e0
f0 --> a1
f0 --> c1
f0 --> v1
f0 --> c2
f0 --> c3
a1 --"schema:about"--> v1
a1 --"schema:isPartOf"--> c3
f1[["?d = 'en'starts-with(?d,'Ph.D.')"]]
f1 --> v2
v1 --"wdt:P549"--> v3
v1 --"schema:description"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end