query-73a6b8ea9f749cdd067b4082d2116633
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?sitelink_en ?article_en ?sitelink_fr ?article_fr ?sitelink_ar ?article_ar
WHERE
{
VALUES ?item {wd:Q1201902 wd:Q1371145 wd:Q2060630 wd:Q2262318 wd:Q7714263 wd:Q12165555 wd:Q378619 wd:Q498787
wd:Q677525 wd:Q851190 wd:Q1050083 wd:Q1207136 wd:Q1386318 wd:Q1413628 wd:Q1622688
wd:Q1637234 wd:Q1759652 wd:Q2098929 wd:Q2300851 wd:Q2597104 wd:Q2624688 wd:Q2634968
wd:Q3500553 wd:Q4421603 wd:Q5049074 wd:Q5105465 wd:Q5317221 wd:Q5496635 wd:Q5503291
wd:Q5697905 wd:Q5715272 wd:Q6651160 wd:Q6703608 wd:Q6817786 wd:Q6845813 wd:Q6928344
wd:Q7105840 wd:Q7172400 wd:Q7243868 wd:Q7366253 wd:Q7380911 wd:Q7430467 wd:Q7553023
}
?sitelink_en ^schema:name ?article_en .
?article_en schema:about ?item ;
schema:isPartOf <https://en.wikipedia.org/> .
OPTIONAL {
?sitelink_fr ^schema:name ?article_fr .
?article_fr schema:about ?item ;
schema:isPartOf <https://fr.wikipedia.org/> .
}
OPTIONAL {
?sitelink_ar ^schema:name ?article_ar .
?article_ar schema:about ?item ;
schema:isPartOf <https://ar.wikipedia.org/> .
}
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("?article_ar"):::projected
v2("?article_en"):::projected
v4("?article_fr"):::projected
v1("?item"):::projected
v7("?sitelink_ar"):::projected
v3("?sitelink_en"):::projected
v5("?sitelink_fr"):::projected
c4([https://en.wikipedia.org/]):::iri
c8(["bd:serviceParam"]):::iri
c5([https://fr.wikipedia.org/]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c6([https://ar.wikipedia.org/]):::iri
bind0[/VALUES ?item/]
bind0-->v1
bind00(["wd:Q1201902"])
bind00 --> bind0
bind01(["wd:Q1371145"])
bind01 --> bind0
bind02(["wd:Q2060630"])
bind02 --> bind0
bind03(["wd:Q2262318"])
bind03 --> bind0
bind04(["wd:Q7714263"])
bind04 --> bind0
bind05(["wd:Q12165555"])
bind05 --> bind0
bind06(["wd:Q378619"])
bind06 --> bind0
bind07(["wd:Q498787"])
bind07 --> bind0
bind08(["wd:Q677525"])
bind08 --> bind0
bind09(["wd:Q851190"])
bind09 --> bind0
bind010(["wd:Q1050083"])
bind010 --> bind0
bind011(["wd:Q1207136"])
bind011 --> bind0
bind012(["wd:Q1386318"])
bind012 --> bind0
bind013(["wd:Q1413628"])
bind013 --> bind0
bind014(["wd:Q1622688"])
bind014 --> bind0
bind015(["wd:Q1637234"])
bind015 --> bind0
bind016(["wd:Q1759652"])
bind016 --> bind0
bind017(["wd:Q2098929"])
bind017 --> bind0
bind018(["wd:Q2300851"])
bind018 --> bind0
bind019(["wd:Q2597104"])
bind019 --> bind0
bind020(["wd:Q2624688"])
bind020 --> bind0
bind021(["wd:Q2634968"])
bind021 --> bind0
bind022(["wd:Q3500553"])
bind022 --> bind0
bind023(["wd:Q4421603"])
bind023 --> bind0
bind024(["wd:Q5049074"])
bind024 --> bind0
bind025(["wd:Q5105465"])
bind025 --> bind0
bind026(["wd:Q5317221"])
bind026 --> bind0
bind027(["wd:Q5496635"])
bind027 --> bind0
bind028(["wd:Q5503291"])
bind028 --> bind0
bind029(["wd:Q5697905"])
bind029 --> bind0
bind030(["wd:Q5715272"])
bind030 --> bind0
bind031(["wd:Q6651160"])
bind031 --> bind0
bind032(["wd:Q6703608"])
bind032 --> bind0
bind033(["wd:Q6817786"])
bind033 --> bind0
bind034(["wd:Q6845813"])
bind034 --> bind0
bind035(["wd:Q6928344"])
bind035 --> bind0
bind036(["wd:Q7105840"])
bind036 --> bind0
bind037(["wd:Q7172400"])
bind037 --> bind0
bind038(["wd:Q7243868"])
bind038 --> bind0
bind039(["wd:Q7366253"])
bind039 --> bind0
bind040(["wd:Q7380911"])
bind040 --> bind0
bind041(["wd:Q7430467"])
bind041 --> bind0
bind042(["wd:Q7553023"])
bind042 --> bind0
v2 --"schema:name"--> v3
v2 --"schema:about"--> v1
v2 --"schema:isPartOf"--> c4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v4 -."schema:name".-> v5
v4 --"schema:about"--> v1
v4 --"schema:isPartOf"--> c5
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v6 -."schema:name".-> v7
v6 --"schema:about"--> v1
v6 --"schema:isPartOf"--> c6
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end