query-4e2e026c7fadecdfc6cc223462e3a4d4
Video game series that have Moby games group ID and a subreddit SELECT ?series ?seriesLabel ?mobyGroup ?subreddit ?image WHERE { ?series wdt:P31 wd:Q7058673. ?series wdt:P5360 ?mobyGroup. ?series wdt:P3984 ?subreddit. OPTIONAL {?series wdt:P18 ?image.} SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
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#>
#Video game series that have Moby games group ID and a subreddit
SELECT ?series ?seriesLabel ?mobyGroup ?subreddit ?image
WHERE
{
?series wdt:P31 wd:Q7058673.
?series wdt:P5360 ?mobyGroup.
?series wdt:P3984 ?subreddit.
OPTIONAL {?series wdt:P18 ?image.}
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;
v4("?image"):::projected
v2("?mobyGroup"):::projected
v1("?series"):::projected
v3("?subreddit"):::projected
c2(["wd:Q7058673"]):::iri
c7(["bd:serviceParam"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"wdt:P31"--> c2
v1 --"wdt:P5360"--> v2
v1 --"wdt:P3984"--> v3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P18".-> v4
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end