query-19a08a5ee92258751189b798c2bfaba7
Timeline of LGBTQ+ EventsGenerate timeline of Las Vegas LGBTQ+ Events
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:Timeline
SELECT ?item ?itemLabel ?itemDescription ?startTime ?endTime (YEAR(?pointInTime) AS ?year)
WHERE
{
{
?item wdt:P5008 wd:Q100202113 .
?item wdt:P580 ?startTime .
?item wdt:P582 ?endTime .
?item wdt:P585 ?pointInTime .
}SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}ORDER BY ASC (?year)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?endTime"):::projected
v2("?item"):::projected
v5("?pointInTime"):::projected
v3("?startTime"):::projected
v6("?year")
c7(["bd:serviceParam"]):::iri
c9(["en"]):::literal
c2(["wd:Q100202113"]):::iri
v2 --"wdt:P5008"--> c2
v2 --"wdt:P580"--> v3
v2 --"wdt:P582"--> v4
v2 --"wdt:P585"--> v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end
bind0[/"year-from-dateTime(?pointInTime)"/]
v5 --o bind0
bind0 --as--o v6