query-969b4d1f5dadcb4d8ac3f90fc8fe72e4
added before 2016-10 SELECT ?item ?itemLabel (COUNT(distinct ?sitelink) as ?count) WHERE { ?item wdt:P31 wd:Q5 . ?item wdt:P27 wd:Q142 . ?sitelink schema:about ?item . FILTER EXISTS { ?wen schema:about ?item . ?wen schema:inLanguage "en" } FILTER NOT EXISTS { ?wfr schema:about ?item . ?wfr schema:inLanguage "fr" } SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,en" . } } GROUP BY ?item ?itemLabel ORDER BY DESC(?count) added before 2016-10 SELECT ?item ?itemLabel (COUNT(distinct ?sitelink) as ?count) WHERE { ?item wdt:P31 wd:Q5 . ?item wdt:P27 wd:Q142 . ?sitelink schema:about ?item . FILTER EXISTS { ?wen schema:about ?item . ?wen schema:inLanguage "en" } FILTER NOT EXISTS { ?wfr schema:about ?item . ?wfr schema:inLanguage "fr" } SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,en" . } } GROUP BY ?item ?itemLabel ORDER BY DESC(?count) added before 2016-10 SELECT ?item ?itemLabel (COUNT(distinct ?sitelink) as ?count) WHERE { ?item wdt:P31 wd:Q5 . ?item wdt:P27 wd:Q142 . ?sitelink schema:about ?item . FILTER EXISTS { ?wen schema:about ?item . ?wen schema:inLanguage "en" } FILTER NOT EXISTS { ?wfr schema:about ?item . ?wfr schema:inLanguage "fr" } SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,en" . } } GROUP BY ?item ?itemLabel ORDER BY DESC(?count) added before 2016-10 SELECT ?item ?itemLabel (COUNT(distinct ?sitelink) as ?count) WHERE { ?item wdt:P31 wd:Q5 . ?item wdt:P27 wd:Q142 . ?sitelink schema:about ?item . FILTER EXISTS { ?wen schema:about ?item . ?wen schema:inLanguage "en" } FILTER NOT EXISTS { ?wfr schema:about ?item . ?wfr schema:inLanguage "fr" } SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,en" . } } GROUP BY ?item ?itemLabel ORDER BY DESC(?count) added before 2016-10 SELECT ?item ?itemLabel (COUNT(distinct ?sitelink) as ?count) WHERE { ?item wdt:P31 wd:Q5 . ?item wdt:P27 wd:Q142 . ?sitelink schema:about ?item . FILTER EXISTS { ?wen schema:about ?item . ?wen schema:inLanguage "en" } FILTER NOT EXISTS { ?wfr schema:about ?item . ?wfr schema:inLanguage "fr" } SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,en" . } } GROUP BY ?item ?itemLabel ORDER BY DESC(?count) added before 2016-10 SELECT ?item ?itemLabel (COUNT(distinct ?sitelink) as ?count) WHERE { ?item wdt:P31 wd:Q5 . ?item wdt:P27 wd:Q142 . ?sitelink schema:about ?item . FILTER EXISTS { ?wen schema:about ?item . ?wen schema:inLanguage "en" } FILTER NOT EXISTS { ?wfr schema:about ?item . ?wfr schema:inLanguage "fr" } SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,en" . } } GROUP BY ?item ?itemLabel ORDER BY DESC(?count) added before 2016-10 SELECT ?item ?itemLabel (COUNT(distinct ?sitelink) as ?count) WHERE { ?item wdt:P31 wd:Q5 . ?item wdt:P27 wd:Q142 . ?sitelink schema:about ?item . FILTER EXISTS { ?wen schema:about ?item . ?wen schema:inLanguage "en" } FILTER NOT EXISTS { ?wfr schema:about ?item . ?wfr schema:inLanguage "fr" } SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,en" . } } GROUP BY ?item ?itemLabel ORDER BY DESC(?count) added before 2016-10 SELECT ?item ?itemLabel (COUNT(distinct ?sitelink) as ?count) WHERE { ?item wdt:P31 wd:Q5 . ?item wdt:P27 wd:Q142 . ?sitelink schema:about ?item . FILTER EXISTS { ?wen schema:about ?item . ?wen schema:inLanguage "en" } FILTER NOT EXISTS { ?wfr schema:about ?item . ?wfr schema:inLanguage "fr" } SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,en" . } } GROUP BY ?item ?itemLabel ORDER BY DESC(?count) added before 2016-10 SELECT ?item ?itemLabel (COUNT(distinct ?sitelink) as ?count) WHERE { ?item wdt:P31 wd:Q5 . ?item wdt:P27 wd:Q142 . ?sitelink schema:about ?item . FILTER EXISTS { ?wen schema:about ?item . ?wen schema:inLanguage "en" } FILTER NOT EXISTS { ?wfr schema:about ?item . ?wfr schema:inLanguage "fr" } SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,en" . } } GROUP BY ?item ?itemLabel ORDER BY DESC(?count) added before 2016-10 SELECT ?item ?itemLabel (COUNT(distinct ?sitelink) as ?count) WHERE { ?item wdt:P31 wd:Q5 . ?item wdt:P27 wd:Q142 . ?sitelink schema:about ?item . FILTER EXISTS { ?wen schema:about ?item . ?wen schema:inLanguage "en" } FILTER NOT EXISTS { ?wfr schema:about ?item . ?wfr schema:inLanguage "fr" } SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,en" . } } GROUP BY ?item ?itemLabel ORDER BY DESC(?count)
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#>
#added before 2016-10
SELECT ?item ?itemLabel (COUNT(distinct ?sitelink) as ?count)
WHERE
{
?item wdt:P31 wd:Q5 .
?item wdt:P27 wd:Q142 .
?sitelink schema:about ?item .
FILTER EXISTS { ?wen schema:about ?item . ?wen schema:inLanguage "en" }
FILTER NOT EXISTS { ?wfr schema:about ?item . ?wfr schema:inLanguage "fr" }
SERVICE wikibase:label {
bd:serviceParam wikibase:language "fr,en" .
}
}
GROUP BY ?item ?itemLabel
ORDER BY DESC(?count)
Query found at
- https://www.wikidata.org/wiki/User:Amitie_10g/Sandbox/Wikidata:SPARQL_query_service/queries/examples/maintenance
- https://www.wikidata.org/wiki/User:Amitie_10g/Sandbox/Wikidata:SPARQL_query_service/queries/examples/maintenance/en
- https://www.wikidata.org/wiki/User:Amitie_10g/Sandbox/Wikidata:SPARQL_query_service/queries/examples/maintenance/es
- https://www.wikidata.org/wiki/User:Amitie_10g/Sandbox/Wikidata:SPARQL_query_service/queries/examples/maintenance/zh
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/maintenance
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/maintenance/cs
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/maintenance/en
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/maintenance/es
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/maintenance/fr
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/maintenance/ja
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/maintenance/nl
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/maintenance/pl
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/maintenance/sv
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/maintenance/uk