query-139cf1fab5bb455831f69e744a47cc62
Persones de ciència SELECT DISTINCT ?item ?itemLabel ?itemDescription ?article WHERE { ?item (wdt:P106/(wdt:P279*)) wd:Q901; wdt:P19 wd:Q7038. SERVICE wikibase:label { bd:serviceParam wikibase:language "ca". } OPTIONAL { ?article schema:about ?item; schema:inLanguage "ca"; schema:isPartOf https://ca.wikipedia.org/. } } ORDER BY (?itemLabel)
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 bd: <http://www.bigdata.com/rdf#>
# Persones de ciència
SELECT DISTINCT ?item ?itemLabel ?itemDescription ?article WHERE {
?item (wdt:P106/(wdt:P279*)) wd:Q901;
wdt:P19 wd:Q7038.
SERVICE wikibase:label { bd:serviceParam wikibase:language "ca". }
OPTIONAL {
?article schema:about ?item;
schema:inLanguage "ca";
schema:isPartOf <https://ca.wikipedia.org/>.
}
}
ORDER BY (?itemLabel)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?article"):::projected
v2("?item"):::projected
v1("?itemLabel"):::projected
a1((" "))
c13([https://ca.wikipedia.org/]):::iri
c7(["bd:serviceParam"]):::iri
c3(["wd:Q901"]):::iri
c5(["wd:Q7038"]):::iri
c9(["ca"]):::literal
v2 --"wdt:P106"--> a1
a1 --"wdt:P279"--> c3
v2 --"wdt:P19"--> c5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."schema:about".-> v2
v3 --"schema:inLanguage"--> c9
v3 --"schema:isPartOf"--> c13
end