query-ceddb779790dcae3cecd70b6c1f49110
Making US general elections consistent but am open to suggestions. (P793)significant event using (Q101434824)United States senate seat (Class 1) . I propose connecting them to the respective here qualifiers. I would also like to collect elections by which Senate class is up for election as collected (P156)followed by and (P155)follows example so that the labeling is consistent. In addition I propose to connect them with (Q18356754)1790 United States elections instances on the (Q26252880)United States general election I propose to model all the
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 ?election ?electionLabel ?pred WHERE {
?election wdt:P31 wd:Q26252880.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
order by ?nounLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?election"):::projected
v1("?nounLabel")
c4(["bd:serviceParam"]):::iri
c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c2(["wd:Q26252880"]):::iri
v2 --"wdt:P31"--> c2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end