query-a337228a0394d59b0d8625aa33d7a425
Incomplete database reference
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 prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?valueLabel WHERE {
?item p:P106/ps:P106/wdt:P279* wd:Q26270618 . # limited to rowing persons
?item ?property ?statement .
?statement prov:wasDerivedFrom ?source .
?source pr:P248 wd:Q21008628 . # stated in Q21008628 World Rowing Database or Q18002875 Sports-Reference.com
MINUS { ?source pr:P813 ?title . } # but P813 retrieval date is missing; P1476 title; P1447/P2091 ID; P407 language
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("?item"):::projected
v2("?property")
v4("?source")
v3("?statement")
v5("?title")
a1((" "))
a2((" "))
c10(["bd:serviceParam"]):::iri
c4(["wd:Q26270618"]):::iri
c12(["en"]):::literal
c7(["wd:Q21008628"]):::iri
v1 --"p:P106"--> a1
a1 --"p:statement/P106"--> a2
a2 --"p:direct/P279"--> c4
v1 -->v2--> v3
v3 --"prov:wasDerivedFrom"--> v4
v4 --"p:reference/P248"--> c7
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v4 --"p:reference/P813"--> v5
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end