query-6c6f532d6b4974b57988901517af9eb1

rq turtle/ttl

)edit conflict(

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?player ?playerLabel ?date {
    ?player wdt:P106 wd:Q10833314; wdt:P21 wd:Q6581097 .
    FILTER not exists {?player wdt:P536 ?atp_id . }
    #date things
    ?date_node wikibase:timeValue ?date .
    FILTER (year(?date) < 1950)
    ?player p:P569/psv:P569 ?date_node .
    SERVICE wikibase:label { bd:serviceParam wikibase:language "en,de,fr" . }
}
ORDER BY ASC (?player)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?atp_id") v2("?date"):::projected v4("?date_node") v1("?player"):::projected a1((" ")) c6(["wd:Q6581097"]):::iri c4(["wd:Q10833314"]):::iri c11(["bd:serviceParam"]):::iri c13(["en,de,fr"]):::literal f0[["year-from-dateTime(?date) < '1950^^xsd:integer'"]] f0 --> v2 f1[["not "]] subgraph f1e0["Exists Clause"] e0v1 --"p:direct/P536"--> e0v2 e0v2("?atp_id"):::projected e0v1("?player"):::projected end f1--EXISTS--> f1e0 f1 --> v1 f1 --> c2 f1 --> v3 v1 --"p:direct/P536"--> v3 v1 --"p:direct/P106"--> c4 v1 --"p:direct/P21"--> c6 v4 --"wikibase:timeValue"--> v2 v1 --"p:P569"--> a1 a1 --"p:statement/value/P569"--> v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c11 --"wikibase:language"--> c13 end