query-0ccc631e07d41c90b53234a86bafd919
Lexemes with missing COR specification
Use at
- https://query.wikidata.org/sparql
 
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wdno: <http://www.wikidata.org/prop/novalue/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX target: <http://www.wikidata.org/entity/Q1084>
SELECT
  ?lexeme (?lemma AS ?lexemeLabel)
  (CONCAT("#lexeme/", SUBSTR(STR(?lexeme), 32)) AS ?lexemeUrl)
  ?lexical_category ?lexical_categoryLabel
  (CONCAT("#lexicalcategory/", SUBSTR(STR(?lexical_category), 32)) AS ?lexical_categoryUrl)
  # ?lexical_categoryDescription
  (?lexeme AS ?wikidata)
  (CONCAT(SUBSTR(STR(?lexeme), 32), " ↗") AS ?wikidataLabel)
  (CONCAT("https://www.wikidata.org/wiki/Lexeme:", SUBSTR(STR(?lexeme), 32)) AS ?wikidataUrl)
  (?lexeme AS ?ordia)
  ("Ordia ↗" AS ?ordiaLabel)
  (CONCAT("https://ordia.toolforge.org/", SUBSTR(STR(?lexeme), 32)) AS ?ordiaUrl)
WHERE {
  BIND(target: AS ?lexical_category)
  ?lexeme wikibase:lexicalCategory target: ;
          dct:language wd:Q9035 ;
          wikibase:lemma ?lemma .
  FILTER NOT EXISTS { ?lexeme rdf:type wdno:P10831 }
  FILTER NOT EXISTS { ?lexeme wdt:P10831 [] }
  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("?lemma"):::projected 
  v1("?lexeme"):::projected 
  v4("?lexemeLabel")
  v5("?lexemeUrl")
  v2("?lexical_category"):::projected 
  v6("?lexical_categoryUrl")
  v10("?ordia")
  v11("?ordiaLabel")
  v12("?ordiaUrl")
  v7("?wikidata")
  v8("?wikidataLabel")
  v9("?wikidataUrl")
  a1((" "))
  c7(["wd:Q9035"]):::iri 
  c10(["bd:serviceParam"]):::iri 
  c5(["wd:Q1084"]):::iri 
  c3(["wdno:P10831"]):::iri 
  c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal 
  f0[["not  "]]
  subgraph f0e0["Exists Clause"]
    e0v1 --"wdt:P10831"-->  e0a1
    e0v1("?lexeme"):::projected 
    e0a1((" ")):::projected 
  end
  f0--EXISTS--> f0e0
  f0 --> v1
  f0 --> c1
  f0 --> a1
  v1 --"wdt:P10831"-->  a1
  f1[["not  "]]
  subgraph f1e1["Exists Clause"]
    e1v1 --"a"-->  e1c2
    e1v1("?lexeme"):::projected 
    e1c2(["wdno:P10831"]):::iri 
  end
  f1--EXISTS--> f1e1
  f1 --> v1
  f1 --> c2
  f1 --> c3
  v1 --"a"-->  c3
  bind2[/"'wd:Q1084'"/]
  bind2 --as--o v2
  v1 --"wikibase:lexicalCategory"-->  c5
  v1 --"dct:language"-->  c7
  v1 --"wikibase:lemma"-->  v3
  subgraph s1["http://wikiba.se/ontology#label"]
    style s1 stroke-width:4px;
    c10 --"wikibase:language"-->  c12
  end
  bind3[/"?lemma"/]
  v3 --o bind3
  bind3 --as--o v4
  bind4[/"concat('#lexeme/',substring(str(?lexeme),'32^^xsd:integer'))"/]
  v1 --o bind4
  bind4 --as--o v5
  bind5[/"concat('#lexicalcategory/',substring(str(?lexical_category),'32^^xsd:integer'))"/]
  v2 --o bind5
  bind5 --as--o v6
  bind6[/"?lexeme"/]
  v1 --o bind6
  bind6 --as--o v7
  bind7[/"concat(substring(str(?lexeme),'32^^xsd:integer'),' ↗')"/]
  v1 --o bind7
  bind7 --as--o v8
  bind8[/"concat('https://www.wikidata.org/wiki/Lexeme:',substring(str(?lexeme),'32^^xsd:integer'))"/]
  v1 --o bind8
  bind8 --as--o v9
  bind9[/"?lexeme"/]
  v1 --o bind9
  bind9 --as--o v10
  bind10[/"'Ordia ↗'"/]
  bind10 --as--o v11
  bind11[/"concat('https://ordia.toolforge.org/',substring(str(?lexeme),'32^^xsd:integer'))"/]
  v1 --o bind11
  bind11 --as--o v12