query-31a2e1afce631a20f94d70706de133d6

rq turtle/ttl

The following query works as expected: La següent consulta funciona com esperem: The following query works as expected: Die folgende Abfrage funktioniert wie erwartet: The following query works as expected: The following query works as expected: The following query works as expected: Järgnev päring töötab õigesti: La requête suivante fonctionne comme on s'y attend : השאילתה הבאה עובדת כצפוי: The following query works as expected: Kueri berikut bekerjea sebagaimana yang diharapkan: La seguente query funziona: 以下のクエリは期待通りの動作をします。 The following query works as expected: De volgende query werkt zoals verwacht: The following query works as expected: TODO The following query works as expected: The following query works as expected: The following query works as expected: The following query works as expected: Цей запит працює належним чином: The following query works as expected:

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
select ?person ?personLabel (group_concat(?citizenshipLabel;separator="/") as ?citizenships) {
  ?person wdt:P106 wd:Q3400985 ;
          wdt:P27  ?citizenship .
  SERVICE wikibase:label { 
    bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". 
    ?citizenship rdfs:label ?citizenshipLabel .
    ?person      rdfs:label ?personLabel .
  }
} group by ?person ?personLabel having (count(?citizenship) > 2)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?_anon_42b5416610844a34809f33a099ae9de198468") v2("?citizenship") v3("?citizenshipLabel"):::projected v6("?citizenships") v1("?person"):::projected v4("?personLabel"):::projected a1((" ")) c3(["wd:Q3400985"]):::iri c6(["bd:serviceParam"]):::iri c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal f0[[" > '2^^xsd:integer'"]] f0 --> a1 v1 --"wdt:P106"--> c3 v1 --"wdt:P27"--> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 v2 --"rdfs:label"--> v3 v1 --"rdfs:label"--> v4 end bind3[/"count(?citizenship)"/] v2 --o bind3 bind3 --as--o v5 bind4[/"?citizenshipLabel"/] v3 --o bind4 bind4 --as--o v6