query-5c6959cba41210dac074f17bf703bd6b
rq turtle/ttl
As above, batch taken from the focus list, last 100 dates in 2013
Demo showing neglected disease impact on MEDDATE
SELECT DISTINCT ?article ?articleLabel ?journal ?journalLabel ?bound ?medrsyear ?ynow
WHERE {
VALUES ?article
{wd:Q26991987 wd:Q31147214 wd:Q34795368 wd:Q35091165 wd:Q37535454
wd:Q37563132 wd:Q41837402 wd:Q54313739 wd:Q27001739 wd:Q26859056
wd:Q37598449 wd:Q37444803 wd:Q37486731 wd:Q54318026 wd:Q54331401
wd:Q34746108 wd:Q37424905 wd:Q37428770 wd:Q37488800 wd:Q38174963
wd:Q38181085 wd:Q41610163 wd:Q41821146 wd:Q21131296 wd:Q27001269
wd:Q26860902 wd:Q30399417 wd:Q35080136 wd:Q36234685 wd:Q37415488
wd:Q37424916 wd:Q37430213 wd:Q37444678 wd:Q38198431 wd:Q37564661
wd:Q38223686 wd:Q27027614 wd:Q34394530 wd:Q35081249 wd:Q35081255
wd:Q38329445 wd:Q27001098 wd:Q30358199 wd:Q37455520 wd:Q38174396
wd:Q38202106 wd:Q38215500 wd:Q24607667 wd:Q26853657 wd:Q27012569
wd:Q37419857 wd:Q37427512 wd:Q37449369 wd:Q37456955 wd:Q54334851
wd:Q27008874 wd:Q33440399 wd:Q35073534 wd:Q37451050 wd:Q41858635
wd:Q41851925 wd:Q37597560 wd:Q37703820 wd:Q26851339 wd:Q27011832
wd:Q27680496 wd:Q27680497 wd:Q28304672 wd:Q34393461 wd:Q35101581
wd:Q35073498 wd:Q35078355 wd:Q37411773 wd:Q38172970 wd:Q38173346
wd:Q38216022 wd:Q26827570 wd:Q26999444 wd:Q27011272 wd:Q33650196
wd:Q34398735 wd:Q35075737 wd:Q35075771 wd:Q35079805 wd:Q35081252
wd:Q37433321 wd:Q37425897 wd:Q38176010 wd:Q42385487 wd:Q26822652
wd:Q30441089 wd:Q35071418 wd:Q35075351 wd:Q35075628 wd:Q35557773
wd:Q37400355 wd:Q37424844 wd:Q37425963 wd:Q26853711 wd:Q27691382
}
?journal wdt:P31 wd:Q5633421;
wdt:P123 ?publisher;
wdt:P1055 [ ].
?publisher wdt:P31/wdt:P279* wd:Q2085381.
?article wdt:P5008 wd:Q55439927;
wdt:P1433 ?journal;
wdt:P577 ?date;
wdt:P31 wd:Q7318358;
wdt:P1476 [ ].
{?journal wdt:P31 wd:Q5953270}
UNION {VALUES ?journal {wd:Q546003 wd:Q2928049 wd:Q5030320 wd:Q5690746 wd:Q6047666
wd:Q26841926 wd:Q1763668 wd:Q2025726 wd:Q15724513 wd:Q2456339
wd:Q27722384 wd:Q27667673}
}
UNION {?journal wdt:P5115 [ ].}
MINUS {
{?article wdt:P31 wd:Q45182324}
UNION
{?article wdt:P5824 [ ]}
UNION
{VALUES ?publisher {wd:Q52636754 wd:Q52635805 wd:Q4689899 wd:Q52620137 wd:Q4732612
wd:Q43080819 wd:Q30270870 wd:Q30297686 wd:Q52661346 wd:Q52636079
wd:Q52557383 wd:Q54958933 wd:Q2896740 wd:Q63254475 wd:Q18712923
wd:Q52609680 wd:Q52609536 wd:Q52636154 wd:Q52609215 wd:Q80796
wd:Q52636535 wd:Q52633727 wd:Q52636944 wd:Q63254434 wd:Q52637577
wd:Q52665969 wd:Q52660711 wd:Q52659576 wd:Q56979398 wd:Q52670242
wd:Q29891111 wd:Q52619294 wd:Q52662151 wd:Q7072722 wd:Q52609375
wd:Q7259709 wd:Q52636843 wd:Q45251004 wd:Q52637573 wd:Q52662489
wd:Q52635330 wd:Q47116994 wd:Q30267116 wd:Q24706265 wd:Q52620720
wd:Q52633876 wd:Q56416796 wd:Q52660351 wd:Q52635690 wd:Q7433770
wd:Q27991304 wd:Q55566796 wd:Q52619286 wd:Q30265175 wd:Q8035326}
}
UNION
{VALUES ?article {wd:Q26746153}
}
}
OPTIONAL {VALUES ?mainsubject {wd:Q949694 wd:Q2447562 wd:Q649558 wd:Q326071 wd:Q203133
wd:Q842428 wd:Q11679861 wd:Q2264130 wd:Q2360849 wd:Q1345113
wd:Q1597571 wd:Q2841329 wd:Q2665559 wd:Q30953 wd:Q738292
wd:Q154874 wd:Q2859732 wd:Q39222 wd:Q326638 wd:Q162272
wd:Q809561 wd:Q18975737 wd:Q1017169 wd:Q12090 wd:Q327298
wd:Q326648 wd:Q18975220 wd:Q36956 wd:Q155098 wd:Q690032
wd:Q193216 wd:Q682798 wd:Q922029 wd:Q41083 wd:Q76973
wd:Q16877704 wd:Q247096 wd:Q167178 wd:Q304601 wd:Q331283
wd:Q1475667 wd:Q388646 wd:Q777087 wd:Q1102300 wd:Q1048084
wd:Q719656 wd:Q2528129 wd:Q1760607 wd:Q192100 wd:Q1137321
wd:Q221159 }
?article wdt:P921 ?mainsubject.}
BIND(xsd:boolean(COALESCE(BOUND(?mainsubject),"false")) AS ?bound)
BIND(year(?date) AS ?ydate)
BIND(year(now()) AS ?ynow)
BIND((IF(?bound,?ydate+8,?ydate+5)) AS ?medrsyear)
FILTER(?medrsyear >= ?ynow) #Remove this filter line to see the workings of the medrsyear variable displayed
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en".}
}
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
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#>
#As above, batch taken from the focus list, last 100 dates in 2013
#Demo showing neglected disease impact on MEDDATE
SELECT DISTINCT ?article ?articleLabel ?journal ?journalLabel ?bound ?medrsyear ?ynow
WHERE {
VALUES ?article
{wd:Q26991987 wd:Q31147214 wd:Q34795368 wd:Q35091165 wd:Q37535454
wd:Q37563132 wd:Q41837402 wd:Q54313739 wd:Q27001739 wd:Q26859056
wd:Q37598449 wd:Q37444803 wd:Q37486731 wd:Q54318026 wd:Q54331401
wd:Q34746108 wd:Q37424905 wd:Q37428770 wd:Q37488800 wd:Q38174963
wd:Q38181085 wd:Q41610163 wd:Q41821146 wd:Q21131296 wd:Q27001269
wd:Q26860902 wd:Q30399417 wd:Q35080136 wd:Q36234685 wd:Q37415488
wd:Q37424916 wd:Q37430213 wd:Q37444678 wd:Q38198431 wd:Q37564661
wd:Q38223686 wd:Q27027614 wd:Q34394530 wd:Q35081249 wd:Q35081255
wd:Q38329445 wd:Q27001098 wd:Q30358199 wd:Q37455520 wd:Q38174396
wd:Q38202106 wd:Q38215500 wd:Q24607667 wd:Q26853657 wd:Q27012569
wd:Q37419857 wd:Q37427512 wd:Q37449369 wd:Q37456955 wd:Q54334851
wd:Q27008874 wd:Q33440399 wd:Q35073534 wd:Q37451050 wd:Q41858635
wd:Q41851925 wd:Q37597560 wd:Q37703820 wd:Q26851339 wd:Q27011832
wd:Q27680496 wd:Q27680497 wd:Q28304672 wd:Q34393461 wd:Q35101581
wd:Q35073498 wd:Q35078355 wd:Q37411773 wd:Q38172970 wd:Q38173346
wd:Q38216022 wd:Q26827570 wd:Q26999444 wd:Q27011272 wd:Q33650196
wd:Q34398735 wd:Q35075737 wd:Q35075771 wd:Q35079805 wd:Q35081252
wd:Q37433321 wd:Q37425897 wd:Q38176010 wd:Q42385487 wd:Q26822652
wd:Q30441089 wd:Q35071418 wd:Q35075351 wd:Q35075628 wd:Q35557773
wd:Q37400355 wd:Q37424844 wd:Q37425963 wd:Q26853711 wd:Q27691382
}
?journal wdt:P31 wd:Q5633421;
wdt:P123 ?publisher;
wdt:P1055 [ ].
?publisher wdt:P31/wdt:P279* wd:Q2085381.
?article wdt:P5008 wd:Q55439927;
wdt:P1433 ?journal;
wdt:P577 ?date;
wdt:P31 wd:Q7318358;
wdt:P1476 [ ].
{?journal wdt:P31 wd:Q5953270}
UNION {VALUES ?journal {wd:Q546003 wd:Q2928049 wd:Q5030320 wd:Q5690746 wd:Q6047666
wd:Q26841926 wd:Q1763668 wd:Q2025726 wd:Q15724513 wd:Q2456339
wd:Q27722384 wd:Q27667673}
}
UNION {?journal wdt:P5115 [ ].}
MINUS {
{?article wdt:P31 wd:Q45182324}
UNION
{?article wdt:P5824 [ ]}
UNION
{VALUES ?publisher {wd:Q52636754 wd:Q52635805 wd:Q4689899 wd:Q52620137 wd:Q4732612
wd:Q43080819 wd:Q30270870 wd:Q30297686 wd:Q52661346 wd:Q52636079
wd:Q52557383 wd:Q54958933 wd:Q2896740 wd:Q63254475 wd:Q18712923
wd:Q52609680 wd:Q52609536 wd:Q52636154 wd:Q52609215 wd:Q80796
wd:Q52636535 wd:Q52633727 wd:Q52636944 wd:Q63254434 wd:Q52637577
wd:Q52665969 wd:Q52660711 wd:Q52659576 wd:Q56979398 wd:Q52670242
wd:Q29891111 wd:Q52619294 wd:Q52662151 wd:Q7072722 wd:Q52609375
wd:Q7259709 wd:Q52636843 wd:Q45251004 wd:Q52637573 wd:Q52662489
wd:Q52635330 wd:Q47116994 wd:Q30267116 wd:Q24706265 wd:Q52620720
wd:Q52633876 wd:Q56416796 wd:Q52660351 wd:Q52635690 wd:Q7433770
wd:Q27991304 wd:Q55566796 wd:Q52619286 wd:Q30265175 wd:Q8035326}
}
UNION
{VALUES ?article {wd:Q26746153}
}
}
OPTIONAL {VALUES ?mainsubject {wd:Q949694 wd:Q2447562 wd:Q649558 wd:Q326071 wd:Q203133
wd:Q842428 wd:Q11679861 wd:Q2264130 wd:Q2360849 wd:Q1345113
wd:Q1597571 wd:Q2841329 wd:Q2665559 wd:Q30953 wd:Q738292
wd:Q154874 wd:Q2859732 wd:Q39222 wd:Q326638 wd:Q162272
wd:Q809561 wd:Q18975737 wd:Q1017169 wd:Q12090 wd:Q327298
wd:Q326648 wd:Q18975220 wd:Q36956 wd:Q155098 wd:Q690032
wd:Q193216 wd:Q682798 wd:Q922029 wd:Q41083 wd:Q76973
wd:Q16877704 wd:Q247096 wd:Q167178 wd:Q304601 wd:Q331283
wd:Q1475667 wd:Q388646 wd:Q777087 wd:Q1102300 wd:Q1048084
wd:Q719656 wd:Q2528129 wd:Q1760607 wd:Q192100 wd:Q1137321
wd:Q221159 }
?article wdt:P921 ?mainsubject.}
BIND(xsd:boolean(COALESCE(BOUND(?mainsubject),"false")) AS ?bound)
BIND(year(?date) AS ?ydate)
BIND(year(now()) AS ?ynow)
BIND((IF(?bound,?ydate+8,?ydate+5)) AS ?medrsyear)
FILTER(?medrsyear >= ?ynow) #Remove this filter line to see the workings of the medrsyear variable displayed
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;
v7("?article"):::projected
v8("?bound"):::projected
v6("?date")
v7("?journal"):::projected
v7("?mainsubject")
v10("?medrsyear"):::projected
v7("?publisher")
v9("?ydate")
v10("?ynow"):::projected
a1((" "))
a3((" "))
a4((" "))
a5((" "))
a2((" "))
c8(["wd:Q55439927"]):::iri
c6(["wd:Q2085381"]):::iri
c11(["wd:Q7318358"]):::iri
c2(["wd:Q5633421"]):::iri
c19(["bd:serviceParam"]):::iri
c13(["wd:Q5953270"]):::iri
c15(["wd:Q45182324"]):::iri
c21(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["?medrsyear >= ?ynow"]]
f0 --> v10
f0 --> v10
bind1[/VALUES ?article/]
bind1-->v7
bind10(["wd:Q26991987"])
bind10 --> bind1
bind11(["wd:Q31147214"])
bind11 --> bind1
bind12(["wd:Q34795368"])
bind12 --> bind1
bind13(["wd:Q35091165"])
bind13 --> bind1
bind14(["wd:Q37535454"])
bind14 --> bind1
bind15(["wd:Q37563132"])
bind15 --> bind1
bind16(["wd:Q41837402"])
bind16 --> bind1
bind17(["wd:Q54313739"])
bind17 --> bind1
bind18(["wd:Q27001739"])
bind18 --> bind1
bind19(["wd:Q26859056"])
bind19 --> bind1
bind110(["wd:Q37598449"])
bind110 --> bind1
bind111(["wd:Q37444803"])
bind111 --> bind1
bind112(["wd:Q37486731"])
bind112 --> bind1
bind113(["wd:Q54318026"])
bind113 --> bind1
bind114(["wd:Q54331401"])
bind114 --> bind1
bind115(["wd:Q34746108"])
bind115 --> bind1
bind116(["wd:Q37424905"])
bind116 --> bind1
bind117(["wd:Q37428770"])
bind117 --> bind1
bind118(["wd:Q37488800"])
bind118 --> bind1
bind119(["wd:Q38174963"])
bind119 --> bind1
bind120(["wd:Q38181085"])
bind120 --> bind1
bind121(["wd:Q41610163"])
bind121 --> bind1
bind122(["wd:Q41821146"])
bind122 --> bind1
bind123(["wd:Q21131296"])
bind123 --> bind1
bind124(["wd:Q27001269"])
bind124 --> bind1
bind125(["wd:Q26860902"])
bind125 --> bind1
bind126(["wd:Q30399417"])
bind126 --> bind1
bind127(["wd:Q35080136"])
bind127 --> bind1
bind128(["wd:Q36234685"])
bind128 --> bind1
bind129(["wd:Q37415488"])
bind129 --> bind1
bind130(["wd:Q37424916"])
bind130 --> bind1
bind131(["wd:Q37430213"])
bind131 --> bind1
bind132(["wd:Q37444678"])
bind132 --> bind1
bind133(["wd:Q38198431"])
bind133 --> bind1
bind134(["wd:Q37564661"])
bind134 --> bind1
bind135(["wd:Q38223686"])
bind135 --> bind1
bind136(["wd:Q27027614"])
bind136 --> bind1
bind137(["wd:Q34394530"])
bind137 --> bind1
bind138(["wd:Q35081249"])
bind138 --> bind1
bind139(["wd:Q35081255"])
bind139 --> bind1
bind140(["wd:Q38329445"])
bind140 --> bind1
bind141(["wd:Q27001098"])
bind141 --> bind1
bind142(["wd:Q30358199"])
bind142 --> bind1
bind143(["wd:Q37455520"])
bind143 --> bind1
bind144(["wd:Q38174396"])
bind144 --> bind1
bind145(["wd:Q38202106"])
bind145 --> bind1
bind146(["wd:Q38215500"])
bind146 --> bind1
bind147(["wd:Q24607667"])
bind147 --> bind1
bind148(["wd:Q26853657"])
bind148 --> bind1
bind149(["wd:Q27012569"])
bind149 --> bind1
bind150(["wd:Q37419857"])
bind150 --> bind1
bind151(["wd:Q37427512"])
bind151 --> bind1
bind152(["wd:Q37449369"])
bind152 --> bind1
bind153(["wd:Q37456955"])
bind153 --> bind1
bind154(["wd:Q54334851"])
bind154 --> bind1
bind155(["wd:Q27008874"])
bind155 --> bind1
bind156(["wd:Q33440399"])
bind156 --> bind1
bind157(["wd:Q35073534"])
bind157 --> bind1
bind158(["wd:Q37451050"])
bind158 --> bind1
bind159(["wd:Q41858635"])
bind159 --> bind1
bind160(["wd:Q41851925"])
bind160 --> bind1
bind161(["wd:Q37597560"])
bind161 --> bind1
bind162(["wd:Q37703820"])
bind162 --> bind1
bind163(["wd:Q26851339"])
bind163 --> bind1
bind164(["wd:Q27011832"])
bind164 --> bind1
bind165(["wd:Q27680496"])
bind165 --> bind1
bind166(["wd:Q27680497"])
bind166 --> bind1
bind167(["wd:Q28304672"])
bind167 --> bind1
bind168(["wd:Q34393461"])
bind168 --> bind1
bind169(["wd:Q35101581"])
bind169 --> bind1
bind170(["wd:Q35073498"])
bind170 --> bind1
bind171(["wd:Q35078355"])
bind171 --> bind1
bind172(["wd:Q37411773"])
bind172 --> bind1
bind173(["wd:Q38172970"])
bind173 --> bind1
bind174(["wd:Q38173346"])
bind174 --> bind1
bind175(["wd:Q38216022"])
bind175 --> bind1
bind176(["wd:Q26827570"])
bind176 --> bind1
bind177(["wd:Q26999444"])
bind177 --> bind1
bind178(["wd:Q27011272"])
bind178 --> bind1
bind179(["wd:Q33650196"])
bind179 --> bind1
bind180(["wd:Q34398735"])
bind180 --> bind1
bind181(["wd:Q35075737"])
bind181 --> bind1
bind182(["wd:Q35075771"])
bind182 --> bind1
bind183(["wd:Q35079805"])
bind183 --> bind1
bind184(["wd:Q35081252"])
bind184 --> bind1
bind185(["wd:Q37433321"])
bind185 --> bind1
bind186(["wd:Q37425897"])
bind186 --> bind1
bind187(["wd:Q38176010"])
bind187 --> bind1
bind188(["wd:Q42385487"])
bind188 --> bind1
bind189(["wd:Q26822652"])
bind189 --> bind1
bind190(["wd:Q30441089"])
bind190 --> bind1
bind191(["wd:Q35071418"])
bind191 --> bind1
bind192(["wd:Q35075351"])
bind192 --> bind1
bind193(["wd:Q35075628"])
bind193 --> bind1
bind194(["wd:Q35557773"])
bind194 --> bind1
bind195(["wd:Q37400355"])
bind195 --> bind1
bind196(["wd:Q37424844"])
bind196 --> bind1
bind197(["wd:Q37425963"])
bind197 --> bind1
bind198(["wd:Q26853711"])
bind198 --> bind1
bind199(["wd:Q27691382"])
bind199 --> bind1
v7 --"wdt:P31"--> c2
v7 --"wdt:P123"--> v7
v7 --"wdt:P1055"--> a1
v7 --"wdt:P31"--> a2
a2 --"wdt:P279"--> c6
v7 --"wdt:P5008"--> c8
v7 --"wdt:P1433"--> v7
v7 --"wdt:P577"--> v6
v7 --"wdt:P31"--> c11
v7 --"wdt:P1476"--> a3
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
subgraph union1[" Union "]
subgraph union1l[" "]
style union1l fill:#abf,stroke-dasharray: 3 3;
v7 --"wdt:P5115"--> a4
end
subgraph union1r[" "]
style union1r fill:#abf,stroke-dasharray: 3 3;
bind2[/VALUES ?journal/]
bind2-->v7
bind20(["wd:Q546003"])
bind20 --> bind2
bind21(["wd:Q2928049"])
bind21 --> bind2
bind22(["wd:Q5030320"])
bind22 --> bind2
bind23(["wd:Q5690746"])
bind23 --> bind2
bind24(["wd:Q6047666"])
bind24 --> bind2
bind25(["wd:Q26841926"])
bind25 --> bind2
bind26(["wd:Q1763668"])
bind26 --> bind2
bind27(["wd:Q2025726"])
bind27 --> bind2
bind28(["wd:Q15724513"])
bind28 --> bind2
bind29(["wd:Q2456339"])
bind29 --> bind2
bind210(["wd:Q27722384"])
bind210 --> bind2
bind211(["wd:Q27667673"])
bind211 --> bind2
end
union1r <== or ==> union1l
end
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v7 --"wdt:P31"--> c13
end
union0r <== or ==> union0l
end
subgraph minus3["MINUS"]
style minus3 stroke-width:6px,fill:pink,stroke:red;
subgraph union2[" Union "]
subgraph union2l[" "]
style union2l fill:#abf,stroke-dasharray: 3 3;
subgraph union3[" Union "]
subgraph union3l[" "]
style union3l fill:#abf,stroke-dasharray: 3 3;
subgraph union4[" Union "]
subgraph union4l[" "]
style union4l fill:#abf,stroke-dasharray: 3 3;
bind4[/VALUES ?article/]
bind4-->v7
bind40(["wd:Q26746153"])
bind40 --> bind4
end
subgraph union4r[" "]
style union4r fill:#abf,stroke-dasharray: 3 3;
bind5[/VALUES ?publisher/]
bind5-->v7
bind50(["wd:Q52636754"])
bind50 --> bind5
bind51(["wd:Q52635805"])
bind51 --> bind5
bind52(["wd:Q4689899"])
bind52 --> bind5
bind53(["wd:Q52620137"])
bind53 --> bind5
bind54(["wd:Q4732612"])
bind54 --> bind5
bind55(["wd:Q43080819"])
bind55 --> bind5
bind56(["wd:Q30270870"])
bind56 --> bind5
bind57(["wd:Q30297686"])
bind57 --> bind5
bind58(["wd:Q52661346"])
bind58 --> bind5
bind59(["wd:Q52636079"])
bind59 --> bind5
bind510(["wd:Q52557383"])
bind510 --> bind5
bind511(["wd:Q54958933"])
bind511 --> bind5
bind512(["wd:Q2896740"])
bind512 --> bind5
bind513(["wd:Q63254475"])
bind513 --> bind5
bind514(["wd:Q18712923"])
bind514 --> bind5
bind515(["wd:Q52609680"])
bind515 --> bind5
bind516(["wd:Q52609536"])
bind516 --> bind5
bind517(["wd:Q52636154"])
bind517 --> bind5
bind518(["wd:Q52609215"])
bind518 --> bind5
bind519(["wd:Q80796"])
bind519 --> bind5
bind520(["wd:Q52636535"])
bind520 --> bind5
bind521(["wd:Q52633727"])
bind521 --> bind5
bind522(["wd:Q52636944"])
bind522 --> bind5
bind523(["wd:Q63254434"])
bind523 --> bind5
bind524(["wd:Q52637577"])
bind524 --> bind5
bind525(["wd:Q52665969"])
bind525 --> bind5
bind526(["wd:Q52660711"])
bind526 --> bind5
bind527(["wd:Q52659576"])
bind527 --> bind5
bind528(["wd:Q56979398"])
bind528 --> bind5
bind529(["wd:Q52670242"])
bind529 --> bind5
bind530(["wd:Q29891111"])
bind530 --> bind5
bind531(["wd:Q52619294"])
bind531 --> bind5
bind532(["wd:Q52662151"])
bind532 --> bind5
bind533(["wd:Q7072722"])
bind533 --> bind5
bind534(["wd:Q52609375"])
bind534 --> bind5
bind535(["wd:Q7259709"])
bind535 --> bind5
bind536(["wd:Q52636843"])
bind536 --> bind5
bind537(["wd:Q45251004"])
bind537 --> bind5
bind538(["wd:Q52637573"])
bind538 --> bind5
bind539(["wd:Q52662489"])
bind539 --> bind5
bind540(["wd:Q52635330"])
bind540 --> bind5
bind541(["wd:Q47116994"])
bind541 --> bind5
bind542(["wd:Q30267116"])
bind542 --> bind5
bind543(["wd:Q24706265"])
bind543 --> bind5
bind544(["wd:Q52620720"])
bind544 --> bind5
bind545(["wd:Q52633876"])
bind545 --> bind5
bind546(["wd:Q56416796"])
bind546 --> bind5
bind547(["wd:Q52660351"])
bind547 --> bind5
bind548(["wd:Q52635690"])
bind548 --> bind5
bind549(["wd:Q7433770"])
bind549 --> bind5
bind550(["wd:Q27991304"])
bind550 --> bind5
bind551(["wd:Q55566796"])
bind551 --> bind5
bind552(["wd:Q52619286"])
bind552 --> bind5
bind553(["wd:Q30265175"])
bind553 --> bind5
bind554(["wd:Q8035326"])
bind554 --> bind5
end
union4r <== or ==> union4l
end
end
subgraph union3r[" "]
style union3r fill:#abf,stroke-dasharray: 3 3;
v7 --"wdt:P5824"--> a5
end
union3r <== or ==> union3l
end
end
subgraph union2r[" "]
style union2r fill:#abf,stroke-dasharray: 3 3;
v7 --"wdt:P31"--> c15
end
union2r <== or ==> union2l
end
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
bind6[/VALUES ?mainsubject/]
bind6-->v7
bind60(["wd:Q949694"])
bind60 --> bind6
bind61(["wd:Q2447562"])
bind61 --> bind6
bind62(["wd:Q649558"])
bind62 --> bind6
bind63(["wd:Q326071"])
bind63 --> bind6
bind64(["wd:Q203133"])
bind64 --> bind6
bind65(["wd:Q842428"])
bind65 --> bind6
bind66(["wd:Q11679861"])
bind66 --> bind6
bind67(["wd:Q2264130"])
bind67 --> bind6
bind68(["wd:Q2360849"])
bind68 --> bind6
bind69(["wd:Q1345113"])
bind69 --> bind6
bind610(["wd:Q1597571"])
bind610 --> bind6
bind611(["wd:Q2841329"])
bind611 --> bind6
bind612(["wd:Q2665559"])
bind612 --> bind6
bind613(["wd:Q30953"])
bind613 --> bind6
bind614(["wd:Q738292"])
bind614 --> bind6
bind615(["wd:Q154874"])
bind615 --> bind6
bind616(["wd:Q2859732"])
bind616 --> bind6
bind617(["wd:Q39222"])
bind617 --> bind6
bind618(["wd:Q326638"])
bind618 --> bind6
bind619(["wd:Q162272"])
bind619 --> bind6
bind620(["wd:Q809561"])
bind620 --> bind6
bind621(["wd:Q18975737"])
bind621 --> bind6
bind622(["wd:Q1017169"])
bind622 --> bind6
bind623(["wd:Q12090"])
bind623 --> bind6
bind624(["wd:Q327298"])
bind624 --> bind6
bind625(["wd:Q326648"])
bind625 --> bind6
bind626(["wd:Q18975220"])
bind626 --> bind6
bind627(["wd:Q36956"])
bind627 --> bind6
bind628(["wd:Q155098"])
bind628 --> bind6
bind629(["wd:Q690032"])
bind629 --> bind6
bind630(["wd:Q193216"])
bind630 --> bind6
bind631(["wd:Q682798"])
bind631 --> bind6
bind632(["wd:Q922029"])
bind632 --> bind6
bind633(["wd:Q41083"])
bind633 --> bind6
bind634(["wd:Q76973"])
bind634 --> bind6
bind635(["wd:Q16877704"])
bind635 --> bind6
bind636(["wd:Q247096"])
bind636 --> bind6
bind637(["wd:Q167178"])
bind637 --> bind6
bind638(["wd:Q304601"])
bind638 --> bind6
bind639(["wd:Q331283"])
bind639 --> bind6
bind640(["wd:Q1475667"])
bind640 --> bind6
bind641(["wd:Q388646"])
bind641 --> bind6
bind642(["wd:Q777087"])
bind642 --> bind6
bind643(["wd:Q1102300"])
bind643 --> bind6
bind644(["wd:Q1048084"])
bind644 --> bind6
bind645(["wd:Q719656"])
bind645 --> bind6
bind646(["wd:Q2528129"])
bind646 --> bind6
bind647(["wd:Q1760607"])
bind647 --> bind6
bind648(["wd:Q192100"])
bind648 --> bind6
bind649(["wd:Q1137321"])
bind649 --> bind6
bind650(["wd:Q221159"])
bind650 --> bind6
v7 -."wdt:P921".-> v7
end
bind7[/"http://www.w3.org/2001/XMLSchema#boolean(bound(?mainsubject)'false')"/]
v7 --o bind7
bind7 --as--o v8
bind8[/"year-from-dateTime(?date)"/]
v6 --o bind8
bind8 --as--o v9
bind9[/"year-from-dateTime(NOW())"/]
bind9 --as--o v10
bind10[/"if(?bound,?ydate + '+8^^xsd:integer',?ydate + '+5^^xsd:integer')"/]
v8 --o bind10
v9 --o bind10
bind10 --as--o v10
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c19 --"wikibase:language"--> c21
end