query-c5afeb2a6b19d5f547cc61fae6dfc877
Divulgadors cientĂfics espanyols, i les seves pĂ gines a Wikipedia
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 schema: <http://schema.org/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?genLabel ?ocup ?ocupLabel ?coor ?articleca ?articlees ?articlegl ?articleeu ?articleen
# ?ocu ?ocuLabel
WHERE {
# VALUES ?coses {wdt:P106 wdt:P101}
?item wdt:P31 wd:Q5;
# ?coses wd:Q15143191;
# p:P106/ps:P106 wd:Q15143191;
# wdt:P106/wdt:P279* wd:Q15143191;
(p:P106/ps:P106/(wdt:P279*)) wd:Q15143191;
# wdt:P106 ?ocu;
wdt:P21 ?gen;
wdt:P27 wd:Q29.
OPTIONAL { ?item wdt:P19 ?naix.
?naix wdt:P625 ?coor.}
# OPTIONAL { ?item wdt:P108 ?ocup.
# OPTIONAL { ?ocup wdt:P131 ?ciutat.
# ?ciutat wdt:P625 ?coor.}
# }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],ca,es,en". }
OPTIONAL {
?articleca schema:about ?item;
schema:inLanguage "ca";
schema:isPartOf <https://ca.wikipedia.org/>.
}
OPTIONAL {
?articlees schema:about ?item;
schema:inLanguage "es";
schema:isPartOf <https://es.wikipedia.org/>.
}
OPTIONAL {
?articleeu schema:about ?item;
schema:inLanguage "eu";
schema:isPartOf <https://eu.wikipedia.org/>.
}
OPTIONAL {
?articlegl schema:about ?item;
schema:inLanguage "gl";
schema:isPartOf <https://gl.wikipedia.org/>.
}
OPTIONAL {
?articleen schema:about ?item;
schema:inLanguage "en";
schema:isPartOf <https://en.wikipedia.org/>.
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?articleca"):::projected
v9("?articleen"):::projected
v6("?articlees"):::projected
v7("?articleeu"):::projected
v8("?articlegl"):::projected
v4("?coor"):::projected
v2("?gen")
v1("?item"):::projected
v3("?naix")
a1((" "))
a2((" "))
c20([https://ca.wikipedia.org/]):::iri
c28([https://en.wikipedia.org/]):::iri
c9(["wd:Q29"]):::iri
c13(["bd:serviceParam"]):::iri
c22([https://es.wikipedia.org/]):::iri
c2(["wd:Q5"]):::iri
c18(["ca"]):::literal
c25(["gl"]):::literal
c26([https://gl.wikipedia.org/]):::iri
c15(["#91;AUTO_LANGUAGE#93;,ca,es,en"]):::literal
c27(["en"]):::literal
c21(["es"]):::literal
c23(["eu"]):::literal
c24([https://eu.wikipedia.org/]):::iri
c6(["wd:Q15143191"]):::iri
v1 --"p:direct/P31"--> c2
v1 --"p:P106"--> a1
a1 --"p:statement/P106"--> a2
a2 --"p:direct/P279"--> c6
v1 --"p:direct/P21"--> v2
v1 --"p:direct/P27"--> c9
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."p:direct/P19".-> v3
v3 --"p:direct/P625"--> v4
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c13 --"wikibase:language"--> c15
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v5 -."schema:about".-> v1
v5 --"schema:inLanguage"--> c18
v5 --"schema:isPartOf"--> c20
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v6 -."schema:about".-> v1
v6 --"schema:inLanguage"--> c21
v6 --"schema:isPartOf"--> c22
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v7 -."schema:about".-> v1
v7 --"schema:inLanguage"--> c23
v7 --"schema:isPartOf"--> c24
end
subgraph optional4["(optional)"]
style optional4 fill:#bbf,stroke-dasharray: 5 5;
v8 -."schema:about".-> v1
v8 --"schema:inLanguage"--> c25
v8 --"schema:isPartOf"--> c26
end
subgraph optional5["(optional)"]
style optional5 fill:#bbf,stroke-dasharray: 5 5;
v9 -."schema:about".-> v1
v9 --"schema:inLanguage"--> c27
v9 --"schema:isPartOf"--> c28
end