query-477c67d92de9e1f57fd869b4dc2fbf5f

rq turtle/ttl

Elenco di donne presenti nel catalogo BEIC e su Wikipedia in francese ma non in italiano per tradurre la voce. La lista è ordinata per numero di lingue in cui la voce è presente. SELECT ?item (COUNT(?sitelink) AS ?linkcount) WHERE { ?item wdt:P1343 wd:Q51955019 . ?item wdt:P21 wd:Q6581072 . ?sitelink schema:about ?item . FILTER NOT EXISTS { ?wiki schema:about ?item; schema:isPartOf https://it.wikipedia.org/ . } FILTER EXISTS { ?sitelink_fr schema:about ?item; schema:isPartOf https://fr.wikipedia.org/ . } } GROUP BY(?item) ORDER BY DESC(?linkcount) LIMIT 200

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
#Elenco di donne presenti nel catalogo BEIC e su Wikipedia in francese ma non in italiano per tradurre la voce. La lista è ordinata per numero di lingue in cui la voce è presente.
SELECT ?item (COUNT(?sitelink) AS ?linkcount) WHERE {
  ?item wdt:P1343 wd:Q51955019 .
  ?item wdt:P21 wd:Q6581072 .
  ?sitelink schema:about ?item .
  FILTER NOT EXISTS { ?wiki schema:about ?item; schema:isPartOf <https://it.wikipedia.org/> . }
  FILTER EXISTS { ?sitelink_fr schema:about ?item;
                schema:isPartOf <https://fr.wikipedia.org/> .
                }
  }
GROUP BY(?item)
ORDER BY DESC(?linkcount)
LIMIT 200

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?item"):::projected v6("?linkcount") v5("?sitelink"):::projected v2("?sitelink_fr") v4("?wiki") c6(["wd:Q51955019"]):::iri c3([https://fr.wikipedia.org/]):::iri c4([https://it.wikipedia.org/]):::iri c8(["wd:Q6581072"]):::iri f0[[" "]] subgraph f0e0["Exists Clause"] e0v1 --"schema:about"--> e0v2 e0v1 --"schema:isPartOf"--> e0c3 e0v2("?item"):::projected e0v1("?sitelink_fr"):::projected e0c3([https://fr.wikipedia.org/]):::iri end f0--EXISTS--> f0e0 f0 --> v2 f0 --> c1 f0 --> v3 f0 --> c2 f0 --> c3 v2 --"schema:about"--> v3 v2 --"schema:isPartOf"--> c3 f1[["not "]] subgraph f1e1["Exists Clause"] e1v1 --"schema:about"--> e1v2 e1v1 --"schema:isPartOf"--> e1c3 e1v2("?item"):::projected e1v1("?wiki"):::projected e1c3([https://it.wikipedia.org/]):::iri end f1--EXISTS--> f1e1 f1 --> v4 f1 --> c1 f1 --> v3 f1 --> c2 f1 --> c4 v4 --"schema:about"--> v3 v4 --"schema:isPartOf"--> c4 v3 --"wdt:P1343"--> c6 v3 --"wdt:P21"--> c8 v5 --"schema:about"--> v3 bind3[/"count(?sitelink)"/] v5 --o bind3 bind3 --as--o v6