query-db85c9ab03f29c64699c8c8164df4208
Get all release dates, platforms, genres, etc. for a video game in one query): (Q193581)Half-Life 2 ) for the game Half-Life 2 ((P400)platform What I'm trying to do is create a query that can be used to get more than one property at a time. For example this query gets the platforms (
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 ?value ?valueLabel WHERE {
wd:Q193581 wdt:P400 ?value .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,en". }
}
LIMIT 10
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?value"):::projected
c4(["bd:serviceParam"]):::iri
c1(["wd:Q193581"]):::iri
c6(["en,en"]):::literal
c1 --"wdt:P400"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end