query-337a3599cc5e5b42666759d8f3f2f842

rq turtle/ttl

Butterfly genus at enwiki but not at euwiki

Use at

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#>
SELECT DISTINCT ?item ?taxonname ?familyLabel ?itemLabel ?taxonomic_typeLabel WHERE {
  ?item wdt:P31 wd:Q16521;
    wdt:P105 wd:Q34740;
    wdt:P225 ?taxonname;
    (wdt:P171+) wd:Q28319;
    (wdt:P171+) ?family.
  ?family wdt:P105 wd:Q35409.
  ?cat schema:about ?item;
    schema:isPartOf <https://en.wikipedia.org/>.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "la,eu". }
  FILTER(NOT EXISTS {
    ?wen schema:about ?item;
      schema:inLanguage "eu".
  })
  ?item wdt:P427 ?taxonomic_type.
}
LIMIT 300

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?cat") v4("?family") v2("?item"):::projected v3("?taxonname"):::projected v6("?taxonomic_type") v1("?wen") c11(["wd:Q35409"]):::iri c10(["wd:Q28319"]):::iri c3(["eu"]):::literal c13([https://en.wikipedia.org/]):::iri c7(["wd:Q34740"]):::iri c15(["bd:serviceParam"]):::iri c17(["la,eu"]):::literal c5(["wd:Q16521"]):::iri f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"schema:about"--> e0v2 e0v1 --"schema:inLanguage"--> e0c3 e0v2("?item"):::projected e0v1("?wen"):::projected e0c3(["eu"]):::literal end f0--EXISTS--> f0e0 f0 --> v1 f0 --> c1 f0 --> v2 f0 --> c2 f0 --> c3 v1 --"schema:about"--> v2 v1 --"schema:inLanguage"--> c3 v2 --"wdt:P31"--> c5 v2 --"wdt:P105"--> c7 v2 --"wdt:P225"--> v3 v2 --"wdt:P171"--> c10 v2 --"wdt:P171"--> v4 v4 --"wdt:P105"--> c11 v5 --"schema:about"--> v2 v5 --"schema:isPartOf"--> c13 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c15 --"wikibase:language"--> c17 end v2 --"wdt:P427"--> v6