query-0e5e2cb19f5935f769fbb57bf21710f2

rq turtle/ttl

Properties in English not in Danish (or select another language)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT * WHERE {
  ?property rdf:type wikibase:Property;
    rdfs:label ?english.
  FILTER(NOT EXISTS {
    ?property rdfs:label ?dansk.
    FILTER((LANG(?dansk)) = "da")
  })
  FILTER((LANG(?english)) = "en")
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?dansk") v1("?english"):::projected v3("?property"):::projected c5(["wikibase:Property"]):::iri f0[["?english = 'en'"]] f0 --> v1 f1[["not "]] subgraph f1e0["Exists Clause"] e0f0[["?dansk = 'da'"]] e0f0 --> e0v1 e0v2 --"rdfs:label"--> e0v1 e0v1("?dansk"):::projected e0v2("?property"):::projected end f1--EXISTS--> f1e0 f1 --> v2 f1 --> v3 f1 --> c3 f2[["?dansk = 'da'"]] f2 --> v2 v3 --"rdfs:label"--> v2 v3 --"a"--> c5 v3 --"rdfs:label"--> v1