query-04d82bdd9b26c5c561dad038a29007c7
Propertiesuses (P2283)instance of (P31)sport (P641)point in time (P585)participant (P710)number of points/goals/set scored (P1351)
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?skater ?skaterLabel ?score ?natureLabel ?competitionLabel ?sportLabel ?date
WHERE {
?competition wdt:P2283 wd:Q57614485 ;
wdt:P31 ?nature ;
p:P710 ?statement .
?statement ps:P710 ?skater ;
pq:P1351 ?score ;
pq:P31 wd:Q688615 .
OPTIONAL { ?competition wdt:P641 ?sport .}
OPTIONAL { ?competition wdt:P585 ?date .}
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?competition")
v7("?date"):::projected
v2("?nature")
v5("?score"):::projected
v4("?skater"):::projected
v6("?sport")
v3("?statement")
c2(["wd:Q57614485"]):::iri
c8(["wd:Q688615"]):::iri
c14(["en"]):::literal
c12(["bd:serviceParam"]):::iri
v1 --"p:direct/P2283"--> c2
v1 --"p:direct/P31"--> v2
v1 --"p:P710"--> v3
v3 --"p:statement/P710"--> v4
v3 --"p:qualifier/P1351"--> v5
v3 --"p:qualifier/P31"--> c8
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."p:direct/P641".-> v6
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."p:direct/P585".-> v7
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c12 --"wikibase:language"--> c14
end