query-0ed5eefaec4a2c4996d3c8220426888d

rq turtle/ttl

ZacheTagishsimon

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#>
SELECT ?item ?itemLabel ?p1435 
WHERE 
{
  ?item wdt:P131 wd:Q1534714 .
  ?item wdt:P1435 ?p1435

  FILTER (?p1435 != wd:Q31027091 )

  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],fi". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?item"):::projected v1("?p1435"):::projected c6(["bd:serviceParam"]):::iri c8(["#91;AUTO_LANGUAGE#93;,fi"]):::literal c3(["wd:Q1534714"]):::iri f0[["?p1435 != 'wd:Q31027091'"]] f0 --> v1 v2 --"wdt:P131"--> c3 v2 --"wdt:P1435"--> v1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end