query-133ecaddbaa6073385cfb793329c4e92
(Q102277702)Jerry Carl (P1157)US Congress Bio ID
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 ?state ?stateLabel ?district ?districtLabel ?repName ?party ?bioURL WHERE {
{
SELECT * WHERE {
VALUES (?state ?district ?rep ?bioid ?party) {
(wd:Q173 wd:Q4705154 "Carl, Jerry L." "C001054" "R")
(wd:Q173 wd:Q4705155 "Moore, Barry" "M001212" "R")
(wd:Q99 wd:Q864997 "Obernolte, Jay" "O000019" "R")
(wd:Q812 wd:Q5461103 "Franklin, C. Scott" "F000472" "R")
(wd:Q812 wd:Q5461122 "Salazar, Maria Elvira" "S000168" "R")
(wd:Q1428 wd:Q5547273 "Clyde, Andrew S." "C001116" "R")
(wd:Q782 wd:Q1446201 "Kahele, Kaialiʻi" "K000396" "D")
(wd:Q1558 wd:Q6364518 "Mann, Tracey" "M000871" "R")
(wd:Q1166 wd:Q6837402 "McClain, Lisa C." "M001136" "R")
}
?rep wdt:P1157 ?bioid.
}
}
BIND(URI(CONCAT("https://bioguide.congress.gov/search/bio/", ?bioid)) AS ?bioURL)
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;
v6("?bioURL"):::projected
v4("?bioid")
v2("?district"):::projected
v5("?party"):::projected
v3("?rep")
v1("?state"):::projected
c3(["bd:serviceParam"]):::iri
c5(["#91;AUTO_LANGUAGE#93;,en"]):::literal
bind0[/VALUES ?bioid ?district ?party ?rep ?state/]
bind0-->v1
bind0-->v2
bind0-->v3
bind0-->v4
bind0-->v5
bind00(["wd:Q173"])
bind00 --> bind0
bind01(["wd:Q4705154"])
bind01 --> bind0
bind02(["Carl, Jerry L."])
bind02 --> bind0
bind03(["C001054"])
bind03 --> bind0
bind04(["R"])
bind04 --> bind0
bind05(["wd:Q173"])
bind05 --> bind0
bind06(["wd:Q4705155"])
bind06 --> bind0
bind07(["Moore, Barry"])
bind07 --> bind0
bind08(["M001212"])
bind08 --> bind0
bind09(["R"])
bind09 --> bind0
bind010(["wd:Q99"])
bind010 --> bind0
bind011(["wd:Q864997"])
bind011 --> bind0
bind012(["Obernolte, Jay"])
bind012 --> bind0
bind013(["O000019"])
bind013 --> bind0
bind014(["R"])
bind014 --> bind0
bind015(["wd:Q812"])
bind015 --> bind0
bind016(["wd:Q5461103"])
bind016 --> bind0
bind017(["Franklin, C. Scott"])
bind017 --> bind0
bind018(["F000472"])
bind018 --> bind0
bind019(["R"])
bind019 --> bind0
bind020(["wd:Q812"])
bind020 --> bind0
bind021(["wd:Q5461122"])
bind021 --> bind0
bind022(["Salazar, Maria Elvira"])
bind022 --> bind0
bind023(["S000168"])
bind023 --> bind0
bind024(["R"])
bind024 --> bind0
bind025(["wd:Q1428"])
bind025 --> bind0
bind026(["wd:Q5547273"])
bind026 --> bind0
bind027(["Clyde, Andrew S."])
bind027 --> bind0
bind028(["C001116"])
bind028 --> bind0
bind029(["R"])
bind029 --> bind0
bind030(["wd:Q782"])
bind030 --> bind0
bind031(["wd:Q1446201"])
bind031 --> bind0
bind032(["Kahele, Kaialiʻi"])
bind032 --> bind0
bind033(["K000396"])
bind033 --> bind0
bind034(["D"])
bind034 --> bind0
bind035(["wd:Q1558"])
bind035 --> bind0
bind036(["wd:Q6364518"])
bind036 --> bind0
bind037(["Mann, Tracey"])
bind037 --> bind0
bind038(["M000871"])
bind038 --> bind0
bind039(["R"])
bind039 --> bind0
bind040(["wd:Q1166"])
bind040 --> bind0
bind041(["wd:Q6837402"])
bind041 --> bind0
bind042(["McClain, Lisa C."])
bind042 --> bind0
bind043(["M001136"])
bind043 --> bind0
bind044(["R"])
bind044 --> bind0
v3 --"wdt:P1157"--> v4
bind1[/"concat('https://bioguide.congress.gov/search/bio/',?bioid)"/]
v4 --o bind1
bind1 --as--o v6
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c3 --"wikibase:language"--> c5
end