query-7a6a30fa8139faa76accd77b4e2896f4
TODO
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#>
SELECT ?item ?itemLabel (group_concat(distinct ?platform;separator=", ") as ?platforms) (group_concat(distinct ?genre;separator=", ") as ?genres) WHERE
{
{
SELECT ?item WHERE
{
?item wdt:P31 wd:Q7889 .
} LIMIT 10 } ?item wdt:P400 ?platform.
?item wdt:P136 ?genre.
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,en". }
} group by ?item ?itemLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?genre"):::projected
v5("?genres")
v1("?item"):::projected
v2("?platform"):::projected
v4("?platforms")
c6(["bd:serviceParam"]):::iri
c2(["wd:Q7889"]):::iri
c8(["en,en"]):::literal
v1 --"wdt:P31"--> c2
v1 --"wdt:P400"--> v2
v1 --"wdt:P136"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end
bind2[/"?platform"/]
v2 --o bind2
bind2 --as--o v4
bind3[/"?genre"/]
v3 --o bind3
bind3 --as--o v5