query-70989eaff55e43adf7d9510fa8377320

rq turtle/ttl

Lexemes with explicitly specified no COR

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdno: <http://www.wikidata.org/prop/novalue/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
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), "&nbsp;↗") AS ?wikidataLabel)
  (CONCAT("https://www.wikidata.org/wiki/Lexeme:", SUBSTR(STR(?lexeme), 32)) AS ?wikidataUrl)

  (?lexeme AS ?ordia)
  ("Ordia&nbsp;↗" AS ?ordiaLabel)
  (CONCAT("https://ordia.toolforge.org/", SUBSTR(STR(?lexeme), 32)) AS ?ordiaUrl)

WHERE {
  BIND(target: AS ?lexical_category)
  ?lexeme wikibase:lexicalCategory target: ;
          wikibase:lemma ?lemma ;
          rdf:type wdno: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 v2("?lexeme"):::projected v4("?lexemeLabel") v5("?lexemeUrl") v1("?lexical_category"):::projected v6("?lexical_categoryUrl") v10("?ordia") v11("?ordiaLabel") v12("?ordiaUrl") v7("?wikidata") v8("?wikidataLabel") v9("?wikidataUrl") c7(["bd:serviceParam"]):::iri c2([http://www.wikidata.org/entity/Q1084]):::iri c5(["wdno:P10831"]):::iri c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal bind0[/"http://www.wikidata.org/entity/Q1084"/] bind0 --as--o v1 v2 --"wikibase:lexicalCategory"--> c2 v2 --"wikibase:lemma"--> v3 v2 --"a"--> c5 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end bind1[/"?lemma"/] v3 --o bind1 bind1 --as--o v4 bind2[/"concat('#lexeme/',substring(str(?lexeme),'32^^xsd:integer'))"/] v2 --o bind2 bind2 --as--o v5 bind3[/"concat('#lexicalcategory/',substring(str(?lexical_category),'32^^xsd:integer'))"/] v1 --o bind3 bind3 --as--o v6 bind4[/"?lexeme"/] v2 --o bind4 bind4 --as--o v7 bind5[/"concat(substring(str(?lexeme),'32^^xsd:integer'),'&nbsp;↗')"/] v2 --o bind5 bind5 --as--o v8 bind6[/"concat('https://www.wikidata.org/wiki/Lexeme:',substring(str(?lexeme),'32^^xsd:integer'))"/] v2 --o bind6 bind6 --as--o v9 bind7[/"?lexeme"/] v2 --o bind7 bind7 --as--o v10 bind8[/"'Ordia&nbsp;↗'"/] bind8 --as--o v11 bind9[/"concat('https://ordia.toolforge.org/',substring(str(?lexeme),'32^^xsd:integer'))"/] v2 --o bind9 bind9 --as--o v12