query-e4968ea2524966818c22e1ad0e1757ed

rq turtle/ttl

PMID batch SELECT DISTINCT ?pmid ?item WHERE { values ?pmid { "25999226" "21413339" "26856777" "24785207" "25999227" "17579230" "19930447" "6516450" "27161773" "21127770" "18452801" "21903253" "18452688" "27523487" "25102120" "2668764" "16050454" "2913036" "24449537" "24449537" "12428915" "26028977" "17445735" "21865190" "27330093" "28754599" "21485369" "18498556" "30395919" "9580423" "1404260" "24352572" "24352572" "23571115" "27028911" "29110887" "25999223" "12729423" "22523260" "9233865" "12160168" "4058212" "10194080" "11133377" "27598389" "19008966" "2582486" "18787920" "25451629" "15421023" "6516454" "7043737" "23133445" "15621562" "10404913" "1874654" "17160603" "17688693" "15528699" "18830214" "7501150" "1978873" "9169184" "16893489" "16929760" "7943444" "12928508" "19076824" "7714202" "7865624" "10378140" "18452800" "10188012" "17210530" "17656156" "16892633" "9007597" "19346313" "17029130" "3357244" "9010017" "7580195" "2349186" "2699499" "17579234" "15752182" "19926325" "11454371" "3056203" "10946521" "15702720" "3170711" "2342543" "989847" "18452807" "17172372" "15358567" "16119758" "16216650" "9647853" "2880076" "17568368" "17401487" "12525705" "18452806" "13190934" "9761770" "2682960" "16937637" "12061448" "19506281" "15238283" "17914043" "12905137" "14987414" "12543291" "15117014" "15085185" "11450660" "15709249" "16995383" "17041141" "16807416" "17509489" "16698304" "17404293" "17600717" "18140373" "11438915" "18452799" "18452805" "12938230" "18452802" "11929056" "19562015" "1531156" "18454594" "16020686" "23319969" "15623946" "18650352" "18452798" "23091571" "16819127" "9452402" "17130658" "9215633" "16820453" "3585913" "17417956" "18097481" "17326941" "17427701" "17522387" "5497158" "17626342" "10610642" "15695691" "10665700" "8272083" "21414082" "20207198" "7648832" "20933139" "836338" "21794218" "6407378" "2563850" "8037992" "8933327" "15311475" "11257352" "14756409" "15214872" "16452935" "25664127" "8862103" "17176487" "12118171" "18532885" "16142659" "16288417" "16338759" "22257866" "16909797" "16876371" "16452949" "22962880" "16524782" "18258006" "8284588" }. OPTIONAL {?item wdt:P698 ?pmid}.
}

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
#PMID batch
SELECT DISTINCT ?pmid ?item
WHERE 
{
  values ?pmid { "25999226" "21413339" "26856777" "24785207" "25999227" 
                 "17579230" "19930447" "6516450" "27161773" "21127770" 
                 "18452801" "21903253" "18452688" "27523487" "25102120" 
                 "2668764" "16050454" "2913036" "24449537" "24449537" 
                 "12428915" "26028977" "17445735" "21865190" "27330093" 
                 "28754599" "21485369" "18498556" "30395919" "9580423" 
                 "1404260" "24352572" "24352572" "23571115" "27028911" 
                 "29110887" "25999223" "12729423" "22523260" "9233865" 
                 "12160168" "4058212" "10194080" "11133377" "27598389" 
                 "19008966" "2582486" "18787920" "25451629" "15421023" 
                 "6516454" "7043737" "23133445" "15621562" "10404913" 
                 "1874654" "17160603" "17688693" "15528699" "18830214" 
                 "7501150" "1978873" "9169184" "16893489" "16929760" 
                 "7943444" "12928508" "19076824" "7714202" "7865624" 
                 "10378140" "18452800" "10188012" "17210530" "17656156" 
                 "16892633" "9007597" "19346313" "17029130" "3357244"
                 "9010017" "7580195" "2349186" "2699499" "17579234" 
                 "15752182" "19926325" "11454371" "3056203" "10946521"
                 "15702720" "3170711" "2342543" "989847" "18452807"
                 "17172372" "15358567" "16119758" "16216650" "9647853"
                 "2880076" "17568368" "17401487" "12525705" "18452806"
                 "13190934" "9761770" "2682960" "16937637" "12061448" 
                 "19506281" "15238283" "17914043" "12905137" "14987414" 
                 "12543291" "15117014" "15085185" "11450660" "15709249" 
                 "16995383" "17041141" "16807416" "17509489" "16698304" 
                 "17404293" "17600717" "18140373" "11438915" "18452799" 
                 "18452805" "12938230" "18452802" "11929056" "19562015"
                 "1531156" "18454594" "16020686" "23319969" "15623946" 
                 "18650352" "18452798" "23091571" "16819127" "9452402"
                 "17130658" "9215633" "16820453" "3585913" "17417956"
                 "18097481" "17326941" "17427701" "17522387" "5497158"
                 "17626342" "10610642" "15695691" "10665700" "8272083"
                 "21414082" "20207198" "7648832" "20933139" "836338"
                 "21794218" "6407378" "2563850" "8037992" "8933327"
                 "15311475" "11257352" "14756409" "15214872" "16452935"
                 "25664127" "8862103" "17176487" "12118171" "18532885"
                 "16142659" "16288417" "16338759" "22257866" "16909797"
                 "16876371" "16452949" "22962880" "16524782" "18258006"
                 "8284588"
               }.
  OPTIONAL {?item wdt:P698 ?pmid}.  
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?item"):::projected v1("?pmid"):::projected bind0[/VALUES ?pmid/] bind0-->v1 bind00(["25999226"]) bind00 --> bind0 bind01(["21413339"]) bind01 --> bind0 bind02(["26856777"]) bind02 --> bind0 bind03(["24785207"]) bind03 --> bind0 bind04(["25999227"]) bind04 --> bind0 bind05(["17579230"]) bind05 --> bind0 bind06(["19930447"]) bind06 --> bind0 bind07(["6516450"]) bind07 --> bind0 bind08(["27161773"]) bind08 --> bind0 bind09(["21127770"]) bind09 --> bind0 bind010(["18452801"]) bind010 --> bind0 bind011(["21903253"]) bind011 --> bind0 bind012(["18452688"]) bind012 --> bind0 bind013(["27523487"]) bind013 --> bind0 bind014(["25102120"]) bind014 --> bind0 bind015(["2668764"]) bind015 --> bind0 bind016(["16050454"]) bind016 --> bind0 bind017(["2913036"]) bind017 --> bind0 bind018(["24449537"]) bind018 --> bind0 bind019(["24449537"]) bind019 --> bind0 bind020(["12428915"]) bind020 --> bind0 bind021(["26028977"]) bind021 --> bind0 bind022(["17445735"]) bind022 --> bind0 bind023(["21865190"]) bind023 --> bind0 bind024(["27330093"]) bind024 --> bind0 bind025(["28754599"]) bind025 --> bind0 bind026(["21485369"]) bind026 --> bind0 bind027(["18498556"]) bind027 --> bind0 bind028(["30395919"]) bind028 --> bind0 bind029(["9580423"]) bind029 --> bind0 bind030(["1404260"]) bind030 --> bind0 bind031(["24352572"]) bind031 --> bind0 bind032(["24352572"]) bind032 --> bind0 bind033(["23571115"]) bind033 --> bind0 bind034(["27028911"]) bind034 --> bind0 bind035(["29110887"]) bind035 --> bind0 bind036(["25999223"]) bind036 --> bind0 bind037(["12729423"]) bind037 --> bind0 bind038(["22523260"]) bind038 --> bind0 bind039(["9233865"]) bind039 --> bind0 bind040(["12160168"]) bind040 --> bind0 bind041(["4058212"]) bind041 --> bind0 bind042(["10194080"]) bind042 --> bind0 bind043(["11133377"]) bind043 --> bind0 bind044(["27598389"]) bind044 --> bind0 bind045(["19008966"]) bind045 --> bind0 bind046(["2582486"]) bind046 --> bind0 bind047(["18787920"]) bind047 --> bind0 bind048(["25451629"]) bind048 --> bind0 bind049(["15421023"]) bind049 --> bind0 bind050(["6516454"]) bind050 --> bind0 bind051(["7043737"]) bind051 --> bind0 bind052(["23133445"]) bind052 --> bind0 bind053(["15621562"]) bind053 --> bind0 bind054(["10404913"]) bind054 --> bind0 bind055(["1874654"]) bind055 --> bind0 bind056(["17160603"]) bind056 --> bind0 bind057(["17688693"]) bind057 --> bind0 bind058(["15528699"]) bind058 --> bind0 bind059(["18830214"]) bind059 --> bind0 bind060(["7501150"]) bind060 --> bind0 bind061(["1978873"]) bind061 --> bind0 bind062(["9169184"]) bind062 --> bind0 bind063(["16893489"]) bind063 --> bind0 bind064(["16929760"]) bind064 --> bind0 bind065(["7943444"]) bind065 --> bind0 bind066(["12928508"]) bind066 --> bind0 bind067(["19076824"]) bind067 --> bind0 bind068(["7714202"]) bind068 --> bind0 bind069(["7865624"]) bind069 --> bind0 bind070(["10378140"]) bind070 --> bind0 bind071(["18452800"]) bind071 --> bind0 bind072(["10188012"]) bind072 --> bind0 bind073(["17210530"]) bind073 --> bind0 bind074(["17656156"]) bind074 --> bind0 bind075(["16892633"]) bind075 --> bind0 bind076(["9007597"]) bind076 --> bind0 bind077(["19346313"]) bind077 --> bind0 bind078(["17029130"]) bind078 --> bind0 bind079(["3357244"]) bind079 --> bind0 bind080(["9010017"]) bind080 --> bind0 bind081(["7580195"]) bind081 --> bind0 bind082(["2349186"]) bind082 --> bind0 bind083(["2699499"]) bind083 --> bind0 bind084(["17579234"]) bind084 --> bind0 bind085(["15752182"]) bind085 --> bind0 bind086(["19926325"]) bind086 --> bind0 bind087(["11454371"]) bind087 --> bind0 bind088(["3056203"]) bind088 --> bind0 bind089(["10946521"]) bind089 --> bind0 bind090(["15702720"]) bind090 --> bind0 bind091(["3170711"]) bind091 --> bind0 bind092(["2342543"]) bind092 --> bind0 bind093(["989847"]) bind093 --> bind0 bind094(["18452807"]) bind094 --> bind0 bind095(["17172372"]) bind095 --> bind0 bind096(["15358567"]) bind096 --> bind0 bind097(["16119758"]) bind097 --> bind0 bind098(["16216650"]) bind098 --> bind0 bind099(["9647853"]) bind099 --> bind0 bind0100(["2880076"]) bind0100 --> bind0 bind0101(["17568368"]) bind0101 --> bind0 bind0102(["17401487"]) bind0102 --> bind0 bind0103(["12525705"]) bind0103 --> bind0 bind0104(["18452806"]) bind0104 --> bind0 bind0105(["13190934"]) bind0105 --> bind0 bind0106(["9761770"]) bind0106 --> bind0 bind0107(["2682960"]) bind0107 --> bind0 bind0108(["16937637"]) bind0108 --> bind0 bind0109(["12061448"]) bind0109 --> bind0 bind0110(["19506281"]) bind0110 --> bind0 bind0111(["15238283"]) bind0111 --> bind0 bind0112(["17914043"]) bind0112 --> bind0 bind0113(["12905137"]) bind0113 --> bind0 bind0114(["14987414"]) bind0114 --> bind0 bind0115(["12543291"]) bind0115 --> bind0 bind0116(["15117014"]) bind0116 --> bind0 bind0117(["15085185"]) bind0117 --> bind0 bind0118(["11450660"]) bind0118 --> bind0 bind0119(["15709249"]) bind0119 --> bind0 bind0120(["16995383"]) bind0120 --> bind0 bind0121(["17041141"]) bind0121 --> bind0 bind0122(["16807416"]) bind0122 --> bind0 bind0123(["17509489"]) bind0123 --> bind0 bind0124(["16698304"]) bind0124 --> bind0 bind0125(["17404293"]) bind0125 --> bind0 bind0126(["17600717"]) bind0126 --> bind0 bind0127(["18140373"]) bind0127 --> bind0 bind0128(["11438915"]) bind0128 --> bind0 bind0129(["18452799"]) bind0129 --> bind0 bind0130(["18452805"]) bind0130 --> bind0 bind0131(["12938230"]) bind0131 --> bind0 bind0132(["18452802"]) bind0132 --> bind0 bind0133(["11929056"]) bind0133 --> bind0 bind0134(["19562015"]) bind0134 --> bind0 bind0135(["1531156"]) bind0135 --> bind0 bind0136(["18454594"]) bind0136 --> bind0 bind0137(["16020686"]) bind0137 --> bind0 bind0138(["23319969"]) bind0138 --> bind0 bind0139(["15623946"]) bind0139 --> bind0 bind0140(["18650352"]) bind0140 --> bind0 bind0141(["18452798"]) bind0141 --> bind0 bind0142(["23091571"]) bind0142 --> bind0 bind0143(["16819127"]) bind0143 --> bind0 bind0144(["9452402"]) bind0144 --> bind0 bind0145(["17130658"]) bind0145 --> bind0 bind0146(["9215633"]) bind0146 --> bind0 bind0147(["16820453"]) bind0147 --> bind0 bind0148(["3585913"]) bind0148 --> bind0 bind0149(["17417956"]) bind0149 --> bind0 bind0150(["18097481"]) bind0150 --> bind0 bind0151(["17326941"]) bind0151 --> bind0 bind0152(["17427701"]) bind0152 --> bind0 bind0153(["17522387"]) bind0153 --> bind0 bind0154(["5497158"]) bind0154 --> bind0 bind0155(["17626342"]) bind0155 --> bind0 bind0156(["10610642"]) bind0156 --> bind0 bind0157(["15695691"]) bind0157 --> bind0 bind0158(["10665700"]) bind0158 --> bind0 bind0159(["8272083"]) bind0159 --> bind0 bind0160(["21414082"]) bind0160 --> bind0 bind0161(["20207198"]) bind0161 --> bind0 bind0162(["7648832"]) bind0162 --> bind0 bind0163(["20933139"]) bind0163 --> bind0 bind0164(["836338"]) bind0164 --> bind0 bind0165(["21794218"]) bind0165 --> bind0 bind0166(["6407378"]) bind0166 --> bind0 bind0167(["2563850"]) bind0167 --> bind0 bind0168(["8037992"]) bind0168 --> bind0 bind0169(["8933327"]) bind0169 --> bind0 bind0170(["15311475"]) bind0170 --> bind0 bind0171(["11257352"]) bind0171 --> bind0 bind0172(["14756409"]) bind0172 --> bind0 bind0173(["15214872"]) bind0173 --> bind0 bind0174(["16452935"]) bind0174 --> bind0 bind0175(["25664127"]) bind0175 --> bind0 bind0176(["8862103"]) bind0176 --> bind0 bind0177(["17176487"]) bind0177 --> bind0 bind0178(["12118171"]) bind0178 --> bind0 bind0179(["18532885"]) bind0179 --> bind0 bind0180(["16142659"]) bind0180 --> bind0 bind0181(["16288417"]) bind0181 --> bind0 bind0182(["16338759"]) bind0182 --> bind0 bind0183(["22257866"]) bind0183 --> bind0 bind0184(["16909797"]) bind0184 --> bind0 bind0185(["16876371"]) bind0185 --> bind0 bind0186(["16452949"]) bind0186 --> bind0 bind0187(["22962880"]) bind0187 --> bind0 bind0188(["16524782"]) bind0188 --> bind0 bind0189(["18258006"]) bind0189 --> bind0 bind0190(["8284588"]) bind0190 --> bind0 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P698".-> v1 end