query-50a09039bc2ae285ccaa3a55948afdb3

rq turtle/ttl

People of the Las Vegas LGBTQ+ Community

Use at

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 ?dob ?place_obLabel ?dod ?place_odLabel ?itemDescription ?occupation ?occupationLabel ("CF0A2C" as ?rgb) ?educatedAt ?educatedAtLabel
{
 ?item wdt:P5008 wd:Q100202113 ; wdt:P31 wd:Q5 ; wdt:P361 wd:Q120442536 .
 OPTIONAL { ?item  wdt:P106 ?occupation } .
 OPTIONAL { ?item  wdt:P569 ?dob } .
 OPTIONAL { ?item  wdt:P19 ?place_ob } .
 OPTIONAL { ?item  wdt:P570 ?dod } .
 OPTIONAL { ?item  wdt:P20 ?place_od } . 
 OPTIONAL { ?item  wdt:P69 ?educatedAt } .  
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}ORDER BY ASC (?itemLabel)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?dob"):::projected v6("?dod"):::projected v8("?educatedAt"):::projected v2("?item"):::projected v1("?itemLabel"):::projected v3("?occupation"):::projected v5("?place_ob") v7("?place_od") v9("?rgb") c6(["wd:Q120442536"]):::iri c16(["en"]):::literal c2(["wd:Q100202113"]):::iri c14(["bd:serviceParam"]):::iri c4(["wd:Q5"]):::iri v2 --"wdt:P5008"--> c2 v2 --"wdt:P31"--> c4 v2 --"wdt:P361"--> c6 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P106".-> v3 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P569".-> v4 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P19".-> v5 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P570".-> v6 end subgraph optional4["(optional)"] style optional4 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P20".-> v7 end subgraph optional5["(optional)"] style optional5 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P69".-> v8 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c14 --"wikibase:language"--> c16 end bind0[/"'CF0A2C'"/] bind0 --as--o v9