query-e6ea837eb68d97ee44816ac11e2ee8bc
People with Mathematics Genealogy Project ID but without doctoral advisor
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?person ?personLabel ?id ?birth WHERE {
?person wdt:P549 ?id .
?person wdt:P569 ?birth FILTER(YEAR(?birth)!=2000)
FILTER NOT EXISTS { ?person wdt:P184 ?advisor }
SERVICE wikibase:label{bd:serviceParam wikibase:language "en,de"}
} ORDER BY DESC(?birth)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?advisor")
v1("?birth"):::projected
v4("?id"):::projected
v2("?person"):::projected
c6(["bd:serviceParam"]):::iri
c8(["en,de"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P184"--> e0v2
e0v2("?advisor"):::projected
e0v1("?person"):::projected
end
f0--EXISTS--> f0e0
f0 --> v2
f0 --> c1
f0 --> v3
v2 --"wdt:P184"--> v3
f1[["year-from-dateTime(?birth) != '2000^^xsd:integer'"]]
f1 --> v1
v2 --"wdt:P549"--> v4
v2 --"wdt:P569"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end