query-8c5aa1b48f7dab16b4cc903bca04decc
added before 2016-10
Most frequent occupations without a label in Latvian (lv)
by Edgars2007/Jura1, 2016-05-09
SELECT ?occup ?occupLabel ?count WHERE { { SELECT ?occup (COUNT(?person) as ?count) WHERE { ?person wdt:P106 ?occup } GROUP BY ?occup ORDER BY DESC(?count) LIMIT 1000 } OPTIONAL {?occup rdfs:label ?label1 filter(lang(?label1) = "lv")} FILTER(!BOUND(?label1))
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,es,pl,ja,zh,ru" }
} ORDER BY DESC(?count) LIMIT 50 added before 2016-10
Most frequent occupations without a label in Latvian (lv)
by Edgars2007/Jura1, 2016-05-09
SELECT ?occup ?occupLabel ?count WHERE { { SELECT ?occup (COUNT(?person) as ?count) WHERE { ?person wdt:P106 ?occup } GROUP BY ?occup ORDER BY DESC(?count) LIMIT 1000 } OPTIONAL {?occup rdfs:label ?label1 filter(lang(?label1) = "lv")} FILTER(!BOUND(?label1))
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,es,pl,ja,zh,ru" }
} ORDER BY DESC(?count) LIMIT 50 added before 2016-10
Most frequent occupations without a label in Latvian (lv)
by Edgars2007/Jura1, 2016-05-09
SELECT ?occup ?occupLabel ?count WHERE { { SELECT ?occup (COUNT(?person) as ?count) WHERE { ?person wdt:P106 ?occup } GROUP BY ?occup ORDER BY DESC(?count) LIMIT 1000 } OPTIONAL {?occup rdfs:label ?label1 filter(lang(?label1) = "lv")} FILTER(!BOUND(?label1))
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,es,pl,ja,zh,ru" }
} ORDER BY DESC(?count) LIMIT 50 added before 2016-10
Most frequent occupations without a label in Latvian (lv)
by Edgars2007/Jura1, 2016-05-09
SELECT ?occup ?occupLabel ?count WHERE { { SELECT ?occup (COUNT(?person) as ?count) WHERE { ?person wdt:P106 ?occup } GROUP BY ?occup ORDER BY DESC(?count) LIMIT 1000 } OPTIONAL {?occup rdfs:label ?label1 filter(lang(?label1) = "lv")} FILTER(!BOUND(?label1))
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,es,pl,ja,zh,ru" }
} ORDER BY DESC(?count) LIMIT 50 added before 2016-10
Most frequent occupations without a label in Latvian (lv)
by Edgars2007/Jura1, 2016-05-09
SELECT ?occup ?occupLabel ?count WHERE { { SELECT ?occup (COUNT(?person) as ?count) WHERE { ?person wdt:P106 ?occup } GROUP BY ?occup ORDER BY DESC(?count) LIMIT 1000 } OPTIONAL {?occup rdfs:label ?label1 filter(lang(?label1) = "lv")} FILTER(!BOUND(?label1))
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,es,pl,ja,zh,ru" }
} ORDER BY DESC(?count) LIMIT 50 added before 2016-10
Most frequent occupations without a label in Latvian (lv)
by Edgars2007/Jura1, 2016-05-09
SELECT ?occup ?occupLabel ?count WHERE { { SELECT ?occup (COUNT(?person) as ?count) WHERE { ?person wdt:P106 ?occup } GROUP BY ?occup ORDER BY DESC(?count) LIMIT 1000 } OPTIONAL {?occup rdfs:label ?label1 filter(lang(?label1) = "lv")} FILTER(!BOUND(?label1))
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,es,pl,ja,zh,ru" }
} ORDER BY DESC(?count) LIMIT 50 added before 2016-10
Most frequent occupations without a label in Latvian (lv)
by Edgars2007/Jura1, 2016-05-09
SELECT ?occup ?occupLabel ?count WHERE { { SELECT ?occup (COUNT(?person) as ?count) WHERE { ?person wdt:P106 ?occup } GROUP BY ?occup ORDER BY DESC(?count) LIMIT 1000 } OPTIONAL {?occup rdfs:label ?label1 filter(lang(?label1) = "lv")} FILTER(!BOUND(?label1))
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,es,pl,ja,zh,ru" }
} ORDER BY DESC(?count) LIMIT 50 added before 2016-10
Most frequent occupations without a label in Latvian (lv)
by Edgars2007/Jura1, 2016-05-09
SELECT ?occup ?occupLabel ?count WHERE { { SELECT ?occup (COUNT(?person) as ?count) WHERE { ?person wdt:P106 ?occup } GROUP BY ?occup ORDER BY DESC(?count) LIMIT 1000 } OPTIONAL {?occup rdfs:label ?label1 filter(lang(?label1) = "lv")} FILTER(!BOUND(?label1))
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,es,pl,ja,zh,ru" }
} ORDER BY DESC(?count) LIMIT 50 added before 2016-10
Most frequent occupations without a label in Latvian (lv)
by Edgars2007/Jura1, 2016-05-09
SELECT ?occup ?occupLabel ?count WHERE { { SELECT ?occup (COUNT(?person) as ?count) WHERE { ?person wdt:P106 ?occup } GROUP BY ?occup ORDER BY DESC(?count) LIMIT 1000 } OPTIONAL {?occup rdfs:label ?label1 filter(lang(?label1) = "lv")} FILTER(!BOUND(?label1))
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,es,pl,ja,zh,ru" }
} ORDER BY DESC(?count) LIMIT 50
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
# added before 2016-10
# Most frequent occupations without a label in Latvian (lv)
# by Edgars2007/Jura1, 2016-05-09
SELECT ?occup ?occupLabel ?count
WHERE
{
{
SELECT ?occup (COUNT(?person) as ?count)
WHERE
{
?person wdt:P106 ?occup
}
GROUP BY ?occup
ORDER BY DESC(?count)
LIMIT 1000
}
OPTIONAL {?occup rdfs:label ?label1 filter(lang(?label1) = "lv")}
FILTER(!BOUND(?label1))
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,es,pl,ja,zh,ru" }
}
ORDER BY DESC(?count)
LIMIT 50
Query found at
- 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