query-aa5c4a592856e716358579e9a07f7c3a
Scrittrici italiane senza firma su Wikidata SELECT ?author ?authorLabel ?sitelinks WHERE { ?author wdt:P21 wd:Q6581072; wdt:P106 wd:Q36180; wdt:P570 ?died; wikibase:sitelinks ?sitelinks. MINUS { ?author wdt:P109 ?signature. } OPTIONAL { ?wikisourcePage schema:about ?author. } SERVICE wikibase:label { bd:serviceParam wikibase:language "it". } ?author wdt:P27 wd:Q38. } GROUP BY ?author ?authorLabel ?sitelinks ORDER BY DESC (?sitelinks) LIMIT 100
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#>
#Scrittrici italiane senza firma su Wikidata
SELECT ?author ?authorLabel ?sitelinks WHERE {
?author wdt:P21 wd:Q6581072;
wdt:P106 wd:Q36180;
wdt:P570 ?died;
wikibase:sitelinks ?sitelinks.
MINUS { ?author wdt:P109 ?signature. }
OPTIONAL { ?wikisourcePage schema:about ?author. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "it". }
?author wdt:P27 wd:Q38.
}
GROUP BY ?author ?authorLabel ?sitelinks
ORDER BY DESC (?sitelinks)
LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?author"):::projected
v3("?died")
v4("?signature")
v1("?sitelinks"):::projected
v5("?wikisourcePage")
c2(["wd:Q6581072"]):::iri
c12(["it"]):::literal
c4(["wd:Q36180"]):::iri
c14(["wd:Q38"]):::iri
c10(["bd:serviceParam"]):::iri
v2 --"wdt:P21"--> c2
v2 --"wdt:P106"--> c4
v2 --"wdt:P570"--> v3
v2 --"wikibase:sitelinks"--> v1
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P109"--> v4
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v5 -."schema:about".-> v2
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end
v2 --"wdt:P27"--> c14