query-eceb7817f455eea031752912f00164d7
vid games bnf steam and all other exids
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 bd: <http://www.bigdata.com/rdf#>
#defaultView:Graph
SELECT DISTINCT ?item ?itemLabel ?bnfID ?steam ?propItem ?propItemLabel ("00FFFF" AS ?rgb)
WHERE
{
?item wdt:P31/wdt:P279* wd:Q7397.
?item wdt:P268 ?bnfID.
?item wdt:P1733 ?steam.
?item ?prop ?value.
?propItem wikibase:directClaim ?prop ;
wikibase:propertyType wikibase:ExternalId .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?bnfID"):::projected
v1("?item"):::projected
v4("?prop")
v6("?propItem"):::projected
v7("?rgb")
v3("?steam"):::projected
v5("?value")
a1((" "))
c3(["wd:Q7397"]):::iri
c10(["bd:serviceParam"]):::iri
c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c8(["wikibase:ExternalId"]):::iri
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
v1 --"wdt:P268"--> v2
v1 --"wdt:P1733"--> v3
v1 -->v4--> v5
v6 --"wikibase:directClaim"--> v4
v6 --"wikibase:propertyType"--> c8
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end
bind0[/"'00FFFF'"/]
bind0 --as--o v7