query-1613e7bfd54941ac949934af45411093

rq turtle/ttl

Siblings who both have at least 75 Wikipedia pages in different languages SELECT ?pers ?persLabel ?persLinks ?sib ?sibLabel ?sibLinks WHERE { ?pers wdt:P31 wd:Q5. ?pers wdt:P3373 ?sib. ?pers wikibase:sitelinks ?persLinks. ?sib wikibase:sitelinks ?sibLinks. FILTER (?persLinks > 75 && ?sibLinks > 75) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Siblings who both have at least 75 Wikipedia pages in different languages 
SELECT ?pers ?persLabel ?persLinks ?sib ?sibLabel ?sibLinks WHERE {
  ?pers wdt:P31 wd:Q5.
  ?pers wdt:P3373 ?sib.
  ?pers wikibase:sitelinks ?persLinks.
  ?sib wikibase:sitelinks ?sibLinks.
  FILTER (?persLinks > 75 && ?sibLinks > 75)
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?pers"):::projected v1("?persLinks"):::projected v4("?sib"):::projected v2("?sibLinks"):::projected c7(["bd:serviceParam"]):::iri c3(["wd:Q5"]):::iri c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal f0[["?persLinks > '75^^xsd:integer'?sibLinks > '75^^xsd:integer'"]] f0 --> v1 f0 --> v2 v3 --"wdt:P31"--> c3 v3 --"wdt:P3373"--> v4 v3 --"wikibase:sitelinks"--> v1 v4 --"wikibase:sitelinks"--> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end