query-a82a8be7afcfd3fb61496d691fa66948
Propertiesposition played on team / speciality (P413)member of sports team (P54)date of birth (P569)
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT DISTINCT ?shortstop ?shortstopLabel ?birthdate ?teamLabel ?evidence
WHERE
{
?evidence schema:about ?shortstop.
?shortstop wdt:P413 wd:Q1143358; # shortstop
wdt:P54 ?team;
wdt:P569 ?birthdate.
FILTER regex(STR(?evidence), 'https://en.wikipedia.org/wiki/')
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
ORDER BY ?teamLabel ?shortstopLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?birthdate"):::projected
v3("?evidence"):::projected
v4("?shortstop"):::projected
v2("?shortstopLabel"):::projected
v5("?team")
v1("?teamLabel"):::projected
c8(["bd:serviceParam"]):::iri
c4(["wd:Q1143358"]):::iri
c10(["en"]):::literal
f0[["regex(str(?evidence),'https://en.wikipedia.org/wiki/')"]]
f0 --> v3
v3 --"schema:about"--> v4
v4 --"wdt:P413"--> c4
v4 --"wdt:P54"--> v5
v4 --"wdt:P569"--> v6
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end